[Tutor] Income calculator
alan.gauld at btinternet.com
Thu Sep 20 09:32:45 CEST 2007
"Ulrich Holtzhausen" <ulrich at lavabit.com> wrote
First the good news, what you are doing should work.
> File "./pyfinances.py", line 18
> print "Your expected earnings for %s is %d" %
> SyntaxError: invalid syntax
> Non-working program: http://pastebin.com/f4da62e57
The bad news is that the code in the error message doesn't
match the code on pastebin. Which is correct?
If its pastebin you are missing a closing paren.
If its the error message then we need to see the real code.
Author of the Learn to Program web site
More information about the Tutor