Reduce Python Syntax For Input