human
Can you show me a Python function to turn list of str to integer.
assistant
Here is a Python function to turn list of str to integer

import copy

def turn_list_of_str_to_int(list_of_str):
    """
    Turn list of str to int.
    """
    return int("".join(list_of_str))

# Enter the list
list_of_str = ["1", "2", "3"]

# Calling the function
print((turn_list_of_str_to_int(list_of_str)))

#Example Output
# 123

#Remember to inspect code for bugs.