Advertisements
Advertisements
Question
Consider the following string mySubject:
mySubject = "Computer Science"
What will be the output of the following string operation:
print(mySubject[:3] + mySubject[3:])
One Line Answer
Advertisements
Solution
Computer Science
shaalaa.com
String Operation in Python
Is there an error in this question or solution?
Chapter 8: Strings - Exercise [Page 187]
