i need to add on to a program i created last week, i need fo adda list to keep track of all the numbers guessed and modularize thecode. a picture is attached of the code i have been working on.
# Guess my number week 6
# Name: Haley Bauer
import random
count = 0
#Functions
def display():
print(“1. You guess the number”)
print(“2. You type a number and see if thecomputer can guess it”)
print(“3. Exit”)
choice = input(“What is your choice: “)
return choice
def choiceOne():
while True:
LIMIT = 10
num = random.randint(1,LIMIT)
count = 0
print(“I am thinking ofa number 1 to 10n”)
OR
OR