This looks like a less egregious version of the standard "do it for me" post. Regardless, less than an hour after asking a question about your code you've asked that it be done for you. This looks potentially academically dishonest and I have contact your college with links to both of these posts.
If the deadline for you assignment has passed, then you will probably be fine however if it has not, then asking for the solution before is certainly academically dishonest.
Due to the reasons discussed here
we will be moving to python-forum.io
on October 1, 2016.
This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.