Solved

Give Python Code That Prompts the User to Enter Positive

Question 13

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