Python HackerRank 문제 11 - Finding the percentage Finding the percentage 풀이 if __name__ == '__main__': n = int(input()) student_marks = {} for _ in range(n): name, *line = input().split() scores = list(map(float, line)) student_marks[name] = scores query_name = input() query_scores = student_marks[query_name] print("{0:.2f}".format(sum(query_scores)/(len(query_scores)))) * 출처 Finding the percentage | HackerRank Store a list of students and marks in a dictionary, and find the average marks obtaine...
#
HackerRank_Findingthepercentage
#
Python
#
Python_Findingthepercentage
#
Python_HackerRank
#
Python_HackerRank_Findingthepercentage