View Single Post
Old Oct 5th, 2005, 2:04 PM   #3
snafu
Newbie
 
snafu's Avatar
 
Join Date: Sep 2005
Location: Los Angeles
Posts: 2
Rep Power: 0 snafu is on a distinguished road
Sane,

Thanks a lot. A few follow-up questions.

1. Changing the type to floating did the trick but the number is always followed by six zeros (i.e. "Also, assuming a federal income tax rate of 25.000000, ...). While technically correct, how can I make this number less... exact. I would prefer 25.0.

2. You said that input() can be a bad command to use. What would you use in place of input()? Raw_input()?

3. Also, in my program can you specify where the "except NameError:" line should go? Do I need to place it after every line where they could enter a char instead of an int? I tried placing it at the very end but received a syntax error.

Thanks for the help.
__________________
. We all must suffer one of two things, the pain of
. disipline, or the pain of dissapointment and regret.
. - Jim Rohn
snafu is offline   Reply With Quote