# 0207.py import math cos=math.cos g=(cos(x) for x in (0.9,0.1,0.4,0.4)) print max(g) # 0.995004165278 print list(g) # []