#!/usr/bin/python3 from random import randint def main(): while number_of_guesses < 10: print(randint(0,100)) print(("attempt # {}".format(guess +1)) playerGuess = int(input()) number_of_guesses += 1 playerGuess = int(input("Please enter a number between 1 and 100")) # I am asking the player to guess a number elif playerGuess < number: print("The number that you entered is too low") # What i am doing here is if the number is That the player entered is lower then the number that i have they have to try agian elif playerGuess > number: print("the number that you entered is too high") # For this one i am telling the player that the number is too high if playerGuess == number: print(" congrats you got the answer right you get 1 point") # this is when the player gets the right answer. When the player gets the right answer they get one point. main()