Advertisements
Advertisements
प्रश्न
Write the syntax of the while loop.
टिप्पणी लिखिए
Advertisements
उत्तर
The syntax of while loop in Python has the following syntax:
Syntax:
while:
statements block 1
[else:
statements block 2]
shaalaa.com
Control Structure
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
How many important control structures are there in Python?
Which statement is generally used as a placeholder?
The condition in the if statement should be in the form of ______
Which is the most comfortable loop?
List the control structures in Python.
Write a note on the break statement.
Define control structure.
Write a note on if..else structure.
List the differences between break and continue statements.
Write a detail note on for loop?
