10
Last seen 10 years ago
Member for 10 years, 3 months, 7 days
Difficulty Normal
You can use len(data) // 2 instead of math.floor(...).
data.sort() and pop() function has side effects (caller list values is changed).
More better solution is that you use sorted(data) and data[splitti-1] + data[splitti].
(I am not good at English.)
More