secretnum ' for in range(num_digits) secretnum +str(numbers[ ] return secretnum def getclues(guesssecretnum) """returns string with the picofermibagels clues for guess and secret number pair "" if guess =secretnum return 'you got it! clues [ for in range(len(guess)) if guess[ =secretnum[ ] correct digit is in the correct place clues append('fermi' elif guess[iin secretnum correct digit is in the incorrect place clues append('pico' if len(clues= return 'bagelsthere are no correct digits at all else sort the clues into alphabetical order so their original order doesn' give information away clues sort( make single string from the list of string clues return join(clues if the program is run (instead of imported)run the game if __name__ ='__main__' main(after entering the source code and running it few timestry making experimental changes to it the comments marked with (!have suggestions for small changes you can make on your ownyou can also try to figure out how to do the followingchange the number of digits for the secret number by changing num_digits change the number of guesses the player gets by changing max_guesses try to create version with letters as well as digits in the secret number exploring the program try to find the answers to the following questions experiment with some modifications to the code and rerun the program to see what effect the changes have what happens when you change the num_digits constant project #