C-17-Q115mediumsingle_mcq
To take the number as input in the multiplication-table program, the conversion function used is:
To take the number as input in the multiplication-table program, the conversion function used is:
- a
str() - b
int() - c
float() - d
bool()
ব্যাখ্যা
Input from the user arrives as a string, so int() converts it to a whole number suitable for arithmetic in the multiplication table.