[Tutor] Rot13

Steven D'Aprano steve at pearwood.info
Thu Nov 17 19:23:23 CET 2011


Nidian Job-Smith wrote:
>> When I run it I get this error:
>>
>>
>> NameError: global name 'rot13_char' is not defined
[...]
>> Any ideas where i'm wrong?


You have a function called "rot13", and *another* function called 
"rot13", which will over-write the first one. But you have no function 
called "rot13_char".



-- 
Steven



More information about the Tutor mailing list