diff options
Diffstat (limited to 'progs/a685.py')
-rw-r--r-- | progs/a685.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a685.py b/progs/a685.py new file mode 100644 index 0000000..b0ffc4f --- /dev/null +++ b/progs/a685.py @@ -0,0 +1,4 @@ +def position_min(list1):
+ min_val = min(list1)
+ min_result = [i for i, j in enumerate(list1) if j == min_val]
+ return min_result
\ No newline at end of file |