PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
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 * s2
Show Answer
Next Question
Correct Answer:
C
Explanation: __add__ is another method that can be used for concatenation.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap