input: Write a python function to convert a string of digits into an integer.
  assert str_to_int("145") == 145
  assert str_to_int("123456789") == 123456789
  assert str_to_int("0001") == 1
output: def str_to_int(s: str) -> int:
      return int(s)