Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ num_columns
Method
num_columns
matrix/matrix_class.py:139–140 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
137
138
@property
139
def
num_columns(self) -> int:
140
return
len(self.rows[0])
141
142
@property
143
def
order(self) -> tuple[int, int]:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected