I have started practicing for python when I came across the term "*map()" and I'm not able to understand what it means. I know the map function allows us to take multiple inputs as it is self iterable but was is the use of the asterisk(*
) in front of it.
import numpy
print(str(numpy.eye(*map(int,input().split()))).replace('1',' 1').replace('0',' 0'))