input: from typing import List
  
  def smallestNumber(nums: List[int]) -> int:
      """ Find the smallest number in a given list of integers.
      >>> smallestNumber([4, 5, 6, 7, 8])
      4
      >>> smallestNumber([1, 2, 3, 0, 4])
      0
      """
      smallest = nums[0]
      for num in nums[1:]:
          if num < smallest:
              smallest = num
      return smallest
output:     smallest = nums[0]
      for num in nums[1:]:
          if num < smallest:
              smallest = num
      return smallest