summaryrefslogtreecommitdiff
path: root/progs/a563.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a563.py')
-rw-r--r--progs/a563.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a563.py b/progs/a563.py
new file mode 100644
index 0000000..a8fd5d1
--- /dev/null
+++ b/progs/a563.py
@@ -0,0 +1,4 @@
+def position_max(list1):
+ max_val = max(list1)
+ max_result = [i for i, j in enumerate(list1) if j == max_val]
+ return max_result \ No newline at end of file