Python HackerRank 문제 28 - Introduction to Sets Introduction to Sets 풀이 def average(array): return float ( sum ( set ( array )) / len ( set ( array ))) if __name__ == '__main__': n = int(input()) arr = list(map(int, input().split())) result = average(arr) print(result) * 출처 Introduction to Sets | HackerRank Use the set tool to compute the average. www.hackerrank.com...
Python HackerRank 문제 28 - Introduction to Sets에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
#HackerRank_IntroductiontoSets
#Python
#Python_HackerRank
#Python_HackerRank_IntroductiontoSets
#Python_IntroductiontoSets
원문링크 : Python HackerRank 문제 28 - Introduction to Sets