Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number_of_jury = int(input())
- number_of_presentation = 0
- total_grades_all_presentation = 0
- grade_count = 0
- command = input()
- while command != 'Finish':
- presentation = command
- number_of_presentation += 1
- total_grades = 0
- for each_jury in range(number_of_jury):
- grade = float(input())
- total_grades += grade
- grade_count += 1
- average = total_grades / number_of_jury
- print(f"{presentation} - {average:.2f}.")
- total_grades_all_presentation += total_grades
- command = input()
- average_all_presentation = total_grades_all_presentation / grade_count
- print(f"Student's final assessment is {average_all_presentation:.2f}.")
Advertisement
Add Comment
Please, Sign In to add comment