Merge pull request #2571 from Smosker/patch-1

[python/en] Fix a bug
This commit is contained in:
Adam Bard 2017-02-01 13:56:43 -08:00 committed by GitHub
commit 79004c5b4a

View File

@ -706,6 +706,7 @@ def double_numbers(iterable):
double_arr = [] double_arr = []
for i in iterable: for i in iterable:
double_arr.append(i + i) double_arr.append(i + i)
return double_arr
# Running the following would mean we'll double all values first and return all # Running the following would mean we'll double all values first and return all