could you help me please? I use Python 3.x and would convert this variable ex into an integers list.
ex = [['2003', '12', '27', '7', '8646'],
['2003', '12', '28', '7', '7645'],
['2003', '12', '29', '2', '12823'],
['2003', '12', '30', '2', '14438'],
['2003', '12', '31', '3', '12374']]
I tried with this function but it doesn't work properly:
liste = []
def function_int(x):
for i in x:
liste.append(int[i])
return liste
Thanks you for your support!