0
solve this and what is the error '"""""""""""""y=2\n x=input("enter")\n print(x+y)"""""""""""
y=2 x=input("enter") print(x+y)
3 Answers
+ 1
input takes in a string. your trying to add a string to an int. cast it as an integer
y=2
x=int(input(""))
print(y+x)
0
thanks
0
no problem