Question: PYTHON 3 NEED TO USE WHILE LOOPS Write a program that asks the user to enter one number at a time until the first time

PYTHON 3

NEED TO USE WHILE LOOPS

Write a program that asks the user to enter one number at a time until the first time their total reaches 10,000 or more. It should then print out the total. You may assume that the user will always enter an integer when prompted. An example session should appear as follows (with the underlined portions representing user input):

Enter a number: 1492 Enter a number: 1776 Enter a number: 1234 Enter a number: 4321 Enter a number: 2020 The total is 10843
 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!