subject

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, 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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname,firstname with no spaces in it) or a name (lastname,firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none.txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
Martha is designing a single-player game. her manager suggests that she plan the design to incorporate future modifications. which principle of game design relates to planning for future modifications?
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
You know the right answer?
Write a game program in python asking the user to guess a number between 1-25. the goal of the game...
Questions
question
Mathematics, 01.09.2021 17:40
question
History, 01.09.2021 17:40
question
Mathematics, 01.09.2021 17:40
question
Arts, 01.09.2021 17:40
question
Mathematics, 01.09.2021 17:40
question
Mathematics, 01.09.2021 17:40
question
Social Studies, 01.09.2021 17:40
Questions on the website: 13722363