Note
Go to the end to download the full example code
Countdown#
from tryalgo.arithm_expr_target import arithm_expr_target
arithm_expr_target([25, 50, 75, 100, 3, 6], 952)
Returns ((((75*3)*(100+6))-50)/25)=952
.
See on our blog the original Countdown video behind this example.