Lecture Notes on 26 Jan 2022 * Write the Hello World program def main(): print ("Hello World!") main() * Characterset - ASCII & Unicode * Variables - start with a letter or underscore - it can be followed by n letters, digits, and underscores - it cannot be a reserved words * Types - int, float, str, bool * Statements and Expressions * Assignment statements * Operators - Arithmetic: + - * / // % ** - Comparison: < <= > >= == != - Boolean: not, and, or - Bitwise: ~ & | ^ - Shift: << >> * Conditonals: if-else, if-elif-else * Loops: for, while * Functions: - built-in - libraries - user defined * Lists: 1-D, 2-D * Tuples, Sets, Dictionaries * Input / Output - console, file * Class