27 lines
608 B
Python
27 lines
608 B
Python
# print("Projekttage")
|
|
# name = input("Was 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:
|
|
# #Du bist jünger als 11
|
|
# print("Du bist jünger als 11")
|
|
#
|
|
# else:
|
|
# print("Du bist zwischen 11 und 17 Jahre alt")
|
|
|
|
Produkte = ["Apfel", "Birne", "Banane", "Ananas"]
|
|
#print(Produkte[-3])
|
|
woerterbuch = {"Apfel":1, "Birne":2, "Banane":34}
|
|
#print(woerterbuch["Banane"])
|
|
#for produkt in Produkte:
|
|
# print(produkt)
|
|
zaehler = 0
|
|
while True:
|
|
print(zaehler)
|
|
zaehler = zaehler + 1
|
|
|