Python 练习册,天天一个小程序(0001)

详细题目在https://github.com/Yixiaohan/show-me-the-code上。这次是0001题,使用 Python 生成 200 个激活码。 总的想法就是产生随机字符,再设置格式,最后0存入文件,没有考虑随机生成后出现多个相同字符的状况。python # -*- coding: utf-8 -*- import string import random #设置激活码存放
相关文章
相关标签/搜索