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

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to