Hi I want to know how *map works here:
Fraction(*map(int, input().split()))
I understood that it returns the parameters to the outer function - (Fraction) here.
But I also tried some thing like this -
List(*map(int, input().split()))
and
sum(*map(int, input().split()))
Its not working.
So I am not sure what actually *map returns. Need help on this! Thanks!