C-16-Q114mediumsingle_mcq
After the condition of an if statement, the line must end with:
After the condition of an if statement, the line must end with:
- aa semicolon
; - ba comma
, - ca colon
: - da full stop
.
ব্যাখ্যা
In Python, the header line of an if statement must end with a colon :, which signals the start of the indented block that follows. Python does not use semicolons to terminate statements as some other languages do.