Skip to content

Instantly share code, notes, and snippets.

@serafdev
Created February 18, 2020 12:04
Show Gist options
  • Save serafdev/91e3d2cac70fb7b0883a55a8f2f09843 to your computer and use it in GitHub Desktop.
Save serafdev/91e3d2cac70fb7b0883a55a8f2f09843 to your computer and use it in GitHub Desktop.
if not []:
print("List is empty")
if not "":
print("String is empty")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment