Created
March 16, 2018 09:41
-
-
Save Sylvance/a97e95412d5353a591cb52115c7ad5fe to your computer and use it in GitHub Desktop.
A program showing assignment and use of 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
Python 2.7.10 (default, Jul 15 2017, 17:16:57) | |
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> changing = 1 | |
>>> print(changing) | |
1 | |
>>> changing = 15 | |
>>> print(changing) | |
15 | |
>>> variable=3 | |
>>> print(variable) | |
3 | |
>>> print(variable*changing) | |
45 | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment