Computer Science
To concatenate means to …………… .
- replicate
- join
- split
- multiply
Python String Manipulation
1 Like
Answer
join
Reason — To concatenate means to join. The '+' operator joins or concatenates strings written on both sides of the operator and creates a new string.
Answered By
1 Like
Related Questions
What will be the output of the following code?
Str1= 'My name is Nandini ' Str2 = Str1[3:7] strlen = len(Str2) print(strlen)- 4
- 14
- 24
- 34
Which method removes all the trailing whitespaces from the right of the string?
- tolower()
- upper()
- Istrip()
- rstrip()
…………… function will always return tuple of 3 elements.
- index()
- split()
- partition()
- strip()
What will be the output of the following code?
A = 'Virtual Reality' A.replace('Virtual', 'Augmented')- Virtual Augmented
- Reality Augmented
- Augmented Virtual
- Augmented Reality