Write the code to perform 0-1Knapsack using Dynamic programming in python.
Guidelines:
- Write the codes in python only.
- Refrain from any unfair means or plagiarism.
- The code should display authenticity.
- Use proper formatting and comments.
- Please include the driver code for your code.
Write the code to perform 0-1Knapsack using Dynamic programming in python.
Guidelines: