All assignments done

Please, take a look at them.  Any recommendations for improvement?
will try tomorrow.
On Oct 16, 2014 9:22 PM, "Christopher H.Barker, PhD" <
notifications@github.com> wrote:

> In Students/A.Kramer/session03/mailroom.py:
>
> > +def print_report(d):
> > +    """Print users' report"""
> > +    for donor in d:
> > +        avg_amnt = 0
> > +        if donor[2] == 0:
> > +            avg_amnt = 0
> > +        else:
> > +            avg_amnt = donor[1]/donor[2]
> > +        print "Name: %s\tTotal Donated: $%2.2f\tNumber of Donations: %i\tAverage Donation: $%2.2f" % (donor[0], donor[1], donor[2], avg_amnt)
> > +    print ""
> > +
> > +def generate_letters(d):
> > +    """Generate Thank you letter"""
> > +    name = select_donor(d)
> > +    donation = get_donation(name)
> > +    email_text = "Dear " + name + ",\n\nThank you very much for your generous donation of $" + str(donation) + ".\nThis donation will go a long way."
>
> try tho give string formatting a try for this -- much better if it gets
> more complicated.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/UWPCE-PythonCert/IntroToPython/pull/28/files#r19001189>
> .
>