when you run bagels pythe output will look like thisbagelsa deductive logic game by al sweigart al@inventwithpython com am thinking of -digit number try to guess what it is here are some clueswhen saythat meanspico one digit is correct but in the wrong position fermi one digit is correct and in the right position bagels no digit is correct have thought up number you have guesses to get it guess # pico guess # bagels guess # pico pico --snip-guess # fermi fermi guess # you got itdo you want to play again(yes or nono thanks for playinghow it works keep in mind that this program uses not integer values but rather string values that contain numeric digits for example' is different value than we need to do this because we are performing string comparisons with the secret numbernot math operations remember that ' can be leading digitthe string ' is different from ' 'but the integer is the same as """bagelsby al sweigart al@inventwithpython com deductive logic game where you must guess number based on clues view this code at version of this game is featured in the book "invent your own computer games with python tagsshortgamepuzzle"" import random project #