def main():
print("""Bagels, a deductive logic game.
By Al Sweigart [email protected]
I am thinking of a {}-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 is 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.'''(Num_DIGITS))
while True: #Main game loop.
# This stores the secret number the player needs to guess:
secretNum = getSecretNum()
print("I have thought up a number.")
print(" You have {} guesses to get it.".format(MAX_GUESSES))
SyntaxWarning: ‘str’ object is not callable; perhaps you missed a comma?
print(“””Bagels, a deductive logic game.
New contributor
USER9399393 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.