Using ifs and whiles --Originally published at Python3 https://github.com/razonixx/TC101/blob/master/Lottery.py