SyntaxFix
Write A Post
Hire A Developer
Questions
You have to specify that test1 is global:
test1 = 0 def testFunc(): global test1 test1 += 1 testFunc()