I was running Python 3.12.6 and using Tkinter. I noticed an error about the Tkinter file, saying it had an unknown command or something. That wasn’t my fault.
However, when I tried to set a variable called score
to a function called collision()
, using the += command, it said this:
Traceback (most recent call last):
>! File "/Users/HIDDEN/Documents/Bubble Blaster.py", line 130, in <module>
score += collision()
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
I have the full file available for download. Just contact me at [email protected]. Can someone explain why this issue is happening, even without Python knowledge? Your input is valuable!
2