python proper capitalization code example Example: capitalize python string=str("caPiTalIZE") print(string.capitalize()) #output : Capitalize