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 61dd455 commit fb2d2f7Copy full SHA for fb2d2f7
__pycache__/SparseMatrix.cpython-310.pyc
0 Bytes
example.py
@@ -51,15 +51,15 @@ def main():
51
52
# Length of the sparse matrix
53
print("Length of M1:")
54
- print(len(m1))
+ print(len(m1), "\n")
55
56
# Convert the sparse matrix to hash
57
print("Hash of M1:")
58
- print(hash(m1))
+ print(hash(m1), "\n")
59
60
# Cast to bool
61
print("Bool of M1:")
62
- print(bool(m1))
+ print(bool(m1), "\n")
63
64
# Delete an element from the sparse matrix
65
print("Delete M1[0, 0]:")
0 commit comments