summaryrefslogtreecommitdiff
path: root/progs/a776.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a776.py')
-rw-r--r--progs/a776.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a776.py b/progs/a776.py
new file mode 100644
index 0000000..8a4206d
--- /dev/null
+++ b/progs/a776.py
@@ -0,0 +1,3 @@
+def extract_nth_element(list1, n):
+ result = [x[n] for x in list1]
+ return result \ No newline at end of file