I'm wondering if there is something I overlooked for this function I wrote...
and also whether it could've been done destrictively instead of returning a new
dictionary:
def dictNoneValueTo(d, new_value=''):
"""force None values in a dictionary to a default value"""
for k in d:
i
From: Tutor
[mailto:tutor-bounces+terrence.brannon=bankofamerica@python.org] On Behalf
Of Ashley Fowler
Sent: Wednesday, September 12, 2012 11:36 AM
To: tutor@python.org
Subject: [Tutor] Print List
I am trying to complete the following below:
You also need to write a function "printLis
From: Tutor
[mailto:tutor-bounces+terrence.brannon=bankofamerica@python.org] On Behalf
Of Ashley Fowler
Sent: Tuesday, September 11, 2012 12:08 PM
To: tutor@python.org
Subject: [Tutor] Question
I have a question. In a assignment it asks for me to do the following below...
if "peek" then
From: Tutor
[mailto:tutor-bounces+terrence.brannon=bankofamerica@python.org] On Behalf
Of Art Scheel
Sent: Tuesday, September 11, 2012 3:34 PM
To: tutor@python.org
Subject: [Tutor] 'class' for someone with no object oriented programming
experience
Are there any better resources for learn