0

whats the answer?

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

22nd Jun 2020, 4:28 PM
Braden W. Biddings
Braden W. Biddings - avatar
2 Respostas
+ 6
To get the answer, you can use playground. Run the code there, and you will have the answer. 🙂
22nd Jun 2020, 5:12 PM
Lothar
Lothar - avatar
+ 1
Four numbers: 5 4 3 2
22nd Jun 2020, 8:17 PM
Lobzov Alexey
Lobzov Alexey - avatar