C-17-Q018mediumsingle_mcq
The data type used to store the citizen's age in the voter program is:
The data type used to store the citizen's age in the voter program is:
- a
str - b
int - c
float - d
bool
ব্যাখ্যা
A person's age is a whole number, so it is stored using the integer type after converting the input with int(). The int type is appropriate for whole-number values used in the comparison.