Map Input Function In Python Syntax For Loop