We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9155414 commit bce41c4Copy full SHA for bce41c4
source/exercises/circle_class.rst
@@ -32,8 +32,7 @@ You will use:
32
33
- properties.
34
- a bunch of "magic methods".
35
- - a classmethod (after you've learned about them...).
36
-
+ - a classmethod.
37
38
General Instructions:
39
---------------------
@@ -121,8 +120,6 @@ The user should not be able to set the area:
121
120
Step 5:
122
-------
123
124
-**NOTE:** wait on this one 'till we learn about class methods..
125
126
Add an "alternate constructor" that lets the user create a Circle directly
127
with the diameter:
128
@@ -134,6 +131,8 @@ with the diameter:
134
131
>> print(c.radius)
135
132
4
136
133
+Hint: This is a good use case for a ``classmethod``
+
137
Step 6:
138
139
0 commit comments