Answers for "how to find if user input is lower case or upper case in python"

2

finding if user input is lower or upper in python

lower_case_items = "abcdefghijklmnopqrstuvwxyz"
char = "B"
if char in lower_case_items:
    print("This item is lower case")
else:
    print("This item is Upper case item")
Posted by: Guest on July-26-2021
1

how to find if user input is lower case or upper case in python

lower_case_items = "abcdefghijklmnopqrstuvwxyz"
char = str(input("Any letter:- ")
if char in lower_case_items:
    print("This item is lower case")
else:
    print("This item is Upper case item")
Posted by: Guest on August-03-2021

Code answers related to "how to find if user input is lower case or upper case in python"

Python Answers by Framework

Browse Popular Code Answers by Language