name = 'rambo rocky'
n = 'ramborocky'
name2 = 'RAMBO ROCKY'

# find length of string
print(len(name))

# find any character in string
print(name.find('m'))

# capitalize the string
print(name.capitalize())

# make all character uppercase
print(name.upper())

# make all character lowercase
print(name2.lower())

# check whether string contains digit or not
print(name.isdigit())

# check whether string contains alphabet or not
print(n.isalpha())

# count any character in string
print(name.count('o'))

# replace any character with another character
print(name.replace('o', 'i'))