summaryrefslogtreecommitdiff
path: root/progs/a563.py
blob: a8fd5d1df860a737c3ae562b5620e29e5d1ce24b (plain)
1
2
3
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