Pergunta de entrevista da empresa Cargobase

How would you solve the problem in python (live code) in sorting random number.