Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
           
 
PREVIOUS NEXT
Tagged: #find #user #input #case #upper #case #python
ADD COMMENT
Topic
Name
2+3 =