# read a list of quiz scores and print the average of all quizzes worth 0 or higher from quiz import Quiz, read_quiz from typing import * def main() -> None: print("Enter name of quiz followed by scores, one per line. Use a blank line or EOF to end the list.") q = read_quiz() print("Average score for quiz %s: %.2f" % (q.name, q.average())) if __name__ == '__main__': main()