Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

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
Rohit Raj - avatar
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
Deepak Kumar - avatar
Could anyone explain me the output? i = 0 while 1==1: print(i) i = i +1 print("Finished") Output: 0 Finished 1 Fi
outputpython
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
truewhile
0 Votes
7 Answers
7th Jul 2017, 5:00 PM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar
For repeating something infinitely
1==1:clt+c")print("presswhile
1 Vote
1 Answer
2nd May 2017, 2:22 PM
sumit gupta
sumit gupta - avatar
Hot today
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
2 Votes
Give some simple practice questions in C
0 Votes
??
1 Votes
ŠžŃˆŠøŠ±ŠŗŠ° в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Hello guys,
1 Votes
How many time I can use sololearn trial mode?
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
how do they use javascript
0 Votes