input: def smallestNumber(nums):
      smallest = nums[0]
      for i in range(1, len(nums)):
          if nums[i] < smallest:
              smallest = nums[i]
      return smallest
  
  # Example:
  # >>> smallestNumber([4, 5, 6, 7, 8])
  # 4
  # >>> smallestNumber([20, 30, 10, 50, 60])
  # 10
output:     smallest = nums[0]
      for i in range(1, len(nums)):
          if nums[i] < smallest:
              smallest = nums[i]
      return smallest