Could you give some example input and output? And you're more likely to get a response if you post an attempt at code, even if it's wrong, so that we can get a base idea for what you do and don't know.
Join the #python-forum IRC channel on irc.freenode.net!
Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.