English

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

Advertisements
Advertisements

Question

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

Mobile number

One Line Answer

Solution

The integer data type will be used to represent 'Mobile number' as it will be a ten-digit integer only.

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. c) | Page 116
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×