[Tutor] help, complete beginner please! CORRECTION

bob gailer bgailer at gmail.com
Sat Aug 28 19:39:01 CEST 2010


  Thanks to Luke for pointing out that Room1() did not return anything. 
I now add a return statement:

9) have the functions return text rather than printing it. Use triple 
quoted text. e.g.:

def Room1():
   description = """You find yourself in a large room. Above you is a 
massive crystal
chandelier. In front of you is round stone fountain, spewing water."""
    return description


-- 
Bob Gailer
919-636-4239
Chapel Hill NC



More information about the Tutor mailing list