Write a guessing game that does the following:
• The game must choose a number between 1 and 100 at random (e.g., 54)
• The game must then prompt the user to guess the answer (e.g., 75). If necessary, Google how to get Python to generate random numbers.
• The game must then tell the user if the guess was too high or too low: e.g., "75 was too high" or "75 was too low" * The game must then continue to
prompts the user to guess again until the user guesses the number.
• If the user guesses correctly, the program prints out "54 was the correct answer. It took you 6 guesses." and ends.
Sample Run
Enter your guess (1 to 100): 45
45 is too low!
Enter your guess (1 to 100): 65
65 is too low!
Enter your guess (1 to 100): 78
78 is too high!
Enter your guess (1 to 100): 74
74 is too high!
Enter your guess (1 to 100): 70
70 is too high!
Enter your guess (1 to 100): 67
67 is too low!
Enter your guess (1 to 100): 68
68 is the correct answer. It took you 7 guesses.