i have a python code..
Code:
thelist = []
with open('rollernet.txt') as f:
    thelist =[list(map(int,x.split())) for x in f.readlines()]
    
sorted(thelist, key=lambda line : line[2])

other_list = []

initial_time = int(list[0][2])
But shows error as
File "script.py" , line 14, in <module>
initial_time = int(list[0][2]) #
TypeError: 'type'...