1.

What will be the output of the “hello” +1+2+3?(a) hello123(b) hello(c) Error(d) hello6I have been asked this question during an interview for a job.I want to ask this question from Strings topic in division Strings of Python

Answer»

The CORRECT option is (c) Error

The EXPLANATION is: Cannot CONCATENATE STR and int OBJECTS.



Discussion

No Comment Found

Related InterviewSolutions