2015年5月17日
摘要: 1 def main(): 2 time = ["one", "two", "three", "four", "five", "six", "seven", "eight","nine", 3 "ten", "eleven", "twelve", "thirteen", "... 阅读全文
posted @ 2015-05-17 10:27 sangocare 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Link: https://www.hackerrank.com/challenges/identify-smith-numbers 1 def sum_digits(n): 2 return sum(int(x) for x in str(n)) 3 4 def prime_facto... 阅读全文
posted @ 2015-05-17 09:53 sangocare 阅读(245) 评论(0) 推荐(0) 编辑