14 lines
314 B
Python
14 lines
314 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)
|