Created
March 29, 2018 06:11
-
-
Save shabbirbhimani/52551b055e5398d46969f529354fb8e8 to your computer and use it in GitHub Desktop.
4.7 Importance of declaring variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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