# -*- coding: utf-8 -*- def max(l): current_max = l[0] for elem in l: if elem > current_max: current_max = elem return current_max