@enoch_exe_inc@mastodon.social
Post #1784509
2026-03-01 00:11 UTC
“If it’s stupid but works, it isn’t stupid.”
`idx = self.DATA.index(key) + 1 # Plus one because an index of 0 is possible`
`if not idx: return None`
`return idx - 1 # That’s technically a solution, right?`
#Python #Coding
Replies (0)
No replies.