In <22b99b0a-598f-4500-9de9-5041c2ce2...@googlegroups.com> William Bryant 
<gogobe...@gmail.com> writes:

> the word 'def' has  squiggily lines but the program works fine. It says:
> Syntax Error: expected an indented block. - why?

> def restart():

This may be caused by the code before 'def'.  Post the whole program.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to