Write the guessing game: the secret is 42, the player has 6 tries, and the program says Too low or Too high after a wrong guess. The checker gives your game the guesses 50, 30 and 42.
This code calls input() 1 time: one value per line, above, in the same order.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…