python技巧获取26个英语字母

import string

string.ascii_uppercase  # 获取26个大写字母
string.ascii_lowercase  # 获取26个小写字母
string.ascii_letters  # 获取26个小写字母和26个大写字母

猜你喜欢

转载自www.cnblogs.com/c-x-a/p/11819219.html
今日推荐