Hint: When you want help with your homework, you should first try to program something. Pasting the requirements to this mailing list will not help you. Homeworks are there so that YOU learn something. Not that you can prove that you are capable to find someone that does it for you.
Andreas Am Freitag, den 28.03.2008, 00:50 -0400 schrieb Amin Han: > Hi, I'm currently a novice at Python, and I need help creating the > following program... > > # Write a program that asks the user to enter a package number and the > total number of hours spent online that month (you may assume that the > user will enter an integer number of hours). Using the information > below, calculate and print the user's bill for that month. > # Modify your program so that it first asks for the total number of > bills to generate. Your program should use a loop to calculate that > many customer bills. > #If possible, modify your program so that it also calculates and > prints what the user would have spent if he had one of the other two > packages. If the user would have saved money using a different > package, print out an appropriate message (e.g., "Package 3 would have > been cheaper"). > > * Package 1: For $9.95 per month, up to 10 hours of access are > provided. Each additional hour costs $2.00. > * Package 2: For $13.95 per month, up to 20 hours of access are > provided. Each additional hour costs $1.00. > * Package 3: For 19.95 per month, a customer receives an unlimited > number of hours of access. > > If you could help, that would be much appreciated. Thanks so much. >
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor