Convert strings to lower and uppercase in Python
Python
Convert string to lowercase:
string = "Snake"print(string.lower())
snake
Convert string to uppercase:
string = "BigSnake"print(string.upper())
BIGSNAKE
string = "Snake"print(string.lower())
snake
string = "BigSnake"print(string.upper())
BIGSNAKE