Hey guys, just looking for some help on writing some pseudo code for my calculator which i made on python 3.3. I want it to be similar to my hangman pseudocode which can be seen here:
INPUT name PRINT “Welcome + name” INPUT difficulty IF difficulty = 1: Words = “easy words” IF difficulty = 2: Words = “medium words” IF difficulty = 3: Words = “hard words” IF difficulty = 4: quit() user INPUT guess IF guess is in word: correct_guesses = correct_guesses +1 OUTPUT guess into secret word IF guess is not in word: incorrect_guesses = incorrect_guesses +1 print hangman_pics IF incorrect_guesses = 7: game over = true input “would you like to play again?” IF input = yes: restart code IF input = no: quit() IF correct_guesses = to len(word): game over = true print “Congratulations!” input “would you like to play again?” IF input = yes: restart code IF input = no: quit()
The link to my calculator is attached and i would like the pseudo code to be based on it. Thanks!!
Matt Le Riche