Skip to content

Instantly share code, notes, and snippets.

@niloct
Created January 5, 2022 15:40
Show Gist options
  • Save niloct/c200c879eedab370f76d50044e09e4d7 to your computer and use it in GitHub Desktop.
Save niloct/c200c879eedab370f76d50044e09e4d7 to your computer and use it in GitHub Desktop.
##Using the function
def dummy():
var = 10
try:
return MyTrueCheck(var)
except NameError:
return False
print(dummy())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment