Leetcode Poblem 2418. Sort the People.Solution with python.

Published --