[Tutor] Problem in making calulator

. Sm0kin'_Bull administrata at hotmail.com
Fri Feb 18 00:11:57 CET 2005


No-one answered question
So, I e-mail it again
Help me please

I wrote this to add 2 numbers...

print "Please input data"
number1 = int(raw_input(" "))
number2 = int(raw_input("+ "))


total = number1 + number2
print total

raw_input("")

I want to make output like this...

1 + 1 = 2

But, actually... it looks like this...

1
+ 1
2


Cheers! :)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Tutor mailing list