Convert strings to lower and uppercase in Python


Convert string to lowercase:

string = "Snake"
print(string.lower())
snake

Convert string to uppercase:

string = "BigSnake"
print(string.upper())
BIGSNAKE



Copyright © Erik Rood 2017