Google Sheets Map Function In Python For Input