summaryrefslogtreecommitdiff
path: root/progs/a457.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a457.py')
-rw-r--r--progs/a457.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a457.py b/progs/a457.py
new file mode 100644
index 0000000..c2e58db
--- /dev/null
+++ b/progs/a457.py
@@ -0,0 +1,4 @@
+from operator import itemgetter
+def index_minimum(test_list):
+ res = min(test_list, key = itemgetter(1))[0]
+ return (res) \ No newline at end of file