+ 1
Why this is not running
print("enter two numbers") a=int(input()) b=int(input()) c=a+b print("sum is",c)
3 Answers
+ 7
Do you mean it is not running in the playground?
The playground is not interactive.
After you typing the code and hit the run button, there is a input box for you to enter ALL the inputs the program requires.
And the inputs must be separate in different lines.
In your case, when you see the input box you can type following in it.
2
4
Then it will return "sum is 6" for you.
+ 6
It's working properly
Try to input two integers in different lines.
+ 2
it working properly!!
just input 2 value, and after interning first value and than press 'enter' Key and input second value