Advertisements
Advertisements
Question
Which data type will be used to represent the following data values and why?
Pocket money
One Line Answer
Advertisements
Solution
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
Is there an error in this question or solution?
