Introduction to Sets
-
Practice>Python>Sets>Introduction to Setshackerrank.com 2019. 2. 13. 12:32
Introduction to Setsproblem link : https://www.hackerrank.com/challenges/py-introduction-to-sets/problemdifficulty : easy TipIn python, 'list' and 'set' easily is convert to each other set('list') and list('set')We can use mean function, it takes list as a if we import 'from statistics import mean' Solution from statistics import mean def average(array): # your code goes here\ return mean(list(s..