r/ProgrammerAnimemes • • Nov 19 '23

Improper Code Scoping

Post image
498 Upvotes

18 comments sorted by

View all comments

Show parent comment

4

u/Haringat Nov 20 '23

I assumed the code only ever dealt with integers as the python equivalent had type Int on num.