Solved

Give Python Code That Prompts the User to Enter Positive

Question 126

Essay

Give Python code that prompts the user to enter positive integer values, and continues to prompt the user until a value of -1 is entered, adding up all the value entered and displaying the result.

Correct Answer:

verifed

Verified

total = 0
value = int(input('Enter a pos...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents