i = 1 while i <=28: print(i) i = i + 8 print("Task Incomplete..!") i = 19 while i >=0: print(i) i = i-2 print(' | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

i = 1 while i <=28: print(i) i = i + 8 print("Task Incomplete..!") i = 19 while i >=0: print(i) i = i-2 print('

what is the output of this code....!😉

26th Aug 2017, 2:21 PM
G.Vamshi Krishna
G.Vamshi Krishna - avatar
4 Réponses
+ 5
You've forgot the ' and the ) at the end. But the result is : 1 9 17 25 Task incomplete..! 19 17 15 13 11 9 7 5 3 1
26th Aug 2017, 2:49 PM
Mattéo
+ 5
Thanks :)
27th Aug 2017, 7:02 PM
Mattéo
+ 1
The result is right
27th Aug 2017, 5:39 PM
Shivain Teng
+ 1
Oh sorry for my mistake
29th Aug 2017, 4:01 AM
G.Vamshi Krishna
G.Vamshi Krishna - avatar