In the keyword argument video, you said that whenever we call a function we have to assign values to the correct variable (ex:- rollNo = 1010) and the order of assignment was random, but when you entered end=" ", it was only running when we add it in the end, actually according to what I described earlier, order should be random as we are clearly defining by writing end = " " . Why is it showing an error?
Keyword Argument
Hey @Aman_Kashyap, i got your question, actually when in function call statement, when you pass a parameter using ‘=’ sign, that you need to ensure that all the following parameters are also assigned using the ‘=’ sign.That is the reason print(end = ’ ', ‘hello’) do not work since 2 parameter is not passed using ‘=’ sign.
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section.