ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1000. A+B Problem

how do i submit in python
Posted by Light 22 Feb 2014 13:54
a = input()
b = input()

a = int(a)
b = int(b)
c = a+b
print c

this should be correct isn't it ?
Re: how do i submit in python
Posted by Nickolay Bukreyev 26 Nov 2014 14:29
It is correct in Python 2, though explicit cast is excessive. In Python 3, use should add brackets after 'print'.