Skip to content

How to find if user input is lower case or upper case in Python?

lower_case_items = "abcdefghijklmnopqrstuvwxyz"
char = "B"
if char in lower_case_items:
    print("This item is lower case")
    print("This item is Upper case item")
See also  How to select a file in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.