Answer the question
In order to leave comments, you need to log in
Why does this error occur and how can I fix this code?
f=open('/storage/emulated/10/bl/y.txt','r')
file=str(f.read())
print(file)
id, name = map(list, zip(file))
print(id, name)
Answer the question
In order to leave comments, you need to log in
I'll repeat the question here, since there is no answer:
What did you want to do with this operator.
id, name = map(list, zip(file))
Obviously, map creates many more objects than the fields you show on the left.
In general - wrap your code in the appropriate tag in the question. This is not your first question on the forum, for this they can already be punished.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question