@@ -0,0 +1,243 @@
+from itertools import groupby%0A%E2%80%8B%0Adef total_cost(calls):%0A    total = 0%0A    for k,g in groupby(calls, lambda x:x%5B:10%5D):%0A        minutes = sum(-(-int(l%5B20:%5D)//60) for l in g)%0A        total += (minutes, 2*minutes-100)%5Bminutes%3E100%5D%0A    return total%0A

Create calls-home.py