Overview
In Bagels, a deductive logic game, you must guess a secret three-digit number based on clues.
1. The Program in Action

(ll_env) maxwellpan@192 1.Bagels % python3 bagels.py
Bagels, a deductive logic game.
By Al Sweigart al@inventwithpython.com
I am thinking of a 3-digit number with no repeated digits.
Try to guess what it is. Here are some clues:
When I say: That means:
Pico One digit is correct but in the wrong position.
Fermi One digit id correct and in the right position.
Bagels No digit is correct.
For example, if the secret number was 248 and your guess was 843, the clues would be Fermi Pico.
I have thought up a number.
You have 10 guesses to get it.
Guess #1:
> 123
Fermi
Guess #2:
> 456
Pico
Guess #3:
> 178
Bagels
Guess #