Posted inBlog
Bruteforcing Reddit’s 5th Grade Maths Problem Using Python
I saw this post on r/midlyinfuriating. I was very enthusiastic to bruteforce the solution in Python. Here's the code I wrote (without ChatGPT's help, LOL!): from itertools import permutations from…