Contribute Media
Viewing PR #272
A thank you to everyone who makes this possible: Read More

Solving Puzzles with Python - (1/3)

Description

Solving puzzles is fun. Writing programs to solve puzzles is even more fun. Doing it is not so trivial. It requires choosing right data structures, algorithms and a bit of smartness. This tutorial presents Python's powerful constructs like list comprehensions, generators, generator expressions and ideas from functional programming world to write programs to solve puzzles. I'm planning to cover: -8 queens puzzle -sudoku -and more if time permits

Improve this page