摘要:
生成随机验证码实例import randoma=[]c =''for i in range(6): if i == random.randrange(1,4): a.append(str(random.randint(1,9))) else: temp = ... 阅读全文
posted @ 2015-10-23 16:38
土豆兄弟
阅读(166)
评论(0)
推荐(0)
摘要:
Python的zip函数 zip函数接受任意多个(包括0个和1个)序列作为参数,返回一个tuple列表。具体意思不好用文字来表述,直接看示例: 1.示例1: x = [1, 2, 3] y = [4, 5, 6] z = [7, 8, 9] xyz = zip(x, y, z) print xyz 阅读全文
posted @ 2015-10-23 07:46
土豆兄弟
阅读(580)
评论(0)
推荐(0)

浙公网安备 33010602011771号