Basic-Python-Programs
Basic-Python-Programs copied to clipboard
Cleaned up Recursive Knapsack
The program was somewhat messy and unclear so I went ahead and tried to make it more readable. I changed the 1-3 letter variables to proper names, added comments and a docstring, and broke up the function to make each individual step more clear.