#!/usr/bin/python output = '' for j in range(24): for i in range(80): m = (lambda f: f(f, i / 20. - 2 + 1j * j/12. - 1j, i / 20. - 2 + 1j * j/12. - 1j, 0))( lambda f, z, c, m: (m if not (abs(z) <= 2 and m <= 63) else f(f, z * z + c, c, m + 1))) output += chr(32 + m) output += "\n" print output