Write smallest(nums) that returns the smallest number in a non-empty list.
smallest([4, 2, 8]) → 2
smallest([-1, -5, 3]) → -5
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.