Programming I got the error that is Expected “else” after ternary operator condition
On the following line
The line above is probably more relevant actually. I would be you are missing a colon :
at the end of line 11, and want to add indentation.
Make sure to paste code instead of taking a photograph of it.