summaryrefslogtreecommitdiff
path: root/Technology/6.0001 Introduction to Computer Science and Programming in Python.md
diff options
context:
space:
mode:
Diffstat (limited to 'Technology/6.0001 Introduction to Computer Science and Programming in Python.md')
-rw-r--r--Technology/6.0001 Introduction to Computer Science and Programming in Python.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/Technology/6.0001 Introduction to Computer Science and Programming in Python.md b/Technology/6.0001 Introduction to Computer Science and Programming in Python.md
index 3f4ce70..99a06d2 100644
--- a/Technology/6.0001 Introduction to Computer Science and Programming in Python.md
+++ b/Technology/6.0001 Introduction to Computer Science and Programming in Python.md
@@ -41,7 +41,7 @@ modern langs evolved from primitives
primitives -> expressions -> values -> meaning
-Primitve constructs:
+Primitve constructs(Syntax):
- English: Words
- Prog langs: Numbers, Strings, Simple operators
@@ -111,16 +111,16 @@ Operators can be combined to form expressions, the value of the expression is an
- is
- is not
- Variables can't start with a number
- Variables are case sensitive
- Keywords(reserved words) can't be used
- Identatation sementically meaningfull
+Variables can't start with a number
+Variables are case sensitive
+Keywords(reserved words) can't be used
+Identatation sementically meaningfull
- Strait Line Programs VS Branching Programs (ex: with conditional expresion)
+Strait Line Programs VS Branching Programs (ex: with conditional expresion)
- slicing = sequence[start:stop:step]
- 'abc'[:] = 'abc'[0:len('abc')]
+slicing = sequence[start:stop:step]
+'abc'[:] = 'abc'[0:len('abc')]
when convert float to int : truncated not rounded