Order of arguements

why should we always follow the order that arguements should be always passed in the order
positional args, *args, default args, **kwargs

Hey @ajaysiddartha, in python the order is positional arguments followed by *args and **kwargs. The reason behind this is that after the positional arguments, all the arguments that we send to the function call will be packed inside *args. So u have an option to either explicitly specify which variable should take what value, or you can follow the order as

positional arguments -> *args -> **kwargs

I hope this clears your doubt ! :slight_smile:
Please mark the doubt as resolved in your doubts section !
Happy Learning ! :+1: