Apr-27-2020, 07:56 AM
myclass is a variable which is assigned the value of an object of type MyNumbers(). mclass is a bad variable name. You are correct that () causes MyNumbers() to do something. This time it causes python to create a new object of type MyNumbers. If MyNumbers had an __init__ method/function that would get executed at this time.
This is a new question. You should have started a new thread.
This is a new question. You should have started a new thread.