Informatics Practices
The symbol used to end the if statement:
- Semicolon (;)
- Hyphen ( - )
- Underscore ( _ )
- Colon (:)
Python Control Flow
1 Like
Answer
Colon (:)
Reason — The symbol used to end the if statement is colon (:).
Answered By
3 Likes
Related Questions
A graphical representation of an algorithm to solve a given problem:
- Flow chart
- Pie chart
- Bar chart
- Column chart
Which of the following is not a decision-making statement?
- if-elif statement
- for statement
- if-else statement
- if statement
Which of the following is a valid keyword?
- IF
- If
- if
- None of these
What does the following code print to console?
if True: print (101) else: print (202)- 101
- 202
- 303
- 102