Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

buying best cards with max profit and min price #2

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

CertMusashi
Copy link
Contributor

Python Version of Script That Use Knapsack Algorithm To Find The Best Cards With Maximum Profit And Minimum Price

@Ptechgithub
Copy link
Owner

If the price of a card is zero, your code will encounter an error.

Fix: Handle cases where the price of a card is zero to prevent errors
@CertMusashi
Copy link
Contributor Author

If the price of a card is zero, your code will encounter an error.

Fixed

@Ptechgithub Ptechgithub merged commit da7333a into Ptechgithub:main Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants