Map Input Function In Python With Parameters