This commit is contained in:
LockeDerBoss
2019-07-22 10:46:26 +02:00
parent a3ed87c5bc
commit 73923ec9b2
+12 -5
View File
@@ -4,10 +4,17 @@ alter = int (input("Wie alt bist du?"))
print(name)
print(alter)
if alter >=10;
print ("Sie sind älter als 10")
elif alter <= 10;
#if alter >=10;
#print ("Sie sind älter als 10")
#elif alter <= 10;
Produkte = ("apfel", "Banane", "Birne", "Ananas")
Produkte = {"Apfel", "Banane", "Birne", "Ananas"}
#print (Produkte(-31))
woerterbuch = ("Apfel":1, "Birne":2, "Banane":34)
woerterbuch = {"Apfel":1, "Birne":2, "Banane":34}
#print(woerterbuch("Banane))
#for produkt in produkte
print(produkte)
zaehler = 0
def addiere(Zahl1, Zahl2)
print(Zahl1 + Zahl2)