Here we will dig deeper into the important concept of variables in Python. In this lesson, I will test my code and provide the output using Python in what is called interactive mode. Here I am not building a script (script mode), but I am typing my commands into my terminal and getting results back immediately. To enter interactive mode, I just launch Python and I do not specify a script to execute:
C:\Users\terry\OneDrive\Blog\Python>python Python 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
How Variables Work in Python
Here are some important things to consider:
Continue reading Learning Python – Lesson 4: More on Variables