Gray line in spyder

Hi. can anyone tell me if these two lines are gray?
I’m using Spyder!2021-03-19_22h46_24

1 Like

I noticed the same in my script. Can anyone tell me more about this?

Not too sure, but could it be because of inconsistent indenting?

See: line 94 and compare line 100

If you’re going to use a two space indent you need to be (or should be) consistent with that, throughout your code; better still, use a four space indent.

See: PEP 8 — the Style Guide for Python Code