CodeWars
python_QYF
风往尘香花已尽,日晚倦梳头;物是人非事事休,欲语泪先流。
展开
-
python修炼——CodeWars!
Implement the function unique_in_order which takes as argument a sequence and returns a list of items without any elements with the same value next to each other and preserving the original order of elements. unique in order.py原创 2018-09-01 21:42:29 · 531 阅读 · 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 have the "same" elements, with the same multipli...原创 2018-09-04 19:02:07 · 431 阅读 · 0 评论 -
python修炼——codewars_3!
codewars 刷题第三道——shotrest word.py!原创 2018-09-07 20:57:58 · 274 阅读 · 0 评论