[Tutor] What am I doing wrong...

Isr Gish isrgish at fastem.com
Fri Dec 24 01:01:00 CET 2004


John Purser wrote:

[snip]
   >I'm not sure if this is your code or my mail agent (outlook) but as you can
   >see below there's a space between the function name (main) and the
   >parenthesis.  I don't believe that's supposed to be there.

I don't think there is any problem with adding space before the parenthesis.

All the best,
Isr

   >
   >Good Luck.
   >
   >John Purser 
   >
     >
   >#!/usr/bin/env python
   >
   >def main ():
   >    play_test()
   >
   >def play_test ():
   >    print "Hi! -- in play test"
   >




More information about the Tutor mailing list