[New-bugs-announce] [issue7393] Executing Python program of sum of 2 nos.
Mayuresh
report at bugs.python.org
Wed Nov 25 08:09:55 CET 2009
New submission from Mayuresh <mayur_marathe at hotmail.com>:
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.
----------
components: IDLE
messages: 95711
nosy: mayur78
severity: normal
status: open
title: Executing Python program of sum of 2 nos.
type: behavior
versions: Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7393>
_______________________________________
More information about the New-bugs-announce
mailing list