The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Steve Howell <showel...@yahoo.com>
Date: Sun, 27 May 2007 08:23:26 -0700 (PDT)
Local: Mon, May 28 2007 1:23 am
Subject: Re: ten small Python programs
--- BartlebyScrivener <bscrivene...@gmail.com> wrote: I decided to go with a simpler example up front. > On May 26, 1:43 pm, Steve Howell > <showel...@yahoo.com> wrote: > > ------ > > # def defines a method in Python > > def tax(itemCharge, taxRate = 0.05): > > return itemCharge * taxRate > > print '%.2f' % tax(11.35) > > print '%.2f' % tax(40.00, 0.08) ------ More here: http://wiki.python.org/moin/SimplePrograms Somebody also fixed a few style things in my other ___________________________________________________________________________ _________Sick sense of humor? Visit Yahoo! TV's You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||