diff --git a/Python/000_basics.py b/Python/000_basics.py index 84ed562..f14324f 100644 --- a/Python/000_basics.py +++ b/Python/000_basics.py @@ -9,9 +9,17 @@ print("Hello world!") print("This is on a line.", end='') print(" This is on the same line!") -# This is a variable. A variable holds information like a string (letters and such), -# integers (whole numbers), arrays and objects (discussed later) +# In Python (and other languages) we can store and manipulate data +# by using variables. Variables are comprised of a name (the label +# we use to refer to that variable), and a value. +# We use an "assignment" to equate a name and a value. +# A variable can have nearly any value. Typical simple values may be +# a string (letters and such), integers (whole numbers), +# floats (numbers with both whole and fractional parts), +# and arrays and objects (discussed later). + # Our first "string" +# Below is a variable named "name". name = "Computer User" # We can print many things in one print command on one line by # separating them with commas