This is not a Python question - It is a Math problem:
Try this:
stops = 24
if stops <= 22:
stopPay = stops * .4
else:
stopPay = 22 * 0.4 + (stops - 22) * 1.4
print stopPay
That will give you $11.60
Hope that help,
H. Pham
-Original Message-
From: [EMAIL PROTECTED]
[mailto
I suppose I should make an introduction and an announcement before asking
this question. So...
I am Vernon Cole. I have recently been made an admin for the adodbapi
project on sourceforge. My stated purpose for seeking that appointment
was to eventually retire the project by including it as p
Because people were misusing local resources almost all access to hard drives,
printers, etc. has been disabled in browsers. The two ways around this are:
1) Write an ActiveX plug-in that is installed in the browser that can send to
the printer.
2) Either display a printable HTML page in the b