mySubject = "Computer Science"
What will be the output of the following string operations :
a) print(mySubject[0:len(mySubject)]) b) print(mySubject[-7:-1]) c) print(mySubject[::2]) d) To remove all white space from the beginning of a string. e) To check whether all letters of the string are in capital letters.
Answers
Answered by
0
Answer:
the answer is e
Explanation: because if you are working on python the command should be print("My subject= Computer science")
Similar questions