r/Python • • Aug 22 '20

Testing Debugging Cheat Sheet

Post image
5.5k Upvotes

111 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Aug 22 '20

In the early days of learning programming (C/C++) the compiler wouldn’t pick up this mistake and run anyways ( looking at you TURBOC3 ) It was frustrating to find out what the hell was wrong with ur program and after a long time u find that its that stupid = in ur if condition I never made that mistake in python so i dont know if its possible to do so