By Andy Brown

Download files and exercises for this tutorial from https://www.wiseowl.co.uk/python/videos/python-programming/sets/

Sets in Python provide a beautifully elegant way to remove duplicates from a list and to compare the contents of two lists, as this tutorial hopefully will prove to you!

Chapters
00:00 Topic list
01:10 What sets are and how to use them
02:04 Venn diagrams and set theory
04:14 Creating sets
06:23 Set operations
09:36 Example 1 - removing duplicates
14:28 Example 2 - counting letters/words
20:36 Example 3 - comparing lists

Python playlist https://youtube.com/playlist?list=PLNIs-AWhQzckGrdnwITFlXGqiXTCAhWWi

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
https://www.youtube.com/channel/UCbi5G5PjWBaQUFy7XU_O7yw/join
Or you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!

Visit https://www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Power BI, DAX, VBA, Python, Visual C#, Microsoft SQL Server, SQL Server Reporting Services SSRS, SQL Server Integration Services SSIS, Microsoft Access and more!