Hello J
When you have time I would like some advice on where to go. I have created a
program that reads charge account numbers from a file. The user is to enter
a charge account number from the list presented and the program should then
tell them whether they have entered a valid or invalid num
again if I cannot.
Thanks again.
Lea
-Original Message-
From: tutor-bounces+lea-parker=bigpond@python.org
[mailto:tutor-bounces+lea-parker=bigpond@python.org] On Behalf Of
tutor-requ...@python.org
Sent: Saturday, 14 May 2011 12:58 PM
To: tutor@python.org
Subject: Tutor Digest, Vol
Hello
I have another assignment I am trying to fine tune. The idea is to make sure
exceptions work. I have come up with a problem when testing my code. When I
enter a golf score for a player the program returns the 'error that has
occurred'. I only want it to do this if someone doesn't enter an
Hi Alan
Thanks once again for your help.
Lea
-Original Message-
From: tutor-bounces+lea-parker=bigpond@python.org
[mailto:tutor-bounces+lea-parker=bigpond@python.org] On Behalf Of
tutor-requ...@python.org
Sent: Friday, 22 April 2011 5:32 PM
To: tutor@python.org
Subject: Tutor
Hello
I am hoping someone can put me on the right track. The code below includes
the assignment question at the beginning.
I seem to have been able to calculate average ok, but what I can't seem to
do is sort it so it will return a grade for each result.
Can you give me some advice to h
Hello
I now need to get the validator to work on my expense input. If the user
puts in a negative I want an error to come up. I have managed it for the
budget input but cannot seem to get it to work for the expense.
Thanks in advance again for your wonderful help.
"""This program
to make it work efficiently. Perhaps not what a
programmer does but it helps me this way.
Thanks so much.
Leonie
-Original Message-
From: tutor-bounces+lea-parker=bigpond@python.org
[mailto:tutor-bounces+lea-parker=bigpond@python.org] On Behalf Of
tutor-requ...@python.org
Sent
Thank you message 4 this has solved my problem I can now work out the next
part of my program. Thank you so much.
-Original Message-
From: tutor-bounces+lea-parker=bigpond@python.org
[mailto:tutor-bounces+lea-parker=bigpond@python.org] On Behalf Of
tutor-requ...@python.org
Sent
Hello
I am trying to create this program for a uni assignment. I cannot get it to
add the expenses to the accumulator I have set. Would you mind having a look
and letting me know if I have something in the wrong place or indented
incorrectly. Perhaps I am missing something.
There could be o
Message 3 - I solved my problem. Yah Me!!!
Thanks
P.S I hope this is the right way to let you know so you don't waste your
time.
Lea
-Original Message-
From: tutor-bounces+lea-parker=bigpond@python.org
[mailto:tutor-bounces+lea-parker=bigpond@python.org] On Behalf Of
Hello
Just wondering if you have some time to cast your eyes over another basic
program.
# Prompt user for data
def main():
print 'This program is to calculate your ticket sales to the softball
game'
print #blank line
# Value of each lev
HelloI have created the following code but would like the program to include two decimal places in the amounts displayed to the user. How can I add this?My code:# Ask user to enter purchase pricepurchasePrice = input ('Enter purchase amount and then press the enter key $')
# Tax ratesstateTaxRate =
Hello
I am working through a purchased text book Python programming for beginners.
Chapter two shows how to create a basic program using triple-quoted strings.
I am having problems working out what I have done incorrectly. The game over
block writing should stay on the same line but the bottom ha
13 matches
Mail list logo