
CodeWars
python_QYF
风往尘香花已尽,日晚倦梳头;物是人非事事休,欲语泪先流。
展开
-
python修炼——CodeWars!
Implement the function unique_in_order which takes as argument a sequence andreturns a list of items without any elements with the same value next to each other andpreserving the original order of elements.unique in order.py原创 2018-09-01 21:42:29 · 543 阅读 · 5 评论 -
python修炼——CodeWars_2!
codewars 刷题第二道:comp.py题目"""Given two arrays a and b write a function comp(a, b) (compSame(a, b) in Clojure) that checks whether the two arrays havethe "same" elements, with the same multipli...原创 2018-09-04 19:02:07 · 446 阅读 · 0 评论 -
python修炼——codewars_3!
codewars 刷题第三道——shotrest word.py!原创 2018-09-07 20:57:58 · 287 阅读 · 0 评论