kuroko/test/testForIf.krk
2022-05-24 13:33:34 +09:00

10 lines
149 B
Python

let candidates = {'foo','bar','baz'}
let values = {
x for x in ['foo','bar','baz','qux']
if x in candidates
}
print(sorted(list(values)))