Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Python
/
Sets
Which expression accepts a list on the right without converting it first?
from Sets
Python 3.14
beginner
1 min
Which expression accepts a list on the right without converting it first?
{1, 2}.intersection([2, 3])
{1, 2} & [2, 3]
{1, 2} | [2, 3]
{1, 2} - [2, 3]
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload