#manipulating string variable using string functions
message=input("Enter a string:")
msg="Hello world"
print(message.lower())
print(message.upper())
print(message.swapcase())
print(msg.find('world'))
print(msg.count('o'))
print(msg.capitalize())
print(msg.replace('Hello ','hi'))

#manipulating string variable using string functions
message=input("Enter a string:")
msg="Hello world"
print(message.lower())
print(message.upper())
print(message.swapcase())
print(msg.find('world'))
print(msg.count('o'))
print(msg.capitalize())
print(msg.replace('Hello ','hi'))

#manipulating string variable using string functions