Python Get Terminal Input In Python Syntax And Semantics