summaryrefslogtreecommitdiff
path: root/tutorials/module_1/basics_of_python.md
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/module_1/basics_of_python.md')
-rw-r--r--tutorials/module_1/basics_of_python.md13
1 files changed, 5 insertions, 8 deletions
diff --git a/tutorials/module_1/basics_of_python.md b/tutorials/module_1/basics_of_python.md
index 80b05d3..8dcd37b 100644
--- a/tutorials/module_1/basics_of_python.md
+++ b/tutorials/module_1/basics_of_python.md
@@ -1,19 +1,16 @@
# Basics of Python
-
-^d2a6b6
-
-This page contains important fundamental concepts used in Python such as syntax, operators, order or precedence and more.
+This page contains important fundamental concepts and terminology used in Python such as syntax, operators, order or precedence and more. Although this course uses python, many of these terms are transferable to other programming languages.
## Syntax
+Syntax in Python works like grammar in natural languages: it defines the rules for how we must arrange words, symbols, and indentation so the code becomes a valid instruction.
### Indentations and blocks
In python *indentations* or the space at the start of each line, signifies a block of code. This becomes important when we start working with function and loops. We will talk more about this in the controls structures tutorial.
-
### Comments
-Comments can be added to your code using the hash operator (#). Any text behind the comment operator till the end of the line will be rendered as a comment.
-If you have an entire block of text or code that needs to be commented out, the triple quotation marks (""") can be used. Once used all the code after it will be considered a comment until the comment is ended with the triple quotation marks.f
+Comments can be added to your code using the hash operator (`#`). Any text behind the comment operator till the end of the line will be rendered as a comment.
+If you have an entire block of text or code that needs to be commented out, the triple quotation marks (`"""`) can be used. Once used all the code after it will be considered a comment until the comment is ended with the triple quotation marks.
## Operators
-In python, operators are special symbols or keywords that perform operations on values or variables. This section covers some of the most common operator that you will see in this course.
+Operators are special symbols or keywords that perform operations on values or variables. This section covers some of the most common operator that you will see in this course.
### Arithmetic operators
| Operator | Name |