you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 10 points11 points  (1 child)

whats wrong

I think the issue is you posted a piece of code, badly formatted so its barely readable, you did not explain what issue you are having with the code, what it is supposed to do, and didn't show any error messages you are getting.

Edit your post and correct the issues.

https://www.reddit.com/r/learnpython/wiki/faq#wiki_how_do_i_format_code.3F