摘要: def PowerSetsRecursive(items): """Use recursive call to return all subsets of items, include empty set""" if len(items)... 阅读全文
posted @ 2018-06-23 21:48 luoganttcc 阅读(332) 评论(0) 推荐(0) 编辑
摘要: kk=5def factorial(n): result = 1 for i in range(2, n+1): result *= i return resultprint(factorial(kk))def factori... 阅读全文
posted @ 2018-06-23 21:44 luoganttcc 阅读(88) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Sat Jun 23 16:59:07 2018@author: luogan"""def PowerSetsBinary(items): ... 阅读全文
posted @ 2018-06-23 17:12 luoganttcc 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 文章链接 阅读全文
posted @ 2018-06-23 16:32 luoganttcc 阅读(75) 评论(0) 推荐(0) 编辑