python list value change int code example
Example 1: how to change the type of a values in list from str to object python
>>> list_a = ['20.3', '35', '10', '6.74', '323']
>>> list_a = map(float, list_a)
>>> list_a[0]*2
40.6
Example 2: python int in list
myList = [1,2,3,4,5]
if 3 in myList:
print("3 is present")