- 博客(3)
- 收藏
- 关注
原创 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 554
原创 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 829
原创 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 4850 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人