Hey guys.
I'm having some trouble with this error.
class App():
i = 0
def updateCount(self):
i = i +1
app = App()
app.updateCount()
input('Enter')
I have tried global i but get an error 'global name i is not defined'.
Can someone clue me in? Cheers :D