Just posting your homework assignment even as "fun task" will yield nothing and is never well accepted.
We are always glad to help, but we are not going to do your [home]work for you.
Post your code in python tags and full traceback if you get any errors - in error tags and ask specific question(s).
We are always glad to help, but we are not going to do your [home]work for you.
Post your code in python tags and full traceback if you get any errors - in error tags and ask specific question(s).
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs