+ 1

Why the output of my code is ( g g g END ) and not (9 8 7 END)

g = 9 while g > 6: print ("g") g = g - 1 print ("END")

18th Jun 2018, 5:08 AM
Violet
Violet - avatar
1 Resposta
+ 5
Because you have to remove the quotes from the g in the print function :)
18th Jun 2018, 5:11 AM
Michael55555
Michael55555 - avatar