hey so i've been getting a type error that says "traceback (most recent call last): File "(stdin)", line 1 in, (module) TypeError: unsupported operand type(s) for -: 'str' and 'int'
The entire code is:
# 1 - Import library
... import.pygame
from pygame.locals import *
# 2 - Initialize the game
... pygame.init()
(6, 0)
"width", "height" - 640, 480
then the error message occurs after that please help me to fix it because i'm clueless.
"height" - 640to do? - Blender"width", "height" - 640, 480is telling. You cannot subtract an int from a string. Perhaps you mean("width", "height", "-", "640", "480")-- i.e., all strings. - dawg