1). s = "I like to learn python programming"
Write the output of the following:-
i) s.upper()
ii) s[0].islower()
iii) s.find("mm")
iv) s.find("to",10,15)
v) s.capitalize()
(5 Points)
Answers
Answered by
0
Answer:
s = "I like to learn python programming"
output of s.upper() = 'I LIKE TO LEARN PYTHON PROGRAMMING'
output of s[0].islower() = False
output of s.find("mm") = 29
output of s.find("to",10,15) = -1
output of s.capitalize() = 'I like to learn python programming'
Similar questions