summaryrefslogtreecommitdiff
path: root/tutorials/module_1
diff options
context:
space:
mode:
authorChristian Kolset <christian.kolset@gmail.com>2025-11-05 14:30:05 -0700
committerChristian Kolset <christian.kolset@gmail.com>2025-11-05 14:30:05 -0700
commit6da7dd248a9e6b46cb82f97d82a19f63f145ba75 (patch)
tree9a06b0218d29da821a2a979dc82c31749f5c349d /tutorials/module_1
parent35555b7bbb746bcd910dd2f42cf937e1f8f04b19 (diff)
Added spectroscopy problem
Diffstat (limited to 'tutorials/module_1')
-rw-r--r--tutorials/module_1/basics_of_python.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorials/module_1/basics_of_python.md b/tutorials/module_1/basics_of_python.md
index 776af44..80b05d3 100644
--- a/tutorials/module_1/basics_of_python.md
+++ b/tutorials/module_1/basics_of_python.md
@@ -91,7 +91,7 @@ The comprehensive table below show all built-in data types available in python.
## Variables
-A **variable** in Python is a name that stores a value, allowing you to use and manipulate data efficiently.
+A **variable** in Python is a name that stores a value, allowing you to use and manipulate data efficiently. In mathematics it is common to use a single letter to represent a variable, in programming descriptive variables are used to make it easier for whoever is reading the code to understand what is going on. You may remember what `x` is when writing the code, but when you revise it in the future, it may not be easy to remember what `x` represented in your 200 lines of code. In engineering it is encourage to use descriptive (such as `velocity_data`) or common convention symbols (`omega` for angular velocity). For this section arbitrary variables are used for the purpose of showing how variables works.
#### Declaring and Assigning Variables