Answers for "what does .lower do in python"

3

how to change a string to small letter in python

my_str = "Hello World"
my_str.lower()
print(my_str) # outputs "hello world" on the terminal
Posted by: Guest on October-15-2020
1

string lowercase python

string.upper()
string.lower()
Posted by: Guest on April-01-2021
0

string lower python

# example string
string = "THIS SHOULD BE LOWERCASE!"
print(string.lower())

# string with numbers
# all alphabets whould be lowercase
string = "Th!s Sh0uLd B3 L0w3rCas3!"
print(string.lower())
Posted by: Guest on June-13-2021

Code answers related to "what does .lower do in python"

Python Answers by Framework

Browse Popular Code Answers by Language