Find largest and smallest number in python without list