Traceback error

Frank Millman frank at chagford.com
Sat Nov 21 02:26:06 EST 2015


"Cai Gengyang"  wrote in message 
news:e5d80196-61c5-44d9-bec8-dc563d58fa6a at googlegroups.com...

> This is a piece of code about comparators :


> j# Assign True or False as appropriate on the lines below!

[snip rest of code]

> 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


> Any ideas how to debug this ?


It looks to me as if the error is right there on the first line. What is 
that 'j' doing there? It looks like a typo.

HTH

Frank Millman





More information about the Python-list mailing list