Help! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Help!

I need help I am lost in Fortnite https://code.sololearn.com/cd6eoi8LrxSm/?ref=app

19th Nov 2018, 11:40 AM
fabi
fabi - avatar
3 Answers
+ 5
Hi! What do expect the code to do? Currently the code would keep taking inputs until the user enters zero, and then print their sum.
19th Nov 2018, 11:58 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 2
That loop will run infinitely.. Plus id recommend you put "a=int(input())" outside the loop.... https://code.sololearn.com/cz8feE2gn8ik/?ref=app
19th Nov 2018, 11:49 AM
Mensch
Mensch - avatar
+ 2
Nice Code xD
24th Oct 2020, 6:26 PM
🔥EACY🔥
🔥EACY🔥 - avatar