3. Data types and variable naming convention in python

Опубликовано: 04 Октябрь 2024
на канале: Taylor Sparks
3,197
47

There are different data types including numeric, string, sequential, mapping, boolean, set, and binary. For these different types we have different variables including integer, float, complex, string, list, tuple, set, dictionary, boolean, byte, bytearray, and memoryview.
Variables can be named with flexibility. Preference is given for short, descriptive names and this video explains when we use camelCase, CapCase, and snake case along with general rules for naming variables, functions, modules, and constants.