Monthly Archives: April 2013

Python Rewrite.

Hi All, As an exercise I thought I would see if I could rewrite the code below from this tutorial http://www.sthurlow.com/python/lesson11/. def menu(list, question): for entry in list: print 1 + list.index(entry), print “) ” + entry return input(question) – 1 # running … Continue reading

Posted in Code, Experiments | Leave a comment

Modules in python.

Hi All, I have just made a neat little Module in Python and I thought I would share this too. This Module tests a number to see if it is an odd number or a even number. Importing  the Odd Even Module code below. … Continue reading

Posted in Code, Experiments | Leave a comment