In <[email protected]> William Bryant 
<[email protected]> 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
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to