120k views
4 votes
Write a game program in python asking the user to guess a number between 1-25. The goal of the game is to reach the score of 100. Every time the user guesses the correct number, add the numbers together until the user reaches a score of 100. After each user entry, output on the screen if the number the user guessed is correct.

Example 1:
Enter in a number: 5
You entered 5 by the number is 15, please guess again.

Example 2:
Enter a number: 13
You correctly guessed the number 13, your score is 13.

End result:
Congratulations, you scored 100 points.

User Anetta
by
4.8k points

1 Answer

2 votes

input=

input=

IDK how to write that 1

User Nhgrif
by
5.8k points