Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- score_num = int(input())
- counter = 0
- total = 0
- while True:
- presentation = input()
- if presentation == 'Finish':
- break
- grade = 0
- for i in range(score_num):
- grade += float(input())
- print(f'{presentation} - {grade / score_num:.2f}.')
- counter += score_num
- total += grade
- print(f'Student\'s final assessment is {total / counter:.2f}.')
Add Comment
Please, Sign In to add comment