Please copy and paste the exact code you are running. The code you show has several syntax errors, and would not execute at all.
Now, I think that I can read through your errors anyway, so let me ask you a question: what is the largest possible value that can be represented with an unsigned 8-bit integer? -- https://mail.python.org/mailman/listinfo/python-list