How do i fix the error "repl died unexpectedly

i rlly need ur guys help on this i have an assignment in 2 days

Unfortunately we cant help you with just saying its broken. Can you please provide more info?

2 Likes

so when i click run it tries to run it but then says repl process died

1 Like

Can you send us the Repl link?

2 Likes

@JackKayser1 there’ll be a bug in your code that causes the program to quit.

1 Like

https://replit.com/@sanstheskeleton22/DarkcyanPunctualSites#main.py here is the link u asked for

It’s working fine for me:

1 Like

its fixed i just had a wrong indent

1 Like

guys it has broken again

go to the link to check it

i need help to edit it

You’re getting an indentation error because you did not indent the if statement

To fix just add a pass in between the ifs:

if event.type == pygame.KEYDOWN:
  pass
if myOtherRect.collidepoint(pos):

can you tell me your user