Data typs

This commit is contained in:
2026-06-05 14:54:38 +02:00
parent d4851a961a
commit 8a4e8e1af7
+8
View File
@@ -0,0 +1,8 @@
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")