Skip to content

Program-3.py

1
2
3
4
5
6
# Program 3 : Write a program to convert list of strings to integers.

lst = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]

intList = [int(x) for x in lst]
print("Converted List of Integers : ", intList)