24 lines
559 B
Python
24 lines
559 B
Python
# print("Wie alt bist du?")
|
|
# # name = (input("Wie ist dein Name"))
|
|
# # alter = int(input("Wie alt bist du?"))
|
|
# # print(name)
|
|
# # print(alter)
|
|
# #
|
|
# # if alter >= 18:
|
|
# # print("Sie sind älter als 17")
|
|
# # elif alter <= 10:
|
|
# # print("Du bist jünger als 11")
|
|
# #
|
|
# # else:
|
|
# Produkte = ["Apfel","Birne","Banane","Ananas"]
|
|
# woerterbuch = {"Apfel":1, "Birne":2, "Banane":34}
|
|
# for produkt in Produkte:
|
|
# print (produkt)
|
|
|
|
# zaehler = 0
|
|
# while True:
|
|
# print (zaehler)
|
|
# zaehler = zaehler + 1
|
|
|
|
def Addiere(Zahl1,Zahl2):
|
|
return Zahl1+Zahl2) |