Finding the Probability of Winning the Texas Lottery — I show how to calculate the probability of you winning the Texas Lottery game «Texas Millions» if you buy one ticket. The random number generator in Python 3 is pseudo-random. Which will then trigger this clause, forcing all the highest ranked matches winning lottery numbers to simply be the matches with high match numbers. Play for fun only, and when that fun stops, stop. Reload to refresh your session. About KDnuggets. You signed in with another tab or window.