C-16-Q084mediumsingle_mcq
The statement test_input = input('Provide a sentence as an input:') will, on running:
The statement test_input = input('Provide a sentence as an input:') will, on running:
- aimmediately end the program
- bfirst display the prompt and then wait for user input
- cprint 'Provide a sentence as an input:' only after input
- dignore the prompt
ব্যাখ্যা
When input('Provide a sentence as an input:') runs, Python first displays the prompt string and then pauses to wait for the user's input. The message always appears before, not after, the user enters data.