Hey @PeterHenry6 welcome to the forums!
Can you please share a link to your repl?
I assume this is your replit account @PeterHenry6 I see no problem in any of the repl (2 of them) you have edited within 12 hours of this post publish time
One of the repl it’s if statements work perfectly fine
And the other one it’s code is empty
Please describe your problem in detail, provide the expected result if possible, thank you