how to find a max value in a list in python code example Example: python return list max inde a.index(max(a))