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.
Just as I have already written in Javascript, I converted the code into Python. Output screens are shown below.
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.