{mentor edit: code removed}
why the code is not running correctly and showing this error, what is supposed to be print in the else formula ?
{mentor edit: code removed}
why the code is not running correctly and showing this error, what is supposed to be print in the else formula ?
There must be no space between “print” and the opening parenthesis.
Just a reminder, in the future please do not share your code on the forum. That’s not allowed by the Code of Conduct.
You can post an image of any error messages you see, that’s usually enough to diagnose the issue. If a mentor needs to see your code, we’ll contact you with instructions.
Hi @Tamer86,
Additionally to what Tom pointed out, you are using triple quotes (f"""...."""
) in the print statement, but the expected is single quote (f"...."
)