
codewars
文章平均质量分 50
shitfly
啥也不会
展开
-
codewars day1
1.Find The Parity Outlier Description:You probably know the “like” system from Facebook and other pages. People can “like” blog posts, pictures or other items. We want to create the text that should b原创 2017-04-20 13:19:54 · 447 阅读 · 0 评论 -
codewars2
RGB To Hex Conversiondef rgb(r,g,b): sixteen={1:'1', 2:'2', 3:'3', 4:'4', 5:'5', 6:'6', 7:'7', 8:'8',原创 2017-05-06 11:40:09 · 339 阅读 · 0 评论 -
codewars3
Where my anagrams at?def anagrams(word,words): lword=list(word) lword.sort() new=[] for i in range(len(words)): lwords=list(words[i]) lwords.sort() if lword原创 2017-05-08 16:27:29 · 338 阅读 · 0 评论 -
codewars4
Recover a secret string from random tripletsdef recoverSecret(triplets): res='' while triplets!=[]: non_firsts=[num for t in triplets for num in t[1:]] firsts=[t[0] for t i原创 2017-05-16 20:12:13 · 543 阅读 · 0 评论