Lotto number picker

Just for fun I wanted to create a program to pick random numbers to use to play LottoMax and Lotto649. Instead of letting the lotto machines or the online system pick the numbers, I wanted an alternative for generating numbers to play. Not saying that they have brought me any extra luck as I still got to work!

Here are the output screens.

Fig.1 - LottoMax number picks
Fig.2 - Lotto649 number picks

Guess the number

Just as I have already written in Javascript, I converted the code into Python. Output screens are shown below.

Fig.1 - Guess number start
Fig.2 - Incorrect guess
Fig.3 - Correct guess

CAS RN checker

A little program to check the validity of a CAS Registry Number. This is a check digit algorithm as described here. This just checks whether the number is valid and does not take you to a reference for the actual chemical compound. If you want that, then you can Google it.

Fig.1 - Valid CAS#
Fig.2 - Invalid CAS#
<