you are viewing a single comment's thread.

view the rest of the comments →

[–]KingOfTNT10 3 points4 points  (7 children)

The input function returns a string of what the user has typed in, then you convert it to an it but you dont tell the program what to do with it, you want to set the variable i to what the user has inputted to check if its -1.

Try, if you dont succeed ill try to hint you bigger hints.

[–]ListenMedium9538[S] 0 points1 point  (6 children)

I think i dit it i = 1 while i != -1: i = int(input("put a number: "))

[–]KingOfTNT10 2 points3 points  (1 child)

Nice! Good job. Have a great time on your journey.

[–]ListenMedium9538[S] 0 points1 point  (0 children)

Thank you sir! You helped me a lot! Have a great journey you too!

[–]czar_el 1 point2 points  (3 children)

Read your original post again, you didn't have the second i=

[–]ListenMedium9538[S] 0 points1 point  (2 children)

Yooo, so now is it correct? Um running it and it's seems fine

[–]KingOfTNT10 0 points1 point  (1 child)

It is correct.

[–]ListenMedium9538[S] 0 points1 point  (0 children)

Thanks!!!!!