summaryrefslogtreecommitdiff
path: root/progs/a775.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a775.py')
-rw-r--r--progs/a775.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a775.py b/progs/a775.py
new file mode 100644
index 0000000..011edf9
--- /dev/null
+++ b/progs/a775.py
@@ -0,0 +1,5 @@
+def remove_odd(l):
+ for i in l:
+ if i % 2 != 0:
+ l.remove(i)
+ return l \ No newline at end of file