24 game/Solve: Difference between revisions

Content added Content deleted
m (→‎{{header|Python}}: help the code highlighter)
m (Added another sample (inspired by talk page))
Line 257: Line 257:
Demonstrating it in use:
Demonstrating it in use:
<pre>$ tclsh8.4 24player.tcl 3 2 8 9
<pre>$ tclsh8.4 24player.tcl 3 2 8 9
((9 - 3) * 8) / 2</pre>
((9 - 3) * 8) / 2
$ tclsh8.4 24player.tcl 1 1 2 7
(1 + 2) * (1 + 7)</pre>