New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
i = 0 while 1==1: print(i) i = i + 1 if i >= 5: print("Breaking") print("Finished") break
loops
0 Votes
10 Answers
17th Dec 2017, 2:31 AM
Rohit Raj
i = 0 while 1==1: print(i) i = i + 1 if i >= 5: print("Breaking") break print("Finished")
loops
1 Vote
3 Answers
23rd Feb 2018, 9:48 PM
Deepak Kumar
Could anyone explain me the output? i = 0 while 1==1: print(i) i = i +1 print("Finished") Output: 0 Finished 1 Fi
output
python
4 Votes
2 Answers
19th Jul 2020, 6:40 PM
Dheeraj Mittal🇮🇳
What is while true .I know that while 1==1: writes code infinity but I don't know the use of while true why is it use what is it
true
while
0 Votes
7 Answers
7th Jul 2017, 5:00 PM
Asad Ullah Hashmi
For repeating something infinitely
1==1:
clt+c")
print("press
while
1 Vote
1 Answer
2nd May 2017, 2:22 PM
sumit gupta
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Hello, please help me understand how to solve
1 Votes
Initials of name
1 Votes
post your python code here)
2 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Why are the outputs appeared different?
1 Votes
Help with homework
0 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
please help me emotionally
1 Votes
Logical operator
1 Votes