reverse.py