f=open('/storage/emulated/10/bl/y.txt','r')
file=str(f.read())
print(file)
id, name = map(list, zip(file))
print(id, name)
Вот ошибка
[1837769803, 'Tt'],[1837765893, 'Tp'],[1837765803, 'ot'],[1837465803, 'g']
Traceback (most recent call last):
File "/data/user/10/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in
start(fakepyfile,mainpyfile)
File "/data/user/10/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start
exec(open(mainpyfile).read(), __main__.__dict__)
File "", line 4, in
ValueError: too many values to unpack (expected 2)
[Program finished]