C-17-Q041mediumsingle_mcq
The variable that holds the user's selection between Feet→Metres and Metres→Feet is named:
The variable that holds the user's selection between Feet→Metres and Metres→Feet is named:
- a
option - b
mode - c
choice - d
select
ব্যাখ্যা
The variable storing the user's menu selection is named choice, which the program then tests with if/elif to decide the conversion direction. Descriptive names like choice make the branching logic clear.