Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Basic script to show how functions work
def primary(userInput):
passwordFile = open('SecretPasswordFile.txt')
secretPassword =
if userInput == secretPassword:
print("You're in! Running the Top Secret Function")
print("Access Denied")
def top_secret():
print("Classified Insider Trading Information")
primary(input("Whats the password"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.