Sorting Three Numbers In Python