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


 


Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to