Answers for "python check if all caps"

3

how to check if text is in upper case in python

# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A

Text = "python is easy"
print(Text.isupper())
Posted by: Guest on October-12-2021
1

python check if all caps

if some_text.isupper():
  print ("Word is all upper case")
else:
  print ("Word is not all upper case")
Posted by: Guest on March-09-2022

Python Answers by Framework

Browse Popular Code Answers by Language