0

Why does this code bring up a SyntaxError?

Does anyone know why my code leads to a SyntaxError at line 18? https://code.sololearn.com/cVu1POk7xzwr/?ref=app

1st Aug 2019, 10:16 AM
Frits
2 Answers
+ 2
You forgot a colon after if-statment.
1st Aug 2019, 10:23 AM
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ - avatar
+ 6
You need a character ':' at the end of a line
1st Aug 2019, 10:23 AM
Mikhail Gorchanyuk
Mikhail Gorchanyuk - avatar