Gatekeeper.py
100 points · 0 solved
A license check from a Python tool. Find the input that makes it print ok.
def check(s: str) -> bool:
return [ord(c) ^ 0x2A for c in s] == [89, 89, 81, 82, 69, 88, 117, 67, 89, 117, 88, 79, 92, 79, 88, 89, 67, 72, 70, 79, 87]
print('ok' if check(input('key: ')) else 'nope')Hints0/2