If that’s really all you want:
words = output.split(' ', 1)
if words[0] == 'search' and words[1] in Terms:
print("win")
5
solved How can I make this code not use a list or a ton of conditional statements? [closed]
If that’s really all you want:
words = output.split(' ', 1)
if words[0] == 'search' and words[1] in Terms:
print("win")
5
solved How can I make this code not use a list or a ton of conditional statements? [closed]