What do * (single star) and / (slash) do as independent parameters?
What do * (single star) and / (slash) do as independent parameters? Question: In the following function definition, what do the * and / account for? def func(self, param1, param2, /, param3, *, param4, param5): print(param1, param2, param3, param4, param5) NOTE: Not to mistake with the single|double asterisks in *args | **kwargs (solved here) Asked …
Total answers: 2