>From http://diveintopython.org/getting_to_know_python/index.html, we can get this solution which works no matter the size of the dictionaries:
print ' '.join(["%s" % (v,) for k,v in menu_specials.items()]) It generates a formatted string for value in the dictionary and then joins them using white spaces.
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
