• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Steemistry HomeSteemistry
LoginSign up

Python 随机选取元素的一些方法以及概率问题

waheed (11)in #python • 9 years ago

之前有一个任务,其中一个步骤是从名单中随机选择部分用户去执行一些操作,而且要保证用户被选中的概率大致相等。

DQmcQ9NjUGYTynLd8gKfDk4EMjYm8sHvPHZf9TjezST4ZT1.jpg

9 years ago in #python by waheed (11)
$0.00
    2 votes
    • + smileplease
    • + bitcoinparadise
    Reply 0

    New to Steemistry?

    • Welcome Guide

    Promoted Posts

    • West Chester Wildlife: Photographs and observations of raptors in September 2026@remlaps
    • EcoBurn: Post #575@ecoburn
    • "Supporting my student at vocal competition, and visiting exhibition stand"@sailawana
    View all promoted posts

    Pinned Communities

    • Steem for Betterlife
    • Art & Artists
    • CCC
    • SCB Monkey Business
    • Tales & Stories
    • Dream Steem
    • Italy
    • Moments in Focus
    • Venezolanos Steem
    • WorldBites
    • CCS
    • Newcomers Community
    • Steem SEA
    • Steem Pod Team
    • World of Xpilar
    • Freewriters
    • Trending Communities
    • SteemitCryptoAcademy
    • Newcomers' Community
    • আমার বাংলা ব্লগ
    • Steem Alliance
    • Korea • 한국 • KR • KO
    • Steem POD Team
    • Beauty of Creativity
    • STEEM CN/中文
    • AVLE 일상
    • Steem Venezuela
    • Tron Fan Club
    • Steem For Lifestyle