"Ulrich Holtzhausen" <[EMAIL PROTECTED]> wrote

First the good news, what you are doing should work.

>  File "./pyfinances.py", line 18
>    print "Your expected earnings for %s is %d" % 
> (financeLogs['month'],
> financeLogs['total'])
>        ^
> 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.

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to