Informatics Practices
Which of the following is not a decision-making statement?
- if-elif statement
- for statement
- if-else statement
- if statement
Python Control Flow
4 Likes
Answer
for statement
Reason — The for statement is not a decision-making statement in Python. Instead, the for loop statement is used to iterate/repeat itself over a range of values or a sequence.
Answered By
3 Likes
Related Questions
Repeated execution of a set of statements is called iteration.
A graphical representation of an algorithm to solve a given problem:
- Flow chart
- Pie chart
- Bar chart
- Column chart
The symbol used to end the if statement:
- Semicolon (;)
- Hyphen ( - )
- Underscore ( _ )
- Colon (:)
Which of the following is a valid keyword?
- IF
- If
- if
- None of these