import randomidentifying_code=''for i in range(0,4): current=random.randrange(0,3) if current==i: tmp=chr(random.randint(65,90)) else: tmp=random.rand Read More
f=open('daa','r',encoding='utf-8')f_new=open('add.bak','w',encoding='utf-8')for line in f: if '《忆秦娥·临高阁》' in line: line=line.replace('《忆秦娥·临高阁》','李清照' Read More
shopping=[('toy',50), ('clothes',100), ('iphone',5000), ('bike',400), ('hat',20), ('food',100)]buy_shopping=[]salary=int(input('input your salary:'))w Read More