Call on the edit page.Create a py file I put a simple class function in the file
Next, I imported it from the console window, but the error message object() takes no parameters appears.
If you write m = Call ("John"), doesn't the John variable become an object parameter?
class parameter python3
The initialization function appears to be a typo. Try changing it as below.
#def __init(self, name):
def __init__(self, name):
© 2024 OneMinuteCode. All rights reserved.