[ SRE_ARENA ]
PYTHON PROGRAMMING

Python: The Complete Automation Engine

System Architecture Visualization
DOWNLOADING CONCEPT: PHASE 1: SYNTAX & DATA TYPES...
Indentation
  • ↳Unlike other languages that use {} for scope, Python uses strictly enforced whitespace (indentation).
  • ↳If you mix tabs and spaces, your program will crash.
Variables & Primitives
  • ↳Python is dynamically typed.
  • ↳You don't declare types upfront.
  • ↳x = 5 (Integer) y = 3.14 (Float) name = "Alice" (String) is_active = True (Boolean)
Type Casting

You can convert between types explicitly: str(5) returns "5" int("10") returns 10

▲ LIVE INCIDENTA junior dev wrote a script that crashes with a KeyError.
sre@arena:~/programming-languages
sre@arena:~$ cat script.py && python3 script.py