On Tue, 9 Mar 2021 15:03:54 -0500, Quentin Bock <qberz2...@gmail.com> wrote: > Error 1: > Space Invaders.py:90: SyntaxWarning: "is" with a literal. Did you mean "=="? > if bullet_state is "fire": > > Error 2: > line 66, in <module> > if event.key == pygame.K_SPACE: > AttributeError: 'Event' object has no attribute 'key' > > Code: > import pygame > import random [snip] > > Why is it saying unexpected argument? > Youtube Tutorial I'm Following: > https://www.youtube.com/watch?v=FfWpgLFMI7w
Who is saying "unexpected argument"? I see two error messages, neither of which is "unexpected argument". -- To email me, substitute nowhere->runbox, invalid->com. -- https://mail.python.org/mailman/listinfo/python-list