Ask coding questions

← Back to all posts
My repl is ignoring code I wrote. nothing is highlighted, but it won't read past line 23-26
octopyBot

This repl is super weird. I can't seem to figure out why the last bit is being ignored by repl.it. my program ends at the book section, even thought I coded more than that. can anyone help me out?

Answered by Bookie0 [earned 5 cycles]
View Answer
Voters
EJSALAS
octopyBot
Comments
hotnewtop
Bookie0

Um you indentation is pretty messed up, I corrected it for you: https://repl.it/@Bookie0/randomly-factatious#main.py

Is this what you want?

Happy coding and hope this helps!

octopyBot

@Bookie0 thanks alot. that was helpful and I hope I can get the indentation right next time

Bookie0

ok cool happy to help ;) @sidThePlant

Coder100

Hi! Use the tab key to indent. Also, make sure you don't have:

python thinks that as indentation. Just add newlines if you want clarity.
Here's the fixed repl

DynamicSquid

I see lots of colours

octopyBot
DynamicSquid

@sidThePlant OHHHHHHHHHHH you mean why isn't your code working?? I thought you have a problem with the syntax highlighting lol. sorry i'm slow sometimes