Assignment:
Write a program, whack_a_mole_YI.py to emulate the arcade game.
Use the random feature of the python math library to randomly select a number between 1 and 3 inclusive.
Prompt the user for a number between 1 and 3.
You whacked the mole if you guess the right number!!
Keep track of how many times you play and how many times you whack the mole and display them as scores with a good message, “Great”, “Not so good”, “Booooo”.
Hint: Can use this code to get you started?
#>import random #>for i in range(10): # print(random.rantint(1,3)) # #1 #3 #3 #2 #3 #1 #2 #1 #1 #1