[Tutor] declare-define

nitt nitt at iprimus.com.au
Fri Oct 15 08:09:01 CEST 2004


Hi All'

    Trying to get the following, and yes,tried most everything.

input("p(1)=")
input("p(1)=")
input("p(3)=")
a=p(1)*(p(1)*p(2)-1)*(p(3)+1)/(p(1)+1)
print int(a) rjust(45)
Keep getting name error,p() not defined and rjust doesn't exist.
using 234
                 Appreciate any help given
                           
                 King regards
                                      nitt at iprimus.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20041015/ffaec460/attachment.html


More information about the Tutor mailing list