Use map() function to convert the list of strings to int in Python. Maps each string to an int and Converts mapped output to a list of ints.
How to convert a list of strings to ints in Python
Simple example code converting a list of strings to ints converts each string in the list into an integer.
s_list = ["1", "2", "3"]
i_map = map(int, s_list)
res = list(i_map)
print(res)
Output:

Do comment if you have any doubts and suggestions on this Python example code.
Note: IDE: PyCharm 2021.3.3 (Community Edition)
Windows 10
Python 3.10.1
All Python Examples are in Python 3, so Maybe its different from python 2 or upgraded versions.

Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology & like learning technical.