Update put.py

pep-8 annoyances