Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI

Q&A Discussies

i = 0 while 1==1: print(i) i = i + 1 if i >= 5: print("Breaking") print("Finished") break
loops
0 Stemmen
10 Antwoorden
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 Stem
3 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
7 Antwoorden
7th Jul 2017, 5:00 PM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar
For repeating something infinitely
1==1:clt+c")print("presswhile
1 Stem
1 Antwoord
2nd May 2017, 2:22 PM
sumit gupta
sumit gupta - avatar
Populair vandaag
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
3 Votes
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
2 cases not correct what's the problem
2 Votes
You’re free to give me your advice! 🚨
1 Votes
Salut tout le monde
1 Votes