PETRONODE

python

 

Letters and numbers

(Python 3.x)

 

Solve the TV number puzzles like a pro!

5_Lily_Serna_Letters_and_Numbers.png

 

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