python - Count controlled Loops. Input 2 digits and find the Sum -


how solve question? lost on how start this? thanks!:

write algorithm , implement in python generate 2 1-digit numbers. digit must in range 0 9 inclusive, , add them together. before displaying sum, prompt user guess sum , input. values integer values.

if value inputted equals sum display "correct" otherwise display "incorrect".

also display 2 digits generated , sum.

then prompt user repeat (y yes or n no). if user enter y (or y), repeat process again. if user enter n (or n), terminate process.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

android - Format a french phone number -