9 lines
308 B
Python
9 lines
308 B
Python
# Dies ist eine Aufzälung von wichtigsten Variablen und ihren Datentypen in Python.
|
|
text: str = "Hallo, Welt!"
|
|
number: int = 42
|
|
dezimal: float = 3.14159
|
|
boolean: bool = True
|
|
list_of_numbers: list = [1, 2, 3, 4, 5]
|
|
dictionary: dict = {"name": "Max Mustermann", "age": 30}
|
|
two_variables: tuple = (1, "Hallo")
|