Answers for "python input without capital letters"

0

python input without capital letters

# Python has a lower() function to convert
#an uppercase string to an identical lowercase string

string = 'MY STRING IN CAPITAL LETTERS'
print(string.lower())
#or:
string = 'My String In Capital Letters'
print(string.lower())

#OUTPUT: 
#my string in capital letters
#my string in capital letters
Posted by: Guest on July-06-2021

Code answers related to "python input without capital letters"

Python Answers by Framework

Browse Popular Code Answers by Language