Hi, please format your code, I may be able to read it now, but the more complex your code gets the more important indentation (the gap between lines) is. So it would be nice if you could get into the habit of doing it now:
the reality is, for the last couple of times when I copied pasted the codes in the forum while didn’t click that button, it got me the right indentations, but I have no idea why it didn’t work this time. maybe you should look into it
It is usually easier to just do as Danny says. He knows what he’s doing. Also, not doing so could encourage others to accidentally fail to format their code correctly and just gives us a lot more work. Can you do that for us @xiaoming? Thanks.
I’ve fixed everything once I got the comment, please don’t think that I’m challenging the helper. for sure I’ll put that button in all my codes from now on, but it was a just a little question about why it worked for the last couple of times
Don’t worry, I’m not claiming that you’re challenging. Sorry if it came off that way. There is always that risk, but don’t worry, I know you’ll be chill. I just spent a while correcting people on it. It just make it easier for the people like us to find the answers and spend less time having the “how to format your code correctly” thing on our clipboard.
How long does a while True loop run before you end it? (-infinitely)
So… Will hero.moveXY(19, 40) ever run?
I hope this helps, and thank you for your lovely formatting!
Danny