how to capitalize first letter in python without using built in function code example
Example: python lowercase first letter
def decapitalize(str):
return str[:1].lower() + str[1:]
print( decapitalize('Hello') ) # hello
def decapitalize(str):
return str[:1].lower() + str[1:]
print( decapitalize('Hello') ) # hello