How To Use Map Function In Python For Input