推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
frmongo
V2EX  ›  Python

Python 语言,不使用 itertools 库,只使用循环,可以实现排列组合里的不放回组合的函数吗?

  •  
  •   frmongo · Dec 26, 2018 · 2244 views
    This topic created in 2717 days ago, the information mentioned may be changed or developed.
    4 replies    2018-12-29 17:22:07 +08:00
    Volekingsg
        1
    Volekingsg  
       Dec 26, 2018
    可以,不过我许久之前的实现比较丑
    darkTianTian
        3
    darkTianTian  
       Dec 26, 2018
    什么叫不放回组合的函数?
    yisiliu
        4
    yisiliu  
       Dec 29, 2018 via iPhone
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3140 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 13:48 · PVG 21:48 · LAX 06:48 · JFK 09:48
    ♥ Do have faith in what you're doing.