Light Mode
Dark Mode
bug in Run Code [The End of Other]

this code gets different check result each time:

def checkio(wordsset): wordslist = [p[::-1] for p in wordsset] for i in range(len(wordslist)): for j in range(i+1, len(wordslist)): try: if not wordslist[i].index(wordslist[j]) or not wordslist[j].index(words_list[i]): return True except: continue return False

for example:

Example: False AssertionError: helLO <module>, 17

Example: True AssertionError: duck to walk <module>, 19

Example: True Done! Time to check!

What's going on?

  • bug
Created: Feb. 17, 2025, 2:44 p.m.
Updated: Feb. 19, 2025, 2:54 a.m.
0
15
User avatar
zshlab