推荐学习书目
› 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 · 2555 views
    This topic created in 2886 days ago, the information mentioned may be changed or developed.
    4 replies  •  2018-12-29 17:22:07 +08:00
    Volekingsg
    Volekingsg
    Dec 26, 2018
    1
    可以,不过我许久之前的实现比较丑
    darkTianTian
    darkTianTian
    Dec 26, 2018
    3
    什么叫不放回组合的函数?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1745 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:50 · PVG 08:50 · LAX 16:50 · JFK 19:50
    ♥ Do have faith in what you're doing.