Introduction: what is interactive programming, why it is important? Introduction to Python Interpreter, Python Program Execution, Execution Model Variations. Syntax and types: numbers, Python statements, assignments, expressions and prints. Selection: if tests and syntax rules, if statements, truth tests, the if/else ternary expression. Iteration: while and for loops, break, continue, pass and Loop else. Strings; string literals (single and double quoted strings), escape sequence, string basic operations, sequence operations, string immutability, string methods, pattern matching. Lists; basic operations, sequence operations, list iterations, indexing, slicing and matrixes, list methods type specific operations, bound checking, nesting. Dictionaries, Tuples, Files. Numeric types; numeric literals, built-in numeric. Functions: def statements, scope rules, name resolution, global statements, scopes and nested functions, arguments, recursive functions. Classes and OOP. Exception handling
- editing-lecturer: Jeremiah Onunga