Computer Science, asked by vish98997, 3 months ago

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 shahanagopalakrishna
6

Answer:

error:c=a+b

str and int can't be added

Explanation:

correction:a=int(input())

Similar questions