petit_herisson

导航

随笔分类 -  Coursera-Data Processing Using Python

Exercise: Week 3-3.1-2
摘要:Define the function twonums_sum(n, lst), finds in the list lst whether there is a sum of two numbers equal to n, if any, returns a subscript of two nu 阅读全文

posted @ 2019-11-27 19:21 petit_herisson 阅读(143) 评论(0) 推荐(0)

Exercise: Week 3-3.1-1
摘要:Enter an English sentence. Except for words and spaces, the sentence contains only punctuation ",", ".", "'", "", and "!". Count the times of each wor 阅读全文

posted @ 2019-11-27 17:49 petit_herisson 阅读(112) 评论(0) 推荐(0)

Exercise: Week 2-7
摘要:File artical.txt contains an article in English (please create the file by yourself and put any English article you picked in it). Assume the article 阅读全文

posted @ 2019-11-20 11:50 petit_herisson 阅读(99) 评论(0) 推荐(0)