Python — Part 02
Fundamental Data Types
- int
- float
- bool
- str
- list
- tuple
- set
- dict
Classes ( custom types )
- your customed name for it
Specialized Data Types
Variables
- snake_case
- Start with lowercase or underscore
- Letters, numbers, underscore
- Case sensitive
- Don’t overwrite keywords
Keywords
Every programming language has special reserved words, or keywords, that have specific meanings and restrictions around how they should be used.
The above means cannot be used as variable names, function names, or any other identifiers.
more info |
Get Yen Wang’s stories in your inbox
Join Medium for free to get updates from this writer.
https://realpython.com/python-keywords/
https://www.w3schools.com/python/python_ref_keywords.asp
statement
var number = 50 / 5expression
50 / 5Augment assignment operator
some_value = 5
some_value -= 2print(some_value)










