Update lol.py

Python 3 support