Why we do not get error in ATM question if we use map function?

I am getting NZEC error if I get the input normally but no error if get it using map fuction()

As we are taking multiple variables in one line map helps you to take multiple variables and can split the values of variables in one line with space. It is not possible with only int!

1 Like

Thank you