summaryrefslogtreecommitdiff
path: root/progs/a412_mod.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a412_mod.py')
-rw-r--r--progs/a412_mod.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a412_mod.py b/progs/a412_mod.py
new file mode 100644
index 0000000..8b35459
--- /dev/null
+++ b/progs/a412_mod.py
@@ -0,0 +1,3 @@
+def specified_element(nums, N):
+ result = [i[N] for i in nums]
+ return result