python3 输出 26个大小写英文字母

import string


words1 = list(string.ascii_uppercase)  # 26个大写英文字母
print(words1)

words2 = list(string.ascii_lowercase)  # 26个小写英文字母
print(words2)

words3 = list(string.ascii_letters)  # 52个小写和大写英文字母
print(words3)

猜你喜欢

转载自blog.csdn.net/weixin_41822224/article/details/105663535