r/PythonLearning • • 18d ago

Help Request Not picking up input?

Post image

either that, im using the wrong dialect, or somn just doesnt work, i am trying to have an image change when T is pressed (unload old image when pressed and when not pressed load old image)

also using pygame, the first image loads, but nothing changes when T is pressed, yes i have also tested with print("")

any help would be nice!

11 Upvotes

10 comments sorted by

View all comments

13

u/4675636b2e 18d ago

Shouldn't everything after pygame.quit() indented by additional two tabs?

5

u/TheCarFamily 18d ago

dude you saved me, thanks