Updated who.py to Python 3