[Tutor] python game error

bob gailer bgailer at gmail.com
Sun Oct 14 18:59:05 EDT 2018

On 10/14/2018 1:42 PM, Mats Wichmann wrote:
> Hint here: don't use 'map' as your own variable name, since it's a
> built-in function.
Absolutely, I am always warning others about this gotcha. In this case 
map is local to add_to_map so it does not affect then global namespace.

The reason I used it here was because the OP was using map (actually 
Map). Duh!


More information about the Tutor mailing list