0

I understand that the python in operator is overloaded but I don't understand how the interpreter distinguishes different uses; Nor can I find Documentation to understand it.

Why is

x = 1 
for x in (1,2,3):
    print(x)

not parsed as


for true


4

0 回答 0