8000 Cleaned up Recursive Knapsack by MarshedToMallow · Pull Request #440 · souravjain540/Basic-Python-Programs · GitHub 8000
[go: up one dir, main page]

Skip to content

Cleaned up Recursive Knapsack#440

Open
MarshedToMallow wants to merge 2 commits intosouravjain540:mainfrom
MarshedToMallow:main
Open

Cleaned up Recursive Knapsack#440
MarshedToMallow wants to merge 2 commits intosouravjain540:mainfrom
MarshedToMallow:main

Conversation

@MarshedToMallow
Copy link

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.

@MarshedToMallow
Copy link
Author

Any review on this would be much appreciated. Been in limbo for nearly 2 years now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0