Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shabbirbhimani/52551b055e5398d46969f529354fb8e8 to your computer and use it in GitHub Desktop.
Save shabbirbhimani/52551b055e5398d46969f529354fb8e8 to your computer and use it in GitHub Desktop.
4.7 Importance of declaring variables
# Declaring a variable and assigning value to it
variable = 12
variable = 23.45
variable = "garbage value"
variable = [1,2,3]
print("value of variable is", variable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment