May-22-2017, 02:29 PM
Those are three different, unrelated errors. You couldn't possibly get all of them all at once.
The first is saying that you're setting a value to
The first is saying that you're setting a value to
ser
before declaring it as a global variable. The easy fix to that is to declare it as a global variable before setting a value to it. The better fix is to not use global variables.