# for all upper case letters. a= " Welcome to Computer" print(a.upper()) # for all lower case letters print(a.lower()) # for removing befor and after exter space. print(a.strip()) # for replacing the word form a string. print(a.replace("Computer","Home")) # for spliting the sting form a word # the "...." contain the string that is used to slipt the big string. b=a.split("to") print(b) print(a.split("to"))