📝 SSC CGL💻 Computer Awareness

Which of the following is not among the three different forms of 'if statement?

Q1 FREE PREVIEW
Which of the following is not among the three different forms of 'if statement?
aif...
bif...else
cif...and
dif...else if...else
✓ Correct answer: c) if...and
Explanationif…and is not among the three different forms of 'if statement.If statement in Python is a very powerful decision-making statement used to control the flow of execution of statements.It is a two-way decision-making statement used with a relational or logical expression.It can be used in five ways: If else Nested if If else if ladder Simple if Single Line if Hence, the correct answer is “if…and”.

Practice more SSC CGL Computer Awareness PYQs

See every question on Computer, or browse the full SSC CGL question bank.

See all questions on Computer →