Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #61 from riyatomar9/patch-2
Browse files Browse the repository at this point in the history
Finding_the_percentage_#58.py
  • Loading branch information
ndrohith09 authored Oct 20, 2022
2 parents 036cfd9 + f0d66c7 commit 637de4a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions python/Finding_the_percentage_#58.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
N = int(input())
stud_dict = dict()

for i in range(N):
tmp = input().split(' ')
name = tmp[0]
stud_dict[name] = (float(tmp[1]), float(tmp[2]), float(tmp[3]))

name = input()
print('%.2f' % (sum(stud_dict[name]) / 3.0))

0 comments on commit 637de4a

Please sign in to comment.