Pygame Class returning TypeError with not enough positional ...
stackoverflow.com › questions › 31652371Jul 27, 2015 · That's 6 arguments. I create a rectangle like this: goalRectangle = rectangle (red, 200, 60, 100, 100, 0) where red is equal to (255, 0, 0) above, for the purpose of convenience. However, when I run the program I am told that __init__ () takes 6 positional arguments but 7 were given - but I am passing 6 arguments.