Map Lambda If Else Python Questions