Answers for "upper method python"

30

python to uppercase

text = "Random String"
text = text.upper() #Can also do 
text = upper(text)
print(text)

>> "RANDOM STRING"
Posted by: Guest on September-16-2020
0

python string caps lock

>>> s = 'sdsd'
>>> s.upper()
'SDSD'
Posted by: Guest on May-14-2020

Python Answers by Framework

Browse Popular Code Answers by Language