What does while true do in python?
Answer / Vikram Surjeet Kumar
In Python, 'while true' creates an infinite loop similar to 'while 1'. Both are equivalent and can be used interchangeably.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a string in python?
1 What is Python?
How Python performs Compile-time and Run-time code checking?
What is data hiding in python?
How do I sort a dictionary by value?
What animals sleep the least?
What are the optional statements that can be used inside a <try-except> block in python?
Why is python not fully object oriented?
Does python support switch or case statement in Python? If not what is the reason for the same?
Explain what is a flask? What are its benefits?
Can we use singleton functionality without making a singleton class in Python?
Are there pointers in python?