![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
apollo315
测试工程师一枚,正在向测试开发方向发展
展开
-
Codewars 刷题笔记(Python)6.Multiples of 3 or 5
题目If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Finish the solution so that it returns the sum of all the multiples...原创 2020-03-11 21:25:36 · 650 阅读 · 0 评论 -
Codewars 刷题笔记(Python)5.Disemvowel Trolls
题目Trolls are attacking your comment section!A common way to deal with this situation is to remove all of the vowels from the trolls’ comments, neutralizing the threat.Your task is to write a functi...原创 2020-03-11 21:23:28 · 451 阅读 · 0 评论 -
Codewars 刷题笔记(Python)3.Friend or Foe
题目Make a program that filters a list of strings and returns a list with only your friends name in it.If a name has exactly 4 letters in it, you can be sure that it has to be a friend of yours! Other...原创 2020-03-03 22:59:10 · 446 阅读 · 0 评论 -
Codewars 刷题笔记(Python)2.Binary Addition
题目Implement a function that adds two numbers together and returns their sum in binary. The conversion can be done before, or after the addition.The binary number returned should be a string.难度:7 k...原创 2020-03-03 00:36:23 · 374 阅读 · 0 评论 -
Codewars 刷题笔记(Python)1. Isograms
题目An isogram is a word that has no repeating letters, consecutive or non-consecutive. Implement a function that determines whether a string that contains only letters is an isogram. Assume the empty ...原创 2020-03-02 01:09:43 · 501 阅读 · 0 评论