PDA

View Full Version : Looking for simple python exercises.



JaggedOne
March 4th, 2008, 09:57 PM
I have been teaching myself python with the book "Beginning Python: From Novice to Professional." The book has been great except for one problem. It explains everything very well but provides me no exercises or tests to be sure that I actually know what I am reading about. It would be far more interesting for me to actually have to think how to use the tools I have learned to solve problems instead of just reading along and trying to absorb all the information.

Does anyone have a good source of beginner python exercises and tests I could use or even a new book or guide I could follow that would have exercises built right in?

LaRoza
March 4th, 2008, 09:58 PM
Look for pmasiar's sig.

Found: http://learnpython.pbwiki.com/#Trainingtasks

DanielJackins
March 5th, 2008, 12:39 AM
Not meaning to hijack the thread, but is there anything similar for C++, and maybe PHP?

LaRoza
March 5th, 2008, 01:10 AM
Not meaning to hijack the thread, but is there anything similar for C++, and maybe PHP?

In the link I found, there are links to tasks that are not language specific.

In fact, I can't think of a task that would be language specific.

nanotube
March 5th, 2008, 08:23 PM
another interesting site to try out would be the python challenge:
http://www.pythonchallenge.com/

Siph0n
March 5th, 2008, 08:35 PM
More python/other language exercises are the weekly challenges on these forums... Also I found projecteuler.net to have some nice exercises... especially if you like math :)

vlaar
February 25th, 2009, 09:36 PM
a bit late maybe:KS, but i also looked for some python exercises.
there are a few which i particularly liked. i tried a lot of them.

http://projecteuler.net/ #math problems
http://www.bembry.org/technology/python/exercises/ #quite easy
http://osix.net/modules/geek/ # got to register for this one
http://cse.ucdavis.edu/~chaos/courses/nlp/Homework/Homework.html #haven't tried this one yet.

for some more google is your friend

Can+~
February 25th, 2009, 09:41 PM
a bit late maybe:KS, but i also looked for some python exercises.

A bit late, as in... 11 months.:lolflag:

Therion
February 25th, 2009, 09:47 PM
Came in hoping for some good reptile-based workout tips.

Leaving disappointed...








/Back to my AbRoller...

geirha
February 25th, 2009, 11:58 PM
Came in hoping for some good reptile-based workout tips.

Leaving disappointed...


Here you go http://lmgtfy.com/?q=reptile+training

elasolova
November 22nd, 2009, 04:32 AM
Hi,

I have a programming challenge website. It specifically has some Python problems in which you code and a script checks whether your code it correct or not.

Here is the link: RoseCode (http://javaist.com/rosecode)

Hope you like it.

dr_cerebro
June 8th, 2010, 07:18 PM
I have been teaching myself python with the book "Beginning Python: From Novice to Professional." The book has been great except for one problem. It explains everything very well but provides me no exercises or tests to be sure that I actually know what I am reading about. It would be far more interesting for me to actually have to think how to use the tools I have learned to solve problems instead of just reading along and trying to absorb all the information.

Does anyone have a good source of beginner python exercises and tests I could use or even a new book or guide I could follow that would have exercises built right in?

Well, this is a late answer too. I'm self learning python too. I have the book "Python programming in context" by Bradley N. Miller and David L Ranum. This book has plenty of excercises, some are simple, and some are very complex, so I usually go to python-forum.org and they point me in the right direction when I'm stuck, but I usually try to solve other user's problems and it helps.

http://www.python-forum.org/pythonforum/index.php

yooozy
March 25th, 2012, 05:09 PM
I stumbled upon this great site
http://cemclinux1.math.uwaterloo.ca/~cscircles/wordpress/

it's very easy and you can solve them online with hints....etc