Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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")
 
PREVIOUS NEXT
Tagged: #finding #user #input #upper #python
ADD COMMENT
Topic
Name
4+1 =