摘要:
嗯,这是很简单的,一个判断语句 ,if else 当然,有个关键概念: in 和 not in 操作符 利用 in 和 not in 操作符,可以确定一个值否在列表中。像其他操作符一样,in和 not in 用在表达式中,连接两个值:一个要在列表中查找的值,以及待查找的列表。这些表达式将求值为布尔值 阅读全文
摘要:
import random def creat(): res="" for i in range(0,6): Da=chr(random.randint(65,90)) Xiao=chr(random.randint(97,122)) Num=random.randint(0,9) result=random.ch... 阅读全文