Update inputs.py

Docstrings and pep8