मराठी

Which data type will be used to represent the following data values and why? A resident of Delhi or not - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

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

A resident of Delhi or not

टीपा लिहा

उत्तर

The boolean data type will be used to represent 'Resident of Delhi or not' as a person will be either a resident of Delhi or not a resident of Delhi. Therefore, the values True or False will be sufficient to represent the values.

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

Englishहिंदीमराठी


      Forgot password?
Use app×