May-13-2019, 12:22 PM
The initializer for the clock class is given on line 6. It has eight parameters defined: self (which is given automatically), and seven others specifying a point in time (year, month, and so on).
On line 221, you create a clock instance, but provide no parameters. The self parameter is provided automatically, as I said. But the rest you need to provide on initialization. Either that, or you need to define default values for all of those parameters.
In the future, please give the full text of any error.
On line 221, you create a clock instance, but provide no parameters. The self parameter is provided automatically, as I said. But the rest you need to provide on initialization. Either that, or you need to define default values for all of those parameters.
In the future, please give the full text of any error.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures