Question-35: What is the output when following code is executed?
a=int(input())
b=int(input())
c=int(input())
print(a+b+c)
print(a,b,c)
With the input as 1,2, and 3
A
123
6
B.Get all Questions and Answer from here
C.You need to have paid subscription to access all questions
D.Thanks for considering Python Certification Material
Answer: B
Exp:
Lets see the program flow
a=int(input()) à 1
b=int(input()) à 2
c=int(input()) à 3
You can access to full explanation to question and answer from this page.