This program generates 6 random numbers
You have 1 in 28,989,675 chance of winning the lottery (Philippine Lottery). How can we improve the chance of winning in the lottery?
Make a program that eliminates rare combinations by setting some rules. Examples of rare combinations:
- [1, 2, 3, 4, 5, 6]
- [2, 4, 6, 8, 10, 12]
- [1, 3, 5, 7, 9, 11, 13]
- [1, 2, 3, 4, 5, 7]
- etc.
-
It should generate 6 random numbers from 1-55
-
It should generate numbers from Low (1-28) and High (29-55) with this ratios:
3:3 4:2 2:4
-
It should generate Odd and Even numbers with the same ratio as above
-
It should not generate 6 numbers from all of 5 groups
-
The sum of the 6 numbers should be from 104 - 239
-
Every list should not be generated twice or more (Not working on this version)
1 -- 1-11
2 -- 12-22
3 -- 23-33
4 -- 34-44
5 -- 45-55
This program runs on Kivy - A Cross-platform Python Framework. To install Kivy on your machine, please follow the instructions at the Kivy Documentation
You can contact me at austingimperial(AT)gmail(DOT)com
- V1.0: First released version