Hello Kirby,

Friday, June 10, 2005, 10:39:24 PM, you wrote:

KU> 44. 

KU>  >>> thenumbers = {'one':1, 'two':2, 'three':3}
KU>  >>> print "Easy as %(one)s-%(two)s-%(three)s!"

KU> _______________

KU> 45. 

KU>  >>> thewords = {'noun1':'house', 'noun2':'mouse'}
KU>  >>> print "The %(noun2)s is in the %(noun1)s."

<detail>
Aren't these missing the dictionary names in the print statements?
</detail>

-- 
Best regards,
 Chuck

_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to