Hello, I have this code: ))) nums = [] sum = 0 while(True): newNum = input("Please enter a number : ") if(newNum == ''): break else: newNum = float(newNum) sum += newNum nums.append(newNum) print("The...


Hello, I have this code:



)))



nums = []


sum = 0


while(True):


newNum = input("Please enter a number : ")


if(newNum == ''):


break


else:


newNum = float(newNum)


sum += newNum


nums.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)



nums = []


sum = 0


while(True):


newNum = input("Please enter a number : ")


if(newNum == ''):


break


else:


newNum = float(newNum)


sum += newNum


nums.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?


--> 12<br>--><br>15<br>**<br>Sum<br>27.00<br>12.00<br>15.00<br>

Extracted text: --> 12 --> 15 ** Sum 27.00 12.00 15.00

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here