Skip to content

Instantly share code, notes, and snippets.

@leovolving
Created September 3, 2017 18:20
Show Gist options
  • Save leovolving/26acdd6d821241c323df473ae4526589 to your computer and use it in GitHub Desktop.
Save leovolving/26acdd6d821241c323df473ae4526589 to your computer and use it in GitHub Desktop.
def true_or_false(bool):
if bool == True:
return "This is a true statement!"
else:
return "This is a false statement!"
print true_or_false(False) # returns the else block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment