Python99 P101: Find the last element of a list 求列表中最后一个元素
求列表中最后一个元素。用单元测试描述为:from python99.lists.p101 import find_last_one, find_last_one_recursivedef test_find_last_one(): input = [1,4,6,'s','no','X'] actual = find_last_one(input) assert a...
原创
2018-12-27 15:33:53 ·
693 阅读 ·
0 评论