1.

Suppose i is 5 and j is 4, i + j is same as ________(a) i.__add(j)(b) i.__add__(j)(c) i.__Add(j)(d) i.__ADD(j)The question was posed to me by my school principal while I was bunking the class.I need to ask this question from Strings topic in portion Strings of Python

Answer» RIGHT ANSWER is (b) i.__add__(J)

To explain I WOULD SAY: Execute in shell to verify.


Discussion

No Comment Found

Related InterviewSolutions