There's also a specially tailored solution for dictionaries:
print "%(breakfast)s %(lunch)s %(dinner)s" % menu_specials
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
There's also a specially tailored solution for dictionaries:
print "%(breakfast)s %(lunch)s %(dinner)s" % menu_specials
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor