The condition in the if statement should be in the form of ______
Advertisements
प्रश्न
The condition in the if statement should be in the form of ______
विकल्प
Arithmetic or Relational expression
Arithmetic or Logical expression
Relational or Logical expression
Arithmetic
Advertisements
उत्तर
The condition in the if statement should be in the form of a Relational or Logical expression.
APPEARS IN
संबंधित प्रश्न
How many important control structures are there in Python?
What is the output of the following snippet?
T=1
while T:
print(True)
break
List the control structures in Python.
Define control structure.
Write a program to display.
A
A B
A B C
A B C D
A B C D E
Using if..else..Elif statement writes a suitable program to display the largest of 3 numbers.
Write the syntax of the while loop.
List the differences between break and continue statements.
Write a detail note on for loop?
Write a detailed note on if..else..elif statement with suitable example.
