Cai Gengyang <[email protected]> writes:
> This is a piece of code about comparators :
> j# Assign True or False as appropriate on the lines below!
> ...
> When I tried to run it, this is the error I got :
>
> Traceback (most recent call last):
> File "python", line 1, in <module>
> NameError: name 'j' is not defined
The error information is very precise: in your line 1, you have:
j# Assign True or False as appropriate on the lines below!
The "j" before the comment ("#...") is what causes the problem.
Likely, you did not want it there.
--
https://mail.python.org/mailman/listinfo/python-list