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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -