Python def function syntax error

I am getting a syntax error for my function and I don’t know why. Can someone help me? Here is a picture.

What is above in lines 1 thru 8?

This is lines 1-8. Not sure if they actually work though. It’s the same scenario in Python IDLE too.

As suspected, the error is on line 7. Check your print statement.

1 Like

:sweat_smile: Well that would make sense. Thank you very much!