No awards yet.


1 Posts
  • Published Question

    Can someone please help me with this question, still new at while loops

    ● Create a new file called    ● Write a program that always asks the user to enter a number.    ● When the user enters the negative number -1, the program should stop  requesting the user to enter a number,  ...
    Accepted Answer: @jessetrading1993 It is unusual to have such kind of questions here but I will give you an answer, write this in your new file and execute it with python3 ``` sum = 0 i = 0 while True: n = int(input(...
    1 By jessetrading1993 Python