每周练习
文章平均质量分 53
zeroo2333
这个作者很懒,什么都没留下…
展开
-
每周练习-20180710
'''Description:A man has a rather old car being worth $2000. He saw a secondhand car being worth $8000. He wants to keep his old car until he can buy the secondhand one.He thinks he can save $1000 ...原创 2018-07-10 23:00:14 · 148 阅读 · 0 评论 -
每周练习-20180717
昨天生日,晚上练了一个晚上吉他,手指有点疼。'''Description:dataand data1 are two strings with rainfall records of a few cities for months from January to December. The records of towns are separated by \n. The name of...原创 2018-07-17 23:42:53 · 215 阅读 · 0 评论 -
每周练习-20180712
Description:This time we want to write calculations using functions and get the results. Let's have a look at some examples:JavaScript:seven(times(five())); // must return 35four(plus(nine())); // mus...原创 2018-07-12 21:38:23 · 285 阅读 · 0 评论 -
每周练习-20180706
# 题目'''Description:You are given a secret message you need to decipher. Here are the things you need to know to decipher it:For each word:the second and the last letter is switched (e.g. Hello becomes...原创 2018-07-06 19:14:07 · 284 阅读 · 0 评论 -
每周练习-20180708
'''Description:Mothers arranged dance party for children in school.On that party there are only mothers and their children.All are having great fun on dancing floor when suddenly all lights went out.I...原创 2018-07-08 00:25:30 · 169 阅读 · 0 评论 -
每周练习-20180725
'''Write a method highestRank(arr) (or highest-rank in clojure) whichreturns the number which is most frequent in the given input array (or ISeq).If there is a tie for most frequent number, return...原创 2018-07-25 22:13:14 · 163 阅读 · 0 评论 -
每周练习-20180724
这篇是前两天写好的,今天放上来'''Description:A string is considered to be in title case if each word in the string is either (a) capitalised (that is, only the first letter of the word is in upper case) or (b) ...原创 2018-07-25 22:32:41 · 247 阅读 · 0 评论 -
每周练习-20180811
https://www.codewars.com/kata/are-they-the-same/python 自己'''解题思路:这次写的很烂,没有什么解题思路'''def comp(array1, array2): if not (array1 and array2):return False if None in array1 or None in arra...原创 2018-08-12 00:06:04 · 322 阅读 · 0 评论