command
module
Version:
v0.0.0-...-d7dcab3
Opens a new window with list of versions in this module.
Published: Feb 14, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
CountdownSolver
Solve math problems presented in the TV game shows Countdown, Countdown Masters, 8 Out of 10 Cats Does Countdown, Letters and Numbers and Des chiffres et des lettres.
Rules:
- Each number can only be used once,
- Addition, subtraction and multiplication can be used,
- Division can be used where the result is a whole number.
Issues:
- Brakets have not been implemented.
Given the numbers: 100, 50, 4, 1, 3, 10 and the target: 932,
The program incorrectly ouputs: 100 - 4 - 3 × 10 + 1 = 931
Instead of: 100 * 10 - ((50 + 1) * 4 / 3) = 932
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.