Hi!
This commit is contained in:
+9
-10
@@ -1,10 +1,9 @@
|
||||
Produkte = ["melone","orange","ananas"]
|
||||
Woerterbuch = {"melone":8,"orange":88, "ananas":888}
|
||||
#print (Woerterbuch)
|
||||
#for produkt in Produkte:
|
||||
# print (Produkt)
|
||||
#
|
||||
zaehler = (int(input("Wähle eine Zahl")))
|
||||
while zaehler <= 10:
|
||||
print (zaehler)
|
||||
zaehler = zaehler + 1
|
||||
#name = input("Was ist dein Name? ")
|
||||
#alter = int(input("Wie alt bist du? "))
|
||||
#print(name)
|
||||
#print(alter)
|
||||
#print("Name: " + name + " Alter: " + str(alter))
|
||||
counter = 0
|
||||
while counter < 10:
|
||||
print (counter)
|
||||
counter = counter + 1
|
||||
@@ -4,7 +4,7 @@ alter = int(input("Wie alt bist du? "))
|
||||
print(name)
|
||||
print(alter)
|
||||
print("Name: " + name + " Alter: " + str(alter))
|
||||
print("Dein halbes Alter ist: " + str(alter / 2))
|
||||
vier = (2 + 2) * 2
|
||||
print(vier)
|
||||
|
||||
counter = 0
|
||||
while counter < 10:
|
||||
print (counter)
|
||||
counter = counter + 1
|
||||
Reference in New Issue
Block a user