Index Ai Academy
Glossary · Phase 0 · Tools

Set

Also written: sets

A Python collection with no duplicates and no order, built for fast "is this in here?" checks.

Try it now

The right collection usually follows from one question: do you need order, names, or uniqueness?

Learn it properly

Sets: unique items and fast lookups · Duplicates, fast membership, set operations and comparing two lists. About 30 minutes.

Start this free lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write