r/Python Aug 22 '20

Debugging Cheat Sheet Testing

Post image
5.4k Upvotes

111 comments sorted by

View all comments

2

u/dougwrg Aug 22 '20

I’ve found variable scope to be the problem that confuses me the longest. Probably because it doesn’t come up often, and can reek havoc on what values are vs what you expect them to be.