“Método inferior de Python String” Código de respuesta

Convierta la cuerda a Python en minúsculas

message = 'PYTHON IS FUN'

# convert message to lowercase
print(message.lower())

# Output: python is fun
Matthew Johnson

Método inferior de Python String

str1 = "HeLlO_wOrLd!"
str1.lower()
Output: 'hello_world!'
Contended Cobra

cuerda de pitón a minúsculas

# String to Lowercase by Matthew Johnson
myStr = "LetS FiX ThiS."
print(myStr.lower())
#OUTPUT: "lets fix this."
Matthew Johnson

Respuestas similares a “Método inferior de Python String”

Preguntas similares a “Método inferior de Python String”

Más respuestas relacionadas con “Método inferior de Python String” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código