DEV Community

Cover image for 3 More Common Beginner Python Mistakes

3 More Common Beginner Python Mistakes

Jacob Baker on December 14, 2019

Another year, another set of bright-eyed enthusiastic students. Now we're coming to the end of the first semester, here is 3 more common mistakes ...
Collapse
 
sreechandan profile image
Sree Chandan R

the "good" link is giving 404
It opens dev.to/thatonejakeb/"https://nbvie..."
instead of
nbviewer.jupyter.org/github/rasbt/...
same situation with the "in-depth" link

Collapse
 
thatonejakeb profile image
Jacob Baker

Thanks for pointing that out, both fixed :)

Collapse
 
moopet profile image
Ben Sinclair

The first example (printing 5 and 20) is the wrong way around, because you're printing the global variable after the local one.

Collapse
 
thatonejakeb profile image
Jacob Baker

Typo, fixed, cheers boss (: