Skip to content

Instantly share code, notes, and snippets.

@temmyzeus
Last active January 20, 2022 23:41
Show Gist options
  • Save temmyzeus/43392a753a48365f338a678664c57cb5 to your computer and use it in GitHub Desktop.
Save temmyzeus/43392a753a48365f338a678664c57cb5 to your computer and use it in GitHub Desktop.
# Accessing Class / Static Variables from the class itself
print(Item.percent_off)
# Accessing Class / Static Variables from the instance object
print(burger.percent_off)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment