Answers for "tolowercase in python"

5

convert string to lowercase in python

str = 'HELLO'
print(str.lower())

#prints "hello"
Posted by: Guest on February-01-2021
3

python string to lower

str = 'heLLo WorLD'
print(str.lower())
# hello world
Posted by: Guest on October-26-2020
1

lowercase python

strin = "aBc"
print string.upper()
>> "ABC"
print string.lower()
>> "abc"
Posted by: Guest on October-07-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

Python Answers by Framework

Browse Popular Code Answers by Language