English

Which data type will be used to represent the following data values and why? Address of the student - Computer Science (Python)

Advertisements
Advertisements

Question

Which data type will be used to represent the following data values and why?

Address of the student

One Line Answer

Solution

str (string) because the address is a collection of characters.

shaalaa.com
Python Data Types
  Is there an error in this question or solution?
Chapter 5: Getting Started with Python - Exercise [Page 116]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 5 Getting Started with Python
Exercise | Q 6. h) | Page 116
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×