Write a Python program to create a sub string from a string.
1 Like
string = "Knowledge is power" substring = string[0:9] print(substring)
Knowledge
Answered By
2 Likes
Write a Python program to perform the following tasks.
a. "Hello, my friends, I am Jeck"
b. Replace Jeck with Tiya
Write a Python program to check the index of a particular character.
Write a Python program to demonstrate the use of the join function.
Explain any four string operators.