Consider the following code segment: a=input() b=int(input()) c=a+b print(c) When the program will be executed ,it will give an error. Find the error, its reason and correct it.
Answers
Answered by
6
Answer:
error:c=a+b
str and int can't be added
Explanation:
correction:a=int(input())
Similar questions