C-15-Q079mediumsingle_mcq
In Python, ending a statement with a semicolon is:
In Python, ending a statement with a semicolon is:
- aRequired
- bNot necessary
- cIllegal
- dA guaranteed syntax error
ব্যাখ্যা
Python uses line breaks to mark the end of a statement, so a terminating semicolon is not required. It is allowed but unnecessary, unlike in C.