Get stuck

Hey everyone!
I’m a newcomer in coding Python, so please help me with the code

I also get that error lots of times.
Usually, I delete the code that made an error, then I write it again.
If it doesn’t work, delete the code for ‘get_user_guess’ then write it again.
If it doesn’t… well, I don’t know.