Python 字符串:小写字母 (string.ascii_lowercase)
Python 的 string.ascii_lowercase 是一个包含所有小写字母的字符串:abcdefghijklmnopqrstuvwxyz。它可以用来生成随机小写字母字符串,创建密码,或其他需要小写字母的应用。
import string
print(string.ascii_lowercase)
输出: abcdefghijklmnopqrstuvwxyz
原文地址: https://www.cveoy.top/t/topic/pnwB 著作权归作者所有。请勿转载和采集!