0
Need to why i am getting this error
a=int(input("enter value")) b=int(input("enter another")) print(a+b) This is my code and i am getting ValueError in it
3 ответов
+ 5
Can you share your code on sololearn.
It will help me to edit and solve
+ 3
1. Make sure you're entering 2 integer types
2. In the SL Playground you have to enter both numbers and then click submit. Like,
4
6
I'm not showing any error when values are entered properly.
+ 1
I think you are entering values 'a' and 'b' on the same line when trying to run your code.
Try:
Value 'a'
Enter
Value 'b'
Submit