1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-16 19:54:38 +02:00

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

View File

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