variables edit
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
# Dies ist eine Aufzälung von wichtigsten Variablen und ihren Datentypen in Python.
|
||||||
text: str = "Hallo, Welt!"
|
text: str = "Hallo, Welt!"
|
||||||
number: int = 42
|
number: int = 42
|
||||||
dezimal: float = 3.14159
|
dezimal: float = 3.14159
|
||||||
@@ -5,4 +6,3 @@ boolean: bool = True
|
|||||||
list_of_numbers: list = [1, 2, 3, 4, 5]
|
list_of_numbers: list = [1, 2, 3, 4, 5]
|
||||||
dictionary: dict = {"name": "Max Mustermann", "age": 30}
|
dictionary: dict = {"name": "Max Mustermann", "age": 30}
|
||||||
two_variables: tuple = (1, "Hallo")
|
two_variables: tuple = (1, "Hallo")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user