burim:python:python-labs:loesung_blatt4_aufgabe3_while_c.py
total = 0
count = 0
new = True
while new != 0:
new = int(input("Bitte eine Zahl eingeben: "))
total += new
if new != 0:
count += 1
print ("Die Summe ist", total)
print ("Der Durchschnitt ist", total / count)
burim/python/python-labs/loesung_blatt4_aufgabe3_while_c.py.txt · Last modified: 2019/01/21 20:55 by 127.0.0.1
