20 lines
454 B
Python
20 lines
454 B
Python
print("Wie alt bist du?")
|
|
name = input ("Wie heißt du?")
|
|
alter = int (input("Wie alt bist du?"))
|
|
print(name)
|
|
print(alter)
|
|
|
|
#if alter >=10;
|
|
#print ("Sie sind älter als 10")
|
|
#elif alter <= 10;
|
|
|
|
Produkte = {"Apfel", "Banane", "Birne", "Ananas"}
|
|
#print (Produkte(-31))
|
|
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) |