Update index.py

omit final request for input