Saved Bookmarks
| 1. |
Write a program to append a string to another string without using + = operator? |
|
Answer» s1 = input (“Enter the first string: “) s2 = input (“Enter the second string: “) print (‘concatenated strings = ’ , ” ” ,join ([s1, s2])) Output: Enter the first string: Tamil Enter the second string: Nadu concatenated strings = Tamil Nadu |
|