- str
- int
- float
- bool
- list
- tuple
- dict
- set
Built-in types
examples/python-types-at-pyweb-2025-01/built_in_types.py
anwser: str = "42" width: int = 17 pi: float = 3.14 good: bool = True animals: list = ["camel", "snake", "crab"] language: tuple = ("Perl", "Python", "Rust") mapping: dict = { "camel": "Perl", "snake": "Python", "crab": "Rust", } things: set = {"chair", "table"}