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