17 августа 2020
Pawan Kushwaha9211why error
If you're using OOP, which it seems like you are, add "self" to the parenthesis in update_contact
def update_contact(self)
Pawan Kushwaha9211what do
Where you called the function update_id, you gave it a parameter. When you defined the function, it was without a parameter. If you want the function to take a parameter you should add the parameter as an argument when defining the function.
Something like this:
def update_contact(self, arg):
# code
Benjamin FarunaWhere you called the function update_id, you gave it a parameter. When you defined the function, it was without a parameter. If you want the function to take a parameter you should add the parameter as an argument when defining the function.
Something like this:
def update_contact(self, arg):
I don't know if this makes sense to you
Benjamin FarunaWhere you called the function update_id, you gave it a parameter. When you defined the function, it was without a parameter. If you want the function to take a parameter you should add the parameter as an argument when defining the function.
Something like this:
def update_contact(self, arg):
i did, i defined
Hello guys,
Sharing Knowledge is changing life
How is your progress going? I hope you are doing well. If you are enjoying what you are doing and if you like the content what if you share it with your circle using different social media platforms. The more people we have would be the better. After all by sharing this you may change someone's life. Do your part! The little thing you do may inspire and motivate someone. Thank you!!!