Skip to content

anhvngo/pycon2015-thmbtack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Pass in a string of digits where the last digit is the answer and this will determine if there is a possible combination of digits and operands that evaluate to the final answer.

Examples:

❯❯❯ echo '3 2 1 4 5 6 3' | python3 beer.py 3 + 2 + 1 - 4 - 5 + 6 = 3 (21 solutions tried)

❯❯❯ echo '1 2 3 5' | python3 beer.py 1 * 2 + 3 = 5 (9 solutions tried)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published