2017年7月7日

3和5的倍数相加和

摘要: method1: def solu(num): 阅读全文

posted @ 2017-07-07 15:20 run_qin 阅读(241) 评论(0) 推荐(0)

PeteCake 字典和最小值

摘要: def cakes(recipe, available): # TODO: insert code count = [] for item in recipe: if item not in available: return 0 else: count.append(int(available[i 阅读全文

posted @ 2017-07-07 11:04 run_qin 阅读(167) 评论(0) 推荐(0)

Find the missing letter

摘要: charSet = set(chars) #去重复charSet = sorted(charSet) #排序charSet = ''.join(charSet) #转换成字符串flag = str.islower(charSet)charSet = str.lower(charSet)allChar 阅读全文

posted @ 2017-07-07 10:37 run_qin 阅读(420) 评论(0) 推荐(0)

导航