[Tutor] newbie question

Alan Gauld alan.gauld at btinternet.com
Mon Oct 15 23:40:36 CEST 2007

"jon vspython" <jonvspython at gmail.com> wrote 

> There's also a specially tailored solution for dictionaries:
> print "%(breakfast)s %(lunch)s %(dinner)s" % menu_specials

Good catch! I keep forgetting about that.
I really must get into the habit of using it more often 
when working with dictionaries.


Alan G.

More information about the Tutor mailing list