LU04.L06: Alternativer Notenschnitt

count = 0
total_marks = 0
mark = int(input('Note >'))
while mark > 0:
    total_marks = totalMarks + mark
    count = count + 1
    mark = input('Note >')
average = total_marks / count
print('Durchschnitt: ' + average)
  • modul/archiv/m319python/learningunits/lu04/loesungen/notenschnitt_erweitert.txt
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1