Python HackerRank 문제 32 - Collections.namedtuple()


Python HackerRank 문제 32 - Collections.namedtuple()

Python HackerRank 문제 32 - Collections.namedtuple() Collections.namedtuple() 풀이 n = int(input()) mark = input().split().index('MARKS') print('{:.2f}'.format(sum([ int(input().split()[mark]) for x in range(n) ]) / n)) * 출처 Collections.namedtuple() | HackerRank You need to turn tuples into convenient containers using collections.namedtuple(). www.hackerrank.com...

Python HackerRank 문제 32 - Collections.namedtuple()에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


#HackerRank_Collections_namedtuple #Python #Python_Collections_namedtuple #Python_HackerRank #Python_HackerRank_Collections_namedtuple

원문링크 : Python HackerRank 문제 32 - Collections.namedtuple()