From 64587f9d145fd3cf59b7b0f42e05b966eed521d7 Mon Sep 17 00:00:00 2001 From: Karan Chawla Date: Mon, 6 Feb 2017 18:42:53 -0600 Subject: [PATCH] List has no attribute copy - changed to [:] --- challenge_19/python/slandau3/group5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge_19/python/slandau3/group5.py b/challenge_19/python/slandau3/group5.py index 083ae9a..c8d7a9e 100644 --- a/challenge_19/python/slandau3/group5.py +++ b/challenge_19/python/slandau3/group5.py @@ -6,7 +6,7 @@ def chosen(start, nums, target): return False else: for i in range(start, len(nums)): - nc = nums.copy() + nc = nums[:] if i == 0: continue