after starting this part of the code the code throws an error
after starting this part of the code "if os.path.getsize("loginon.txt") != 0: win1=0 lose1=0 win2=0 lose2=0 win3=0 lose3=0 f = open("loginon.txt", "r",encoding="utf-8") f1 = open("logs.txt", encoding="utf-8") nameuser=f.read() for i2 in f1: i=i2.split(" ") if i[0]==nameuser: win1 = int(i[2]) lose1 = int(i[3]) win2 = int(i[4]) #line150 error lose2 = int(i[5]) win3 = int(i[6]) lose3 = int(I[7]) f.close() f1.close() ", the code throws an error: Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module> start(fakepyfile,mainpyfile) File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start exec(open(mainpyfile).read(), __main__.__dict__) File "<string>", line 150, in <module> IndexError: list index out of range File Contents logs.txt: лось 728 0 0 0 0 0 0 котлета 555 0 0 0 0 0 0 й 123 1 0 0 0 0 0 тест 123 0 0 0 0 0 0