background preloader

Python exercises

Facebook Twitter

Python for Fun. This collection is a presentation of several small Python programs.

Python for Fun

They are aimed at intermediate programmers; people who have studied Python and are fairly comfortable with basic recursion and object oriented techniques. Each program is very short, never more than a couple of pages and accompanied with a write-up. I have found Python to be an excellent language to express algorithms clearly. Some of the ideas here originated in other programs in other languages. The Python Challenge. Python Programming. Keep the book Learning Python nearby and learn to use it as a reference. The series of introductions is intended to get to useful scientific programming quickly and, in doing so, leaves out many of the details that the book systematically develops.

The introductions are schematic. They assume you will use iPython to probe around and test the features and commands that are described. Python exercises to hone your skills. Project Euler.