• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu

Dyskusje Q&A

i = 0 while 1==1: print(i) i = i + 1 if i >= 5: print("Breaking") print("Finished") break
loops
0 głosów
10 odpowiedzi
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 Głos
3 odpowiedzi
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 głosów
2 odpowiedzi
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 głosów
7 odpowiedzi
7th Jul 2017, 5:00 PM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar
For repeating something infinitely
1==1:clt+c")print("presswhile
1 Głos
1 Odpowiedź
2nd May 2017, 2:22 PM
sumit gupta
sumit gupta - avatar
Popularne dzisiaj
HTML
3 Votes
Functions in python
2 Votes
Answer please
0 Votes
For Mobile app
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
Why this code fails even without data race
0 Votes