From 9d8c7dd6a6d84b88d976024b43d00fcc0239b2e1 Mon Sep 17 00:00:00 2001 From: nic Date: Mon, 10 Feb 2025 13:22:15 -0500 Subject: Auto from nzxt - Mon 10 Feb 2025 01:22:15 PM EST --- ...tion to Computer Science and Programming in Python.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Technology/6.0001 Introduction to Computer Science and Programming in Python.md') 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 -- cgit v1.2.3