# 如果你需要小写字母 for i in range(26): print(chr(i+ord('a'))) # 如果你需要大写字母 for i in range(26): print(chr(i+ord('A')))
可以简单描述下你的需求或者场景吗?