Giter Site home page Giter Site logo

cp's Introduction

cp

shuangseqiu/Python 对双色球始终相信是随机概率事件,通过random 函数,生成随机数;

caipiao02思路说明 1.一张双色球彩票由红球和篮球总共7个数组成;红球由【01至33】随机组成;蓝球由【01-16】随机组成大家都清楚; 2.拆解;将红球【01至33】拆分为3个组,蓝球作为一组 红list1 = ['01','02','03','04','05','06','07','08','09','10','11'] 红list2 = [12,13,14,15,16,17,18,19,20,21,22] 红list3 = [23,24,25,26,27,28,29,30,31,33]

蓝list4 = ['01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16']

蓝球必选,那么红球3组中必选6个数;3+2+1即红球三个数组中随机抽选的个数再和蓝球数组随机生成一个即组成一注

cp's People

Contributors

zyh08808 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.