Why this an error?

Hey @sarthaktech23, kindly use a colon after function definition and also you cannot leave a function blank in python. If you want to have an empty function, make sure you use the pass keyword as shown below :

def abc(a,b,c,d=10,e=20) : 
    pass

I hope this resolves your doubt ! :slight_smile:
Happy coding !

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like