Monday, September 12, 2011

Eight queen problem in one line of Python

Write a one line python code (excluding any imports) that prints all the solutions of the 8-queen problem.