Advertisements
Advertisements
प्रश्न
Which data type will be used to represent the following data values and why?
A resident of Delhi or not
टीपा लिहा
Advertisements
उत्तर
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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
