mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-20 13:39:48 +00:00
updated testcase
Changed name to __name__. Sorry for the typo!
This commit is contained in:
parent
a9f9062080
commit
bd7054ace9
@ -28,7 +28,7 @@ def knapsack(W, wt, val, n):
|
|||||||
|
|
||||||
return dp[n][w]
|
return dp[n][w]
|
||||||
|
|
||||||
if name == '__main__':
|
if __name__ == '__main__':
|
||||||
'''
|
'''
|
||||||
Adding test case for knapsack
|
Adding test case for knapsack
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user