![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CodeWars
会飞的鸡仔
这个作者很懒,什么都没留下…
展开
-
CodeWars题目训练1【Python】
题目:Multiply 等级:8 【最低一级】 介绍:The code does not execute properly. Try to figure out why. 翻译:代码不能正确执行,想办法知道为什么。【可自行机翻】 正文:def multiply(a, b): a * b可以看到,该函数并没有返回值。看看测试代码:test.assert_equals(...原创 2018-03-27 15:00:18 · 4796 阅读 · 4 评论 -
CodeWars题目训练2【Python】
题目: Convert boolean values to strings ‘Yes’ or ‘No’. 等级: 8 【最低一级】 介绍: Complete the method that takes a boolean value and return a “Yes” string for true, or a “No” string for false 翻译:大概意思就是用”Yes”...原创 2018-03-27 15:43:52 · 817 阅读 · 0 评论 -
CodeWars题目训练3【Python】
题目: Convert number to reversed array of digits 等级: 8 【最低一级】 介绍: You have to return the digits of this number within an array in reverse order. Example: 348597 => [7,9,5,8,4,3] 翻译: 将数字转换为反向数...原创 2018-03-27 17:20:22 · 543 阅读 · 0 评论