📌  相关文章
📜  如何在python代码示例中查找用户输入是小写还是大写

📅  最后修改于: 2022-03-11 14:47:04.751000             🧑  作者: Mango

代码示例2
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")