C-16-Q096mediumsingle_mcq
In the same programme the call int(input('...')) is used so that:
In the same programme the call int(input('...')) is used so that:
- athe input is stored as a string
- bthe input is converted from string to integer
- cthe input becomes a float
- dthe input is hidden from the user
ব্যাখ্যা
input() always returns the user's entry as a string, so wrapping it in int() converts that string into an integer. This allows the values to be used in arithmetic addition rather than text concatenation.