The map() function takes a function (in this case an int function) and applies that function to each part of the enum returned by the split() function. So if you write a, b = map(int, input().split(" ")) and the user types 123 456 , then a == 123 and b == 456 .
This function is useful for getting multiple inputs from the user. Splits the given input at the specified delimiter. Any white space is a delimiter if no delimiter is specified. Usually the user splits her python string using the split() method, but you can also use it to get multiple inputs. In Python, use the input() function to get input from the user. Whatever you type as input, the input function converts it to a string. If you enter an integer value, the input() function converts it to a string. syntax: (command prompt).
Learn more about Function here-
https://brainly.com/question/12431044
#SPJ4