C-17-Q032mediumsingle_mcq
In the leap-year program, the input is taken as a:
In the leap-year program, the input is taken as a:
- aString
- bFloat
- cInteger
- dBoolean
ব্যাখ্যা
A year must be handled as a whole number for the divisibility checks, so the input is converted to an integer using int(). This makes the modulo tests valid.