10
Last seen 9 years ago
Member for 10 years, 2 months, 24 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