summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2017-02-01 13:56:43 -0800
committerGitHub <noreply@github.com>2017-02-01 13:56:43 -0800
commit79004c5b4ad998a150d61e3147639a2c09015a37 (patch)
tree6272220281e80fd8e289d1507ae37c5b48ae8276
parent0809ee0864c0256948706d22600ab90309dc6b40 (diff)
parentac6d64168f29f149ab9d8d5ea6b5fe785db229c3 (diff)
Merge pull request #2571 from Smosker/patch-1
[python/en] Fix a bug
-rw-r--r--python.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 52ad6308..bd6090c7 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -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