SyntaxError: non-default argument follows default argument
Let me clarify two points here : Firstly non-default argument should not follow the default argument, it means you can’t define (a = ‘b’,c) in function. The correct order of defining parameter in function are : positional parameter or non-default parameter i.e (a,b,c) keyword parameter or default parameter i.e (a = ‘b’,r= ‘j’) keyword-only parameter i.e (*args) var-keyword parameter i.e (**kwargs) … Read more