Message95711
I am getting error of sum of two nos. the output should give addition
of two numbers,but instead it is displaying 2 nos. side-by-side.I have
pasted the program and output for the same.
print "Please give a number: "
a = input()
print "And another: "
b = input()
print "The sum of these numbers is: "
print a + b
output should be a=21,b=21, a+b=42
whereas it is showing 2121. |
|
Date |
User |
Action |
Args |
2009-11-25 07:09:55 | mayur78 | set | recipients:
+ mayur78 |
2009-11-25 07:09:55 | mayur78 | set | messageid: <1259132995.34.0.685244860607.issue7393@psf.upfronthosting.co.za> |
2009-11-25 07:09:53 | mayur78 | link | issue7393 messages |
2009-11-25 07:09:53 | mayur78 | create | |
|