Mastery 08 – The Zen of Python
Here’s the Zen of Python running inside my shell.
Mastery 09 – Basic type and their use in Python
Python has 6 different basic types of data. They are:
- Integers
These are numbers that belong to all the real numbers.
- Floating point numbers
These are all the real numbers that use decimals.
- Strings
These are a set of letters, numbers or any other character. They are inbetween quotation marks (“”).
- Tuples
This is an ordered set of values with fixed number of elements, goes inbetween parentheses. - Lists
This is an ordered set of values without fixed number of elements, goes inbetween brackets. - Dictionaries
This is a type with different elements, used to map keys to their assigned values. They keys and values can be of any type.
Mastery 08 & 09 by davidg2897 is licensed under a Creative Commons Attribution 4.0 International License.