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 833252b commit f90305eCopy full SHA for f90305e
3_advanced/chapter13/examples/vector.py
@@ -7,7 +7,9 @@ class Vector:
7
"""
8
9
def __init__(self, vals):
10
- self.vals = vals # We're using the keyword self to create a field/property
+ self.vals = (
11
+ vals # We're using the keyword self to create a field/property
12
+ )
13
print("Assigned values ", vals, " to vector.")
14
15
0 commit comments