News for hackers. Stuff that matters.
Re:Ask HN: Simple exercises for a python beginner? by nfnaaron on Sunday May 16, 2010 @08:31PM (#1353131)
Implement (without looking) or re-implement (after looking) the examples and exercises from the following or similar books; the book's language doesn't matter:

The C Programming Language, http://en.wikipedia.org/wiki/The_C_Programming_Language

The Elements of Programming Style, http://en.wikipedia.org/wiki/The_Elements_of_Programming_Sty...

Writing Efficient Programs, http://en.wikipedia.org/wiki/Jon_Bentley

Programming Pearls, http://netlib.bell-labs.com/cm/cs/pearls/

The UNIX Programming Environment, http://en.wikipedia.org/wiki/The_UNIX_Programming_Environmen...

And, er, Learning Python, http://en.wikipedia.org/wiki/Learning_Python

Re:Ask HN: Simple exercises for a python beginner? by mahmud on Sunday May 16, 2010 @09:08PM (#1353184)
C and Unix as a prerequisite for Python? I don't think so. Python is much higher level and has richer features.

I think he is better of learning from more pythonic sources, and learning programming in general.

Re:Ask HN: Simple exercises for a python beginner? by nfnaaron on Sunday May 16, 2010 @10:34PM (#1353332)
No. Not to learn C. These books, and others like it (for C and any other language (including Python)) have exercises.

The guy was looking for exercises.

You can implement the exercises in whatever language you're learning. Python, for example.