How many numbers does this code print? i = 5 while True: print(i) i = i - 1 if i <= 2: break | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How many numbers does this code print? i = 5 while True: print(i) i = i - 1 if i <= 2: break

How many numbers does this code print? i = 5 while True: print(i) i = i - 1 if i <= 2: break

21st Sep 2018, 2:01 AM
Mohamed Ramadan El Geneidy‎
Mohamed Ramadan El Geneidy‎ - avatar
2 Answers
+ 1
Mohamed Ramadan El Geneidy‎ Why do you keep asking questions and answering them yourself? That's not what the forum is for
21st Sep 2018, 5:01 AM
Anna
Anna - avatar
0
3
21st Sep 2018, 2:01 AM
Mohamed Ramadan El Geneidy‎
Mohamed Ramadan El Geneidy‎ - avatar