Skip to content

Instantly share code, notes, and snippets.

@richardbwest
Created July 21, 2016 13:11
Show Gist options
  • Save richardbwest/27621222c65469b0c8ed5ca135d75bda to your computer and use it in GitHub Desktop.
Save richardbwest/27621222c65469b0c8ed5ca135d75bda to your computer and use it in GitHub Desktop.
Simple if statement.
username = input("Please enter your username:")
password = input("Please enter your password:")
if username == "aladin" and password == "abracadabra":
print("You can enter the cave of many shiny treasures")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment