

InterviewSolution
Saved Bookmarks
1. |
To concatenate two strings to a third what statements are applicable?(a) s3 = s1 . s2(b) s3 = s1.add(s2)(c) s3 = s1.__add__(s2)(d) s3 = s1 * s2This question was addressed to me in my homework.This is a very interesting question from Strings in section Strings of Python |
Answer» The correct OPTION is (C) S3 = s1.__add__(s2) |
|