हिंदी

Which data type will be used to represent the following data values and why? Number of months in a year - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

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

Number of months in a year

एक पंक्ति में उत्तर

उत्तर

The int data type will be used to represent the 'Number of months in a year' as it will be an integer i.e. 12.

shaalaa.com
Python Data Types
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Getting Started with Python - Exercise [पृष्ठ ११६]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 5 Getting Started with Python
Exercise | Q 6. a) | पृष्ठ ११६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×