Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ some
Function
some
data_structures/arrays/sudoku_solver.py:148–153 ·
view source on GitHub ↗
Return some element of seq that is true.
(seq)
Source
from the content-addressed store, hash-verified
146
147
148
def
some(seq):
149
""
"Return some element of seq that is true."
""
150
for
e in seq:
151
if
e:
152
return
e
153
return
False
154
155
156
def
search(values):
Callers
1
search
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected