Letters and numbers (Python 3.x)
Solve the TV number puzzles like a pro!
Popular in Australia SBS game. This example demonstrates the power of Reverse Polish Notation (RPN) as well as the List Comprehension syntax. The answer to the puzzle on the photo is (75 * 50 - 100 - 2) / 8 - 25 = 431 Or in RPN form: 75 ^ 50 * 100 - 2 - 8 / 25 - = 431
Download source code: Numbers_Solver.py
|
|