हिंदी

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

Advertisements
Advertisements

प्रश्न

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

Pocket money

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

उत्तर

The float data type will be used to represent 'Pocket money' as it can be in decimal. e.g Rs. 250.50 i.e 250 rupees and 50 paise.

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. d) | पृष्ठ ११६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×