Question-24: You have executed below code snippet
A =input()
B = input()
print(A+B)
And provided input as 100 and 100. Then what should be printed on console?
- 200
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: C
Exp: As you know, input function always return string value. Hence, your variable would hold following values
A=”100”
You can access to full explanation to question and answer from this page.