When are classes defined with parenthesis?

Why in the Methods tutorial are there parentheses on class Dog(): but on Methods with Arguments there are no parentheses for class DistanceConverter: ???

This is actually poorly formatted. Generally a class should be defined without parenthesis unless it is inheriting features from another class (you’ll learn more on that later).

1 Like