<human>:  Can you show me a Python code to turn string into integer.
<bot>: Here is a Python code to turn string into integer

import string

def string_to_int(s):
  """Turns a string into an integer."""
  return int(s)

# Enter the string
string = "123"

# Calling the function
print((string_to_int(string)))

#Example Output
# 123

#Remember to inspect code for bugs.