GUVI
Back

Error: 'int' object isn't callable

Created 3 years ago
60 Views
1 Comments
MeesalaGaneshChandra
@MeesalaGaneshChandra
MeesalaGaneshChandra
@MeesalaGaneshChandraProfile is locked. Login

I typed the exact same code as in the video but it says

"Traceback (most recent call last):

File "C:\Users\anilm\G\Guvi\pygames\sevent.py", line 48, in <module>

tart()

File "C:\Users\anilm\G\Guvi\pygames\sevent.py", line 46, in tart

check_inputs(pygame.event.get())

File "C:\Users\anilm\G\Guvi\pygames\sevent.py", line 31, in check_inputs

pygame.draw.rect(screen,(255, 255, 255),catx(50,50,10))

TypeError: 'int' object is not callable"

what should I do?

Comments
Please login to comment.
 
Powered by habitate.io Habitate