Advertisement
KodingKid

Basic Python Code Guesser Game

Mar 25th, 2021
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. print("Guess the code!")
  2. guess = input()
  3. secret_code = "543210" #you can change this to anything you want
  4. if input == secret_code:
  5.     print("You guessed the code! :D")
  6. if else:
  7.     print("Incorrect, try again! D:")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement