Hello, I have this code:
)))
nums = []sum = 0while(True):newNum = input("Please enter a number : ")if(newNum == ''):breakelse:newNum = float(newNum)sum += newNumnums.append(newNum)
print("The numbers you have entered are : " )for i in nums:print(i)print("The sum of all the numbers gathered are : ",sum)
How do I make sure that after the sum is stated, a table should show the numbers that I entered?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here