Thanks Liam and Kent!
Regards,
Justin
On Mon, 13 Dec 2004 07:57:45 -0500, you wrote:
>
>Liam Clarke wrote:
>> Hey Justin,
>>
>> Tricky one this..
>>
>> as far as I know, and I'm a beginner myself, a dictionary stores a
>> reference to the function, not the actual function.
>
>Yes. In fact this i
When I run this, regardless of which option I select all three functions are
called. Is there a way I can do this where only the option selcted is called?
Im using 2.3.3 if that matters any. Thanks.
#
def spam():
print 'Hello world'
def breakfast():
print 'Spam, Spam, Chips, and Spa
>> How do i pretty print output of dictionary container? Sort of tabular
>> form or something, e.g.,
>>
>> 1. name1email address1
>> 2. name2email address2
>>
>> Just for my learning experience :-). Thanks!
[Liam Clarke]
highLength=0
for element in myDict.keys():
if len(eleme