reverse.py done