Geschachtelte for - Schleifen


#!/usr/bin/python
l = [ for x in range(1,5) for y in range(1,5) if x+y < 5]
print l