Containers Lists,Dictionaries,Sets & Tuplets
KAUST Academy
0:00 / 0:00
Containers Lists,Dictionaries,Sets & Tuplets
21 просмотр · 2 ч назад
KAUST Academy
68 подписчиков
21 просмотр · 2 ч назад
So far every variable has held one value. This lecture is about holding many. You'll learn to create, index, slice, grow, sort and copy lists, and why b = a doesn't make a copy. We then cover tuples for fixed records, dictionaries for looking values up by name, and sets for fast membership tests with no duplicates. We end with a simple rule for picking the right container for the job.
Part of the KAUST Academy AI Specialization.