kuroko/test/testForIf.krk

10 lines
149 B
Python
Raw Permalink Normal View History

2022-05-24 07:33:34 +03:00
let candidates = {'foo','bar','baz'}
let values = {
x for x in ['foo','bar','baz','qux']
if x in candidates
}
print(sorted(list(values)))