Data typs
This commit is contained in:
@@ -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")
|
||||||
|
|
||||||
Reference in New Issue
Block a user