Computer Science - Text-Based Programming - Python - Variables and data types - Variables and Types Explained
6 steps. Step 1 'Creating Variables': x = 5 (integer), name = 'Alice' (string), pi = 3.14 (float), alive = True (boolean). No need to declare type - Python figures it out! Step 2 'Naming Rules': Must start with letter or underscore. Can contain letters, numbers, underscores. Case-sensitive (age ≠ Ag