[docs] python bug i thinkso

e.kirton teejahkirton at live.com
Sat May 5 23:38:38 CEST 2012

This is my code: print('#1')

one = input ()

one = int (one)


two = input ()

two = int (two)

ans = (one)+(two)

print ('answer') + repr (ans)

then i get this message when working the sum: Traceback (most recent call

  File "C:\Python32\my.py", line 8, in <module>

    print ('answer') + repr (ans)

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Is it a bug or is it justme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20120505/ac14382a/attachment-0001.html>

More information about the docs mailing list