Replace this line with your code.
python.pdf (234.1 KB)
It would seem your missing your : after your elif statement. Try inserting that and see what happens!
the : is already their.. the problem is on elif statement and it is showing a syntax error on it
Well apparently your picture pdf is old because it clearly shows no : after the elif statement. If you are talking about the other : then thats wrong as well because it should be right after your elif like this elif: not after all the words in the elif statement.
you have to add return in every if , elif and else block , then you have to call the function again on new line like this:
print ( the_flying_circus() ) .
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.