Update lottery.py