Hi everyone, I'm a novice student struggling through my first python
course. Currently stuck on how to tackle this exercise. Any input would be
appreciated, and I know you guys can not just give me the answer, I'm just
looking for help to understand how to work through this.
This is the exercise:
Not sure what I'm doing wrong, here are the problems and what I have for
answers so far.
1.)Write the definition of a class Counter containing:
An instance variable named counter of type int .
A constructor that takes one int argument and assigns its value to counter
A method named increme