HackerRank Min and Max in python problem solution - TheCScience