- 1

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
8 Réponses
+ 1
5\ 4 } 3 3/
21st Sep 2018, 3:44 AM
Seb TheS
Seb TheS - avatar
+ 1
it prints 3 numbers
20th Feb 2020, 10:04 AM
JOHN MACHARIA
JOHN MACHARIA - avatar
+ 1
3 numbers
18th Aug 2021, 5:06 AM
Prakhar Chauhan
+ 1
3
27th Aug 2021, 1:43 PM
PRINCE KUMAR
PRINCE KUMAR - avatar
+ 1
3
30th Nov 2022, 5:27 PM
venkata kishore
+ 1
is ans 3
4th Jan 2023, 4:53 PM
Engr.Ayesha Liaqat
Engr.Ayesha Liaqat - avatar
0
Its 3 5\ 4 } 3 3/
24th Jun 2020, 11:55 AM
Amani TC
Amani TC - avatar
- 3
4
30th Apr 2020, 12:38 AM
Shaik Fayaz
Shaik Fayaz - avatar