C-16-Q119mediumsingle_mcq
The body of an if-statement may contain:
The body of an if-statement may contain:
- aonly a single print statement
- bany valid simple or compound statement
- conly assignment statements
- donly comments
ব্যাখ্যা
The body of an if can hold any valid Python statement — including assignments, function calls, loops, or even nested if statements (simple or compound). It is not limited to a single print or assignment.