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