greatest of a list and position python code example Example: python return list max inde a.index(max(a))