![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codewars
日尼禾尔月半
这个作者很懒,什么都没留下…
展开
-
python codewars.com题目练习中format(*args,**kwargs)的记录
题目: Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone number. 给10个数,转成电话号码格式。 Example: create_phone_number([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-原创 2021-05-12 10:02:45 · 155 阅读 · 0 评论 -
关于codewars.com一个问题,Growth of a Population的python解法
关于codewars.com一个问题,Growth of a Population的python解法 Description: In a small town the population isp0 = 1000at the beginning of a year. The population regularly increases by2 percentper year and moreover50new inhabitants per year come to live in t...原创 2021-05-09 23:35:04 · 230 阅读 · 0 评论 -
codewars.com 价值6的The new “Avengers“ movie has just been released! 题目解答答案汇总
The new "Avengers" movie has just been released! There are a lot of people at the cinema box office standing in a huge line. Each of them has a single 100, 50 or 25 dollar bill. An "Avengers" ticket costs 25 dollars. 解答答案汇总原创 2021-05-09 17:22:36 · 80 阅读 · 0 评论