[Tutor] SyntaxError Message

Dave Angel davea at davea.name
Tue Jul 8 13:31:58 CEST 2014


Pamela Wightley <pamela.wightley at morgij.com.au> Wrote in message:
> 
> 

This is a text mailing list.  So leaving an html message blocks
 some of us from seeing what you intended.  Color and other
 formatting vanishes for many.  Please tell your email program to
 post in text mode.

The problem with your fragment is that the return statement only
 makes sense inside a function,  but you don't begin with a def
 statement. 

-- 
DaveA



More information about the Tutor mailing list