摘要:
pyschools Topic 2: Question 9 题目:给定一组整数,获取其个位数之和Write a function getSumOfLastDigits() that takes in a list of positive numbers and returns the sum of all the last digits in the list.def getSumOfLastD... 阅读全文
摘要:
pyschools Topic 8: Question 7的题目:给定一个单词,输出字母及字母出现次数Write a function countLetters(word) that takes in a word as argument and returns a dictionary that counts the number of times each letter appears.pyt... 阅读全文