In this we are going to see a basic example of Other Built-in function of String in Python Programming Language.
def built_in_function():
str1 = "Hello World"
print("Upper : ",str1.upper())
print("Lower : ",str1.lower())
print("Title : ",str1.title())
print("Swapcase : ",str1.swapcase())
print("Count : ",str1.count("l"))
print("Find : ",str1.find("l"))
print("Replace : ",str1.replace("l","L"))
built_in_function()
# Coded By Dhiraj Shelke
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP