it will run & i know it is simple but why when i type 55
Man, learn to type a number. Good job! (why i get this result )
why i the result not dead("You greedy bastard!")
Sorry Lysy but when i type the numbers i get many questions
if "0" in choice or "1" in choice: how_much = int(choice) else: dead("Man, learn to type a number.")the first line in that part checks if the text you've entered contains "0" or "1" , if it does it will try to convert the text to a number and assign it to the how_much variable , it the text doesn't contain 0 or 1 it will run the dead function with "Man, learn to type a number." as its parameter.
"55" doesn't contain 0 or 1 so it will run the dead function which prints the parameter "Man, learn to type a number." followed by "Good job!" and then it exits.