D:\python-5\Scripts\python.exe D:\pythonProject5\game.py
pygame 2.6.0 (SDL 2.28.4, Python 3.8.9)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "D:\pythonProject5\game.py", line 113, in
run_game()
File "D:\pythonProject5\game.py", line 108, in run_game
check_events(screen,settings,hero,bullets)
File "D:\pythonProject5\game.py", line 81, in check_events
new_bullet=Bullet(screen,settings,hero)
File "D:\pythonProject5\game.py", line 22, in __init__
self.rect=pygame.rect(0,0,settings.bullet_width,settings.bullet_height)
TypeError: 'module' object is not callable
Process finished with exit code 1