Clean up the wording/comments in basics

This commit is contained in:
Junior 2024-06-25 10:18:42 -04:00
parent 2e938a6bb8
commit 9009000e53

View File

@ -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