[{"data":1,"prerenderedAt":5511},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/set-operations":988},[4,22,31,40,49,58,67,76,86,95,104,113,122,131,141,150,159,168,177,186,196,205,214,223,233,242,251,260,269,279,288,297,306,315,324,333,342,351,360,369,379,388,397,406,415,424,433,442,452,461,470,479,488,497,506,515,525,534,543,552,561,570,579,588,597,606,616,625,634,643,652,661,670,680,689,698,707,716,725,734,744,753,762,771,780,789,798,807,817,826,835,844,853,863,872,881,890,900,909,918,927,936,945,953,961,970,979],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python/getting-started","python",false,"","Getting Started","Begin your Python programming journey. Learn what Python is, how to set it up, and write your first programs. Perfect for complete beginners starting their coding adventure.","getting-started",1,true,"pi pi-folder","markdown","content:python:1.getting-started.md","content","python/1.getting-started.md","python/1.getting-started","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python/what-is-python","What is Python","Discover Python's fascinating history, design philosophy, and key features. Learn why Python has become one of the world's most popular programming languages and perfect for beginners.","what-is-python",2,"content:python:2.what-is-python.md","python/2.what-is-python.md","python/2.what-is-python",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python/setup-python","Setup Python","Learn how to install Python on your computer and set up your development environment. Step-by-step guide for Windows, macOS, and Linux with beginner-friendly instructions.","setup-python",3,"content:python:3.setup-python.md","python/3.setup-python.md","python/3.setup-python",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python/your-first-program","Your First Program","Write and run your first Python program! Learn the basics of Python programming with simple examples and step-by-step instructions for beginners.","your-first-program",4,"content:python:4.your-first-program.md","python/4.your-first-program.md","python/4.your-first-program",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python/python-code-structure","Python Code Structure","Learn how Python code is organized and structured. Understand indentation, line breaks, and the basic rules that make Python programs work correctly.","python-code-structure",5,"content:python:5.python-code-structure.md","python/5.python-code-structure.md","python/5.python-code-structure",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python/writing-comments","Writing Comments","Learn how to write effective comments in Python. Discover when and how to document your code to make it clear, maintainable, and easy to understand.","writing-comments",6,"content:python:6.writing-comments.md","python/6.writing-comments.md","python/6.writing-comments",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python/working-with-variables","Working with Variables","Learn how to create, use, and manage variables in Python. Understand how to store data, change values, and follow naming conventions for clean, readable code.","working-with-variables",7,"content:python:7.working-with-variables.md","python/7.working-with-variables.md","python/7.working-with-variables",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python/basic-data-types","Basic Data Types","Learn about Python's fundamental data types including numbers, text, and boolean values","basic-data-types",8,"content:python:8.basic-data-types.md","python/8.basic-data-types.md","python/8.basic-data-types",[86,95,104,113,122],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":91,"_type":15,"_id":92,"_source":17,"_file":93,"_stem":94,"_extension":20},"/python/understanding-data-types","Understanding Data Types","Learn how Python identifies different data types and why they're important for programming","understanding-data-types",9,"content:python:9.understanding-data-types.md","python/9.understanding-data-types.md","python/9.understanding-data-types",{"_path":96,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":97,"description":98,"slug":99,"parentId":77,"order":100,"_type":15,"_id":101,"_source":17,"_file":102,"_stem":103,"_extension":20},"/python/working-with-numbers","Working with Numbers","Learn about Python's numeric data types including integers and floats, and how to perform calculations","working-with-numbers",10,"content:python:10.working-with-numbers.md","python/10.working-with-numbers.md","python/10.working-with-numbers",{"_path":105,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":106,"description":107,"slug":108,"parentId":77,"order":109,"_type":15,"_id":110,"_source":17,"_file":111,"_stem":112,"_extension":20},"/python/text-and-strings","Text and Strings","Learn how to work with text data in Python using strings, including creation, manipulation, and formatting","text-and-strings",11,"content:python:11.text-and-strings.md","python/11.text-and-strings.md","python/11.text-and-strings",{"_path":114,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":115,"description":116,"slug":117,"parentId":77,"order":118,"_type":15,"_id":119,"_source":17,"_file":120,"_stem":121,"_extension":20},"/python/true-false-values","True/False Values","Learn about boolean values in Python, including True/False logic, comparison operations, and how to use booleans for decision-making in your programs","true-false-values",12,"content:python:12.true-false-values.md","python/12.true-false-values.md","python/12.true-false-values",{"_path":123,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":124,"description":125,"slug":126,"parentId":77,"order":127,"_type":15,"_id":128,"_source":17,"_file":129,"_stem":130,"_extension":20},"/python/converting-types","Converting Types","Learn how to convert between different Python data types including strings, numbers, and booleans","converting-types",13,"content:python:13.converting-types.md","python/13.converting-types.md","python/13.converting-types",{"_path":132,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":133,"description":134,"slug":135,"order":136,"isParent":13,"icon":14,"_type":15,"_id":137,"_source":17,"_file":138,"_stem":139,"_extension":20,"children":140,"expanded":13},"/python/python-operators","Python Operators","Learn about Python operators - the symbols and keywords that perform operations on data. Discover arithmetic, comparison, logical, and assignment operators with simple examples.","python-operators",14,"content:python:14.python-operators.md","python/14.python-operators.md","python/14.python-operators",[141,150,159,168,177],{"_path":142,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":143,"description":144,"slug":145,"parentId":132,"order":146,"_type":15,"_id":147,"_source":17,"_file":148,"_stem":149,"_extension":20},"/python/math-operations","Math Operations","Learn Python's arithmetic operators for mathematical calculations. Master addition, subtraction, multiplication, division, and more with practical examples.","math-operations",15,"content:python:15.math-operations.md","python/15.math-operations.md","python/15.math-operations",{"_path":151,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":152,"description":153,"slug":154,"parentId":132,"order":155,"_type":15,"_id":156,"_source":17,"_file":157,"_stem":158,"_extension":20},"/python/comparing-values","Comparing Values","Learn Python's comparison operators to compare values and make decisions. Master equality, inequality, and relational operators with practical examples.","comparing-values",16,"content:python:16.comparing-values.md","python/16.comparing-values.md","python/16.comparing-values",{"_path":160,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":161,"description":162,"slug":163,"parentId":132,"order":164,"_type":15,"_id":165,"_source":17,"_file":166,"_stem":167,"_extension":20},"/python/logic-operations","Logic Operations","Learn about Python's logical operators for combining conditions and creating complex boolean expressions","logic-operations",17,"content:python:17.logic-operations.md","python/17.logic-operations.md","python/17.logic-operations",{"_path":169,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":170,"description":171,"slug":172,"parentId":132,"order":173,"_type":15,"_id":174,"_source":17,"_file":175,"_stem":176,"_extension":20},"/python/value-assignment","Value Assignment","Learn about Python's assignment operators for efficiently updating variables and performing calculations","value-assignment",18,"content:python:18.value-assignment.md","python/18.value-assignment.md","python/18.value-assignment",{"_path":178,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":179,"description":180,"slug":181,"parentId":132,"order":182,"_type":15,"_id":183,"_source":17,"_file":184,"_stem":185,"_extension":20},"/python/operator-precedence","Operator Precedence","Learn how Python evaluates expressions with multiple operators and how to control evaluation order","operator-precedence",19,"content:python:19.operator-precedence.md","python/19.operator-precedence.md","python/19.operator-precedence",{"_path":187,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":188,"description":189,"slug":190,"order":191,"isParent":13,"icon":14,"_type":15,"_id":192,"_source":17,"_file":193,"_stem":194,"_extension":20,"children":195,"expanded":13},"/python/decision-making","Decision Making","Learn how to make decisions in your Python programs using conditional statements and control flow","decision-making",20,"content:python:20.decision-making.md","python/20.decision-making.md","python/20.decision-making",[196,205,214],{"_path":197,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":198,"description":199,"slug":200,"parentId":187,"order":201,"_type":15,"_id":202,"_source":17,"_file":203,"_stem":204,"_extension":20},"/python/if-statements","If Statements","Learn how to use if statements to make decisions and control program flow in Python","if-statements",21,"content:python:21.if-statements.md","python/21.if-statements.md","python/21.if-statements",{"_path":206,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":207,"description":208,"slug":209,"parentId":187,"order":210,"_type":15,"_id":211,"_source":17,"_file":212,"_stem":213,"_extension":20},"/python/multiple-conditions","Multiple Conditions","Learn how to handle multiple conditions using elif statements and complex conditional logic in Python","multiple-conditions",22,"content:python:22.multiple-conditions.md","python/22.multiple-conditions.md","python/22.multiple-conditions",{"_path":215,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":216,"description":217,"slug":218,"parentId":187,"order":219,"_type":15,"_id":220,"_source":17,"_file":221,"_stem":222,"_extension":20},"/python/pattern-matching","Pattern Matching","Learn how to use Python's match-case statements for powerful pattern matching and complex decision making","pattern-matching",23,"content:python:23.pattern-matching.md","python/23.pattern-matching.md","python/23.pattern-matching",{"_path":224,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":225,"description":226,"slug":227,"order":228,"isParent":13,"icon":14,"_type":15,"_id":229,"_source":17,"_file":230,"_stem":231,"_extension":20,"children":232,"expanded":13},"/python/repetition-and-loops","Python Loops","Learn how to use loops to repeat code efficiently and handle repetitive tasks in Python","repetition-and-loops",24,"content:python:24.repetition-and-loops.md","python/24.repetition-and-loops.md","python/24.repetition-and-loops",[233,242,251,260],{"_path":234,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":235,"description":236,"slug":237,"parentId":224,"order":238,"_type":15,"_id":239,"_source":17,"_file":240,"_stem":241,"_extension":20},"/python/while-loops","While Loops","Learn how to use while loops for condition-based repetition and create loops that run until specific conditions are met","while-loops",25,"content:python:25.while-loops.md","python/25.while-loops.md","python/25.while-loops",{"_path":243,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":244,"description":245,"slug":246,"parentId":224,"order":247,"_type":15,"_id":248,"_source":17,"_file":249,"_stem":250,"_extension":20},"/python/for-loops","For Loops","Learn how to use for loops to iterate through sequences, collections, and ranges efficiently in Python","for-loops",26,"content:python:26.for-loops.md","python/26.for-loops.md","python/26.for-loops",{"_path":252,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":253,"description":254,"slug":255,"parentId":224,"order":256,"_type":15,"_id":257,"_source":17,"_file":258,"_stem":259,"_extension":20},"/python/loop-control","Loop Control","Master advanced loop control techniques including break, continue, and else clauses for sophisticated iteration patterns","loop-control",27,"content:python:27.loop-control.md","python/27.loop-control.md","python/27.loop-control",{"_path":261,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":262,"description":263,"slug":264,"parentId":224,"order":265,"_type":15,"_id":266,"_source":17,"_file":267,"_stem":268,"_extension":20},"/python/nested-loops","Nested Loops","Learn how to use nested loops to process multi-dimensional data, create patterns, and handle complex iteration scenarios","nested-loops",28,"content:python:28.nested-loops.md","python/28.nested-loops.md","python/28.nested-loops",{"_path":270,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":271,"description":272,"slug":273,"order":274,"isParent":13,"icon":14,"_type":15,"_id":275,"_source":17,"_file":276,"_stem":277,"_extension":20,"children":278,"expanded":13},"/python/python-lists","Python Lists","Learn about Python lists, one of the most important and versatile data structures for storing and organizing collections of data","python-lists",29,"content:python:29.python-lists.md","python/29.python-lists.md","python/29.python-lists",[279,288,297,306,315,324,333,342,351,360],{"_path":280,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":281,"description":282,"slug":283,"parentId":270,"order":284,"_type":15,"_id":285,"_source":17,"_file":286,"_stem":287,"_extension":20},"/python/creating-lists","Creating Lists","Learn different methods to create and initialize Python lists, from simple literals to advanced techniques","creating-lists",30,"content:python:30.creating-lists.md","python/30.creating-lists.md","python/30.creating-lists",{"_path":289,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":290,"description":291,"slug":292,"parentId":270,"order":293,"_type":15,"_id":294,"_source":17,"_file":295,"_stem":296,"_extension":20},"/python/reading-list-data","Reading List Data","Master techniques for accessing and retrieving data from Python lists using indexing, slicing, and built-in methods","reading-list-data",31,"content:python:31.reading-list-data.md","python/31.reading-list-data.md","python/31.reading-list-data",{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":270,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python/modifying-lists","Modifying Lists","Learn how to change, update, and modify existing elements in Python lists using indexing and various methods","modifying-lists",32,"content:python:32.modifying-lists.md","python/32.modifying-lists.md","python/32.modifying-lists",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":270,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python/adding-to-lists","Adding to Lists","Learn various methods to add elements to Python lists including append, insert, extend, and concatenation techniques","adding-to-lists",33,"content:python:33.adding-to-lists.md","python/33.adding-to-lists.md","python/33.adding-to-lists",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":270,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python/removing-from-lists","Removing from Lists","Learn different methods to remove and delete elements from Python lists including remove, pop, del, and clear","removing-from-lists",34,"content:python:34.removing-from-lists.md","python/34.removing-from-lists.md","python/34.removing-from-lists",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":270,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python/looping-through-lists","Looping Through Lists","Learn different ways to iterate through Python lists using for loops, while loops, enumerate, and other iteration techniques","looping-through-lists",35,"content:python:35.looping-through-lists.md","python/35.looping-through-lists.md","python/35.looping-through-lists",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":270,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python/list-shortcuts","List Shortcuts","Learn powerful Python list shortcuts including list comprehensions, slicing tricks, and built-in functions for efficient list operations","list-shortcuts",36,"content:python:36.list-shortcuts.md","python/36.list-shortcuts.md","python/36.list-shortcuts",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":270,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python/organizing-lists","Organizing Lists","Learn how to sort, reverse, and organize Python lists using built-in methods and custom sorting techniques","organizing-lists",37,"content:python:37.organizing-lists.md","python/37.organizing-lists.md","python/37.organizing-lists",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":270,"order":356,"_type":15,"_id":357,"_source":17,"_file":358,"_stem":359,"_extension":20},"/python/combining-lists","Combining Lists","Learn various techniques to combine, merge, and join Python lists including concatenation, zipping, and advanced merging strategies","combining-lists",38,"content:python:38.combining-lists.md","python/38.combining-lists.md","python/38.combining-lists",{"_path":361,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":362,"description":363,"slug":364,"parentId":270,"order":365,"_type":15,"_id":366,"_source":17,"_file":367,"_stem":368,"_extension":20},"/python/essential-list-tools","Essential List Tools","Master powerful built-in functions and advanced techniques for efficient Python list manipulation and data processing","essential-list-tools",39,"content:python:39.essential-list-tools.md","python/39.essential-list-tools.md","python/39.essential-list-tools",{"_path":370,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":371,"description":372,"slug":373,"order":374,"isParent":13,"icon":14,"_type":15,"_id":375,"_source":17,"_file":376,"_stem":377,"_extension":20,"children":378,"expanded":13},"/python/python-tuples","Python Tuples","Master Python tuples - immutable sequences perfect for storing related data that shouldn't change. Learn creation, access, and manipulation techniques.","python-tuples",40,"content:python:40.python-tuples.md","python/40.python-tuples.md","python/40.python-tuples",[379,388,397,406,415,424,433],{"_path":380,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":381,"description":382,"slug":383,"parentId":370,"order":384,"_type":15,"_id":385,"_source":17,"_file":386,"_stem":387,"_extension":20},"/python/creating-tuples","Creating Tuples","Learn different ways to create Python tuples, from basic syntax to advanced techniques. Master tuple initialization and understand when to use tuples.","creating-tuples",41,"content:python:41.creating-tuples.md","python/41.creating-tuples.md","python/41.creating-tuples",{"_path":389,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":390,"description":391,"slug":392,"parentId":370,"order":393,"_type":15,"_id":394,"_source":17,"_file":395,"_stem":396,"_extension":20},"/python/reading-tuple-data","Reading Tuple Data","Master accessing tuple elements through indexing, slicing, and searching. Learn efficient patterns for reading and working with tuple data.","reading-tuple-data",42,"content:python:42.reading-tuple-data.md","python/42.reading-tuple-data.md","python/42.reading-tuple-data",{"_path":398,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":399,"description":400,"slug":401,"parentId":370,"order":402,"_type":15,"_id":403,"_source":17,"_file":404,"_stem":405,"_extension":20},"/python/changing-tuples","Changing Tuples","Understand tuple immutability and learn techniques for working with unchangeable data. Master creating modified tuple versions and handling immutable constraints.","changing-tuples",43,"content:python:43.changing-tuples.md","python/43.changing-tuples.md","python/43.changing-tuples",{"_path":407,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":408,"description":409,"slug":410,"parentId":370,"order":411,"_type":15,"_id":412,"_source":17,"_file":413,"_stem":414,"_extension":20},"/python/tuple-unpacking","Tuple Unpacking","Master tuple unpacking for elegant variable assignment, function returns, and data extraction. Learn Python's powerful unpacking syntax and patterns.","tuple-unpacking",44,"content:python:44.tuple-unpacking.md","python/44.tuple-unpacking.md","python/44.tuple-unpacking",{"_path":416,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":417,"description":418,"slug":419,"parentId":370,"order":420,"_type":15,"_id":421,"_source":17,"_file":422,"_stem":423,"_extension":20},"/python/iterating-tuples","Iterating Tuples","Master tuple iteration techniques for processing sequence data. Learn basic loops, enumerate, nested iteration, and advanced patterns for efficient data processing.","iterating-tuples",45,"content:python:45.iterating-tuples.md","python/45.iterating-tuples.md","python/45.iterating-tuples",{"_path":425,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":426,"description":427,"slug":428,"parentId":370,"order":429,"_type":15,"_id":430,"_source":17,"_file":431,"_stem":432,"_extension":20},"/python/merging-tuples","Merging Tuples","Learn techniques for combining and merging tuples to create larger data structures. Master concatenation, joining multiple tuples, and advanced merging patterns.","merging-tuples",46,"content:python:46.merging-tuples.md","python/46.merging-tuples.md","python/46.merging-tuples",{"_path":434,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":436,"slug":437,"parentId":370,"order":438,"_type":15,"_id":439,"_source":17,"_file":440,"_stem":441,"_extension":20},"/python/tuple-operations","Tuple Operations","Master comprehensive tuple operations including built-in functions, mathematical operations, comparisons, and advanced techniques for efficient tuple manipulation.","tuple-operations",47,"content:python:47.tuple-operations.md","python/47.tuple-operations.md","python/47.tuple-operations",{"_path":443,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":444,"description":445,"slug":446,"order":447,"isParent":13,"icon":14,"_type":15,"_id":448,"_source":17,"_file":449,"_stem":450,"_extension":20,"children":451,"expanded":13},"/python/python-sets","Python Sets","Discover Python sets - unique collections that automatically eliminate duplicates and provide powerful mathematical operations for data filtering and analysis.","python-sets",48,"content:python:48.python-sets.md","python/48.python-sets.md","python/48.python-sets",[452,461,470,479,488,497,506],{"_path":453,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":454,"description":455,"slug":456,"parentId":443,"order":457,"_type":15,"_id":458,"_source":17,"_file":459,"_stem":460,"_extension":20},"/python/creating-sets","Creating Sets","Learn multiple ways to create sets in Python including literal syntax, set() function, and set comprehensions. Master set creation from different data sources.","creating-sets",49,"content:python:49.creating-sets.md","python/49.creating-sets.md","python/49.creating-sets",{"_path":462,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":463,"description":464,"slug":465,"parentId":443,"order":466,"_type":15,"_id":467,"_source":17,"_file":468,"_stem":469,"_extension":20},"/python/reading-set-data","Reading Set Data","Learn how to access and examine set data in Python including membership testing, iteration, size checking, and converting sets to other data types.","reading-set-data",50,"content:python:50.reading-set-data.md","python/50.reading-set-data.md","python/50.reading-set-data",{"_path":471,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":472,"description":473,"slug":474,"parentId":443,"order":475,"_type":15,"_id":476,"_source":17,"_file":477,"_stem":478,"_extension":20},"/python/adding-to-sets","Adding to Sets","Learn how to add elements to sets in Python using add(), update(), and union operations. Master growing sets dynamically with single items and multiple elements.","adding-to-sets",51,"content:python:51.adding-to-sets.md","python/51.adding-to-sets.md","python/51.adding-to-sets",{"_path":480,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":481,"description":482,"slug":483,"parentId":443,"order":484,"_type":15,"_id":485,"_source":17,"_file":486,"_stem":487,"_extension":20},"/python/removing-from-sets","Removing from Sets","Learn how to remove elements from Python sets using different methods like remove(), discard(), pop(), and clear()","removing-from-sets",52,"content:python:52.removing-from-sets.md","python/52.removing-from-sets.md","python/52.removing-from-sets",{"_path":489,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":490,"description":491,"slug":492,"parentId":443,"order":493,"_type":15,"_id":494,"_source":17,"_file":495,"_stem":496,"_extension":20},"/python/iterating-sets","Iterating Sets","Learn different ways to iterate through Python sets using for loops, comprehensions, and built-in functions","iterating-sets",53,"content:python:53.iterating-sets.md","python/53.iterating-sets.md","python/53.iterating-sets",{"_path":498,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":499,"description":500,"slug":501,"parentId":443,"order":502,"_type":15,"_id":503,"_source":17,"_file":504,"_stem":505,"_extension":20},"/python/combining-sets","Combining Sets","Learn how to combine Python sets using union, intersection, difference, and other set operations","combining-sets",54,"content:python:54.combining-sets.md","python/54.combining-sets.md","python/54.combining-sets",{"_path":507,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":509,"slug":510,"parentId":443,"order":511,"_type":15,"_id":512,"_source":17,"_file":513,"_stem":514,"_extension":20},"/python/set-operations","Set Operations","Learn advanced Python set operations including comparisons, subsets, supersets, and mathematical set relationships","set-operations",55,"content:python:55.set-operations.md","python/55.set-operations.md","python/55.set-operations",{"_path":516,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":517,"description":518,"slug":519,"order":520,"isParent":13,"icon":14,"_type":15,"_id":521,"_source":17,"_file":522,"_stem":523,"_extension":20,"children":524},"/python/python-dictionaries","Python Dictionaries","Learn about Python dictionaries - key-value data structures for storing and organizing related information","python-dictionaries",56,"content:python:56.python-dictionaries.md","python/56.python-dictionaries.md","python/56.python-dictionaries",[525,534,543,552,561,570,579,588,597],{"_path":526,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":527,"description":528,"slug":529,"parentId":516,"order":530,"_type":15,"_id":531,"_source":17,"_file":532,"_stem":533,"_extension":20},"/python/creating-dictionaries","Creating Dictionaries","Learn different methods to create Python dictionaries using literals, constructors, and comprehensions","creating-dictionaries",57,"content:python:57.creating-dictionaries.md","python/57.creating-dictionaries.md","python/57.creating-dictionaries",{"_path":535,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":536,"description":537,"slug":538,"parentId":516,"order":539,"_type":15,"_id":540,"_source":17,"_file":541,"_stem":542,"_extension":20},"/python/getting-dictionary-values","Getting Dictionary Values","Learn safe and efficient methods to retrieve data from Python dictionaries using various access techniques","getting-dictionary-values",58,"content:python:58.getting-dictionary-values.md","python/58.getting-dictionary-values.md","python/58.getting-dictionary-values",{"_path":544,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":545,"description":546,"slug":547,"parentId":516,"order":548,"_type":15,"_id":549,"_source":17,"_file":550,"_stem":551,"_extension":20},"/python/updating-dictionaries","Updating Dictionaries","Learn how to modify and maintain Python dictionary data using various update methods and techniques","updating-dictionaries",59,"content:python:59.updating-dictionaries.md","python/59.updating-dictionaries.md","python/59.updating-dictionaries",{"_path":553,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":554,"description":555,"slug":556,"parentId":516,"order":557,"_type":15,"_id":558,"_source":17,"_file":559,"_stem":560,"_extension":20},"/python/adding-dictionary-items","Adding Dictionary Items","Learn effective techniques for adding new items to Python dictionaries with various methods and best practices","adding-dictionary-items",60,"content:python:60.adding-dictionary-items.md","python/60.adding-dictionary-items.md","python/60.adding-dictionary-items",{"_path":562,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":563,"description":564,"slug":565,"parentId":516,"order":566,"_type":15,"_id":567,"_source":17,"_file":568,"_stem":569,"_extension":20},"/python/deleting-dictionary-items","Deleting Dictionary Items","Master safe and efficient techniques for removing items from Python dictionaries with various methods and error handling","deleting-dictionary-items",61,"content:python:61.deleting-dictionary-items.md","python/61.deleting-dictionary-items.md","python/61.deleting-dictionary-items",{"_path":571,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":572,"description":573,"slug":574,"parentId":516,"order":575,"_type":15,"_id":576,"_source":17,"_file":577,"_stem":578,"_extension":20},"/python/looping-dictionaries","Looping Dictionaries","Learn efficient techniques for iterating through Python dictionaries using keys, values, and items","looping-dictionaries",62,"content:python:62.looping-dictionaries.md","python/62.looping-dictionaries.md","python/62.looping-dictionaries",{"_path":580,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":581,"description":582,"slug":583,"parentId":516,"order":584,"_type":15,"_id":585,"_source":17,"_file":586,"_stem":587,"_extension":20},"/python/dictionary-copies","Dictionary Copies","Learn safe techniques for duplicating Python dictionaries using shallow and deep copy methods","dictionary-copies",63,"content:python:63.dictionary-copies.md","python/63.dictionary-copies.md","python/63.dictionary-copies",{"_path":589,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":590,"description":591,"slug":592,"parentId":516,"order":593,"_type":15,"_id":594,"_source":17,"_file":595,"_stem":596,"_extension":20},"/python/multi-level-dictionaries","Multi-level Dictionaries","Master working with nested Python dictionaries for complex data structures and hierarchical information","multi-level-dictionaries",64,"content:python:64.multi-level-dictionaries.md","python/64.multi-level-dictionaries.md","python/64.multi-level-dictionaries",{"_path":598,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":599,"description":600,"slug":601,"parentId":516,"order":602,"_type":15,"_id":603,"_source":17,"_file":604,"_stem":605,"_extension":20},"/python/dictionary-tools","Dictionary Tools","Explore powerful built-in functions and advanced techniques for efficient Python dictionary manipulation and analysis","dictionary-tools",65,"content:python:65.dictionary-tools.md","python/65.dictionary-tools.md","python/65.dictionary-tools",{"_path":607,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":608,"description":609,"slug":610,"order":611,"isParent":13,"icon":14,"_type":15,"_id":612,"_source":17,"_file":613,"_stem":614,"_extension":20,"children":615},"/python/python-functions","Python Functions","Learn how to create and use Python functions to organize code into reusable, modular components that make programs more efficient and maintainable","python-functions",66,"content:python:66.python-functions.md","python/66.python-functions.md","python/66.python-functions",[616,625,634,643,652,661],{"_path":617,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":618,"description":619,"slug":620,"parentId":607,"order":621,"_type":15,"_id":622,"_source":17,"_file":623,"_stem":624,"_extension":20},"/python/function-basics","Function Basics","Learn the fundamentals of creating and using Python functions to organize code into reusable, modular components","function-basics",67,"content:python:67.function-basics.md","python/67.function-basics.md","python/67.function-basics",{"_path":626,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":627,"description":628,"slug":629,"parentId":607,"order":630,"_type":15,"_id":631,"_source":17,"_file":632,"_stem":633,"_extension":20},"/python/function-parameters","Function Parameters","Master different types of Python function parameters including positional, keyword, default, and variable-length arguments","function-parameters",68,"content:python:68.function-parameters.md","python/68.function-parameters.md","python/68.function-parameters",{"_path":635,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":636,"description":637,"slug":638,"parentId":607,"order":639,"_type":15,"_id":640,"_source":17,"_file":641,"_stem":642,"_extension":20},"/python/returning-values","Returning Values","Learn different ways Python functions return data including single values, multiple values, and conditional returns","returning-values",69,"content:python:69.returning-values.md","python/69.returning-values.md","python/69.returning-values",{"_path":644,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":645,"description":646,"slug":647,"parentId":607,"order":648,"_type":15,"_id":649,"_source":17,"_file":650,"_stem":651,"_extension":20},"/python/variable-scope","Variable Scope","Understand Python variable scope including local, global, and nonlocal variables and how they affect function behavior","variable-scope",70,"content:python:70.variable-scope.md","python/70.variable-scope.md","python/70.variable-scope",{"_path":653,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":654,"description":655,"slug":656,"parentId":607,"order":657,"_type":15,"_id":658,"_source":17,"_file":659,"_stem":660,"_extension":20},"/python/anonymous-functions","Anonymous Functions","Learn to create and use Python lambda functions for concise, inline function definitions and functional programming patterns","anonymous-functions",71,"content:python:71.anonymous-functions.md","python/71.anonymous-functions.md","python/71.anonymous-functions",{"_path":662,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":663,"description":664,"slug":665,"parentId":607,"order":666,"_type":15,"_id":667,"_source":17,"_file":668,"_stem":669,"_extension":20},"/python/function-recursion","Function Recursion","Master recursive functions in Python by learning how functions can call themselves to solve complex problems with elegant, mathematical solutions","function-recursion",72,"content:python:72.function-recursion.md","python/72.function-recursion.md","python/72.function-recursion",{"_path":671,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":672,"description":673,"slug":674,"order":675,"isParent":13,"icon":14,"_type":15,"_id":676,"_source":17,"_file":677,"_stem":678,"_extension":20,"children":679},"/python/object-programming","Object Programming","Learn object-oriented programming (OOP) in Python - create classes, objects, and methods to build organized, reusable code","object-programming",73,"content:python:73.object-programming.md","python/73.object-programming.md","python/73.object-programming",[680,689,698,707,716,725],{"_path":681,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":682,"description":683,"slug":684,"parentId":671,"order":685,"_type":15,"_id":686,"_source":17,"_file":687,"_stem":688,"_extension":20},"/python/classes-and-objects","Classes and Objects","Learn to create Python classes and objects - the foundation of object-oriented programming for building reusable, organized code","classes-and-objects",74,"content:python:74.classes-and-objects.md","python/74.classes-and-objects.md","python/74.classes-and-objects",{"_path":690,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":691,"description":692,"slug":693,"parentId":671,"order":694,"_type":15,"_id":695,"_source":17,"_file":696,"_stem":697,"_extension":20},"/python/object-methods","Object Methods","Master object methods in Python - learn to define behaviors, work with parameters, and create interactive objects that respond to actions","object-methods",75,"content:python:75.object-methods.md","python/75.object-methods.md","python/75.object-methods",{"_path":699,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":700,"description":701,"slug":702,"parentId":671,"order":703,"_type":15,"_id":704,"_source":17,"_file":705,"_stem":706,"_extension":20},"/python/class-inheritance","Class Inheritance","Learn Python class inheritance - create specialized classes that build upon existing functionality while adding new features and behaviors","class-inheritance",76,"content:python:76.class-inheritance.md","python/76.class-inheritance.md","python/76.class-inheritance",{"_path":708,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":709,"description":710,"slug":711,"parentId":671,"order":712,"_type":15,"_id":713,"_source":17,"_file":714,"_stem":715,"_extension":20},"/python/method-overriding","Method Overriding","Master method overriding in Python - learn to customize inherited methods, use super(), and create specialized behaviors while maintaining inheritance benefits","method-overriding",77,"content:python:77.method-overriding.md","python/77.method-overriding.md","python/77.method-overriding",{"_path":717,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":718,"description":719,"slug":720,"parentId":671,"order":721,"_type":15,"_id":722,"_source":17,"_file":723,"_stem":724,"_extension":20},"/python/variable-visibility","Variable Visibility","Master Python variable visibility - learn public, protected, and private attributes to control access and create well-encapsulated classes","variable-visibility",78,"content:python:78.variable-visibility.md","python/78.variable-visibility.md","python/78.variable-visibility",{"_path":726,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":727,"description":728,"slug":729,"parentId":671,"order":730,"_type":15,"_id":731,"_source":17,"_file":732,"_stem":733,"_extension":20},"/python/special-methods","Special Methods","Master Python special methods (magic methods) - learn to implement __str__, __len__, __eq__ and more to make your classes work seamlessly with Python's built-in functions","special-methods",79,"content:python:79.special-methods.md","python/79.special-methods.md","python/79.special-methods",{"_path":735,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":736,"description":737,"slug":738,"order":739,"isParent":13,"icon":14,"_type":15,"_id":740,"_source":17,"_file":741,"_stem":742,"_extension":20,"children":743},"/python/advanced-concepts","Advanced Concepts","Master advanced Python programming concepts - work with dates, mathematics, JSON data, pattern matching, and more sophisticated programming techniques","advanced-concepts",80,"content:python:80.advanced-concepts.md","python/80.advanced-concepts.md","python/80.advanced-concepts",[744,753,762,771,780,789,798],{"_path":745,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":746,"description":747,"slug":748,"parentId":735,"order":749,"_type":15,"_id":750,"_source":17,"_file":751,"_stem":752,"_extension":20},"/python/working-with-dates","Working with Dates","Master Python date and time handling - work with datetime objects, format dates, calculate durations, and build time-aware applications","working-with-dates",81,"content:python:81.working-with-dates.md","python/81.working-with-dates.md","python/81.working-with-dates",{"_path":754,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":755,"description":756,"slug":757,"parentId":735,"order":758,"_type":15,"_id":759,"_source":17,"_file":760,"_stem":761,"_extension":20},"/python/mathematical-operations","Mathematical Operations","Master Python mathematical computing - use math functions, perform statistical calculations, and implement scientific computing for data analysis and problem-solving","mathematical-operations",82,"content:python:82.mathematical-operations.md","python/82.mathematical-operations.md","python/82.mathematical-operations",{"_path":763,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":764,"description":765,"slug":766,"parentId":735,"order":767,"_type":15,"_id":768,"_source":17,"_file":769,"_stem":770,"_extension":20},"/python/json-data","JSON Data","Master JSON data handling in Python - serialize and deserialize data, work with APIs, manage configuration files, and exchange data between applications","json-data",83,"content:python:83.json-data.md","python/83.json-data.md","python/83.json-data",{"_path":772,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":773,"description":774,"slug":775,"parentId":735,"order":776,"_type":15,"_id":777,"_source":17,"_file":778,"_stem":779,"_extension":20},"/python/package-management","Package Management","Master Python package management with pip and virtual environments - install libraries, manage dependencies, create isolated environments, and distribute packages professionally","package-management",85,"content:python:85.package-management.md","python/85.package-management.md","python/85.package-management",{"_path":781,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":782,"description":783,"slug":784,"parentId":735,"order":785,"_type":15,"_id":786,"_source":17,"_file":787,"_stem":788,"_extension":20},"/python/error-handling","Error Handling","Master Python error handling with try/except blocks, exception types, custom exceptions, debugging techniques, and best practices for robust application development","error-handling",86,"content:python:86.error-handling.md","python/86.error-handling.md","python/86.error-handling",{"_path":790,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":791,"description":792,"slug":793,"parentId":735,"order":794,"_type":15,"_id":795,"_source":17,"_file":796,"_stem":797,"_extension":20},"/python/getting-user-input","Getting User Input","Master user input handling in Python with input validation, data type conversion, interactive programs, and command-line interfaces for engaging user experiences","getting-user-input",87,"content:python:87.getting-user-input.md","python/87.getting-user-input.md","python/87.getting-user-input",{"_path":799,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":800,"description":801,"slug":802,"parentId":735,"order":803,"_type":15,"_id":804,"_source":17,"_file":805,"_stem":806,"_extension":20},"/python/text-formatting","Text Formatting","Master Python text formatting with f-strings, format methods, alignment, number formatting, and advanced techniques for professional, readable output","text-formatting",88,"content:python:88.text-formatting.md","python/88.text-formatting.md","python/88.text-formatting",{"_path":808,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":809,"description":810,"slug":811,"order":812,"isParent":13,"icon":14,"_type":15,"_id":813,"_source":17,"_file":814,"_stem":815,"_extension":20,"children":816},"/python/file-operations","File Operations","Master Python file handling with reading, writing, and managing files for data persistence and real-world applications","file-operations",89,"content:python:89.file-operations.md","python/89.file-operations.md","python/89.file-operations",[817,826,835,844],{"_path":818,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":819,"description":820,"slug":821,"parentId":808,"order":822,"_type":15,"_id":823,"_source":17,"_file":824,"_stem":825,"_extension":20},"/python/file-basics","File Basics","Learn fundamental Python file operations including opening files, understanding file modes, using context managers, and basic file handling concepts","file-basics",90,"content:python:90.file-basics.md","python/90.file-basics.md","python/90.file-basics",{"_path":827,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":828,"description":829,"slug":830,"parentId":808,"order":831,"_type":15,"_id":832,"_source":17,"_file":833,"_stem":834,"_extension":20},"/python/reading-files","Reading Files","Master Python file reading techniques including reading entire files, line-by-line processing, and handling different file formats for efficient data processing","reading-files",91,"content:python:91.reading-files.md","python/91.reading-files.md","python/91.reading-files",{"_path":836,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":837,"description":838,"slug":839,"parentId":808,"order":840,"_type":15,"_id":841,"_source":17,"_file":842,"_stem":843,"_extension":20},"/python/writing-files","Writing Files","Learn Python file writing techniques including creating new files, appending content, updating existing files, and saving different data formats safely","writing-files",92,"content:python:92.writing-files.md","python/92.writing-files.md","python/92.writing-files",{"_path":845,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":846,"description":847,"slug":848,"parentId":808,"order":849,"_type":15,"_id":850,"_source":17,"_file":851,"_stem":852,"_extension":20},"/python/file-management","File Management","Learn Python file management techniques including checking file properties, organizing files, directory operations, and implementing file system maintenance tasks","file-management",93,"content:python:93.file-management.md","python/93.file-management.md","python/93.file-management",{"_path":854,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":855,"description":856,"slug":857,"order":858,"isParent":13,"icon":14,"_type":15,"_id":859,"_source":17,"_file":860,"_stem":861,"_extension":20,"children":862},"/python/code-organization","Code Organization","Master Python code organization with modules, built-in libraries, and path management for creating maintainable and reusable applications","code-organization",94,"content:python:94.code-organization.md","python/94.code-organization.md","python/94.code-organization",[863,872,881],{"_path":864,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":865,"description":866,"slug":867,"parentId":854,"order":868,"_type":15,"_id":869,"_source":17,"_file":870,"_stem":871,"_extension":20},"/python/creating-modules","Creating Modules","Learn how to create custom Python modules, organize functions and classes, write reusable code components, and design effective module structures","creating-modules",95,"content:python:95.creating-modules.md","python/95.creating-modules.md","python/95.creating-modules",{"_path":873,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":874,"description":875,"slug":876,"parentId":854,"order":877,"_type":15,"_id":878,"_source":17,"_file":879,"_stem":880,"_extension":20},"/python/using-built-in-modules","Using Built-in Modules","Discover Python's extensive standard library and learn to effectively use built-in modules for common programming tasks, data processing, and system operations","using-built-in-modules",96,"content:python:96.using-built-in-modules.md","python/96.using-built-in-modules.md","python/96.using-built-in-modules",{"_path":882,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":883,"description":884,"slug":885,"parentId":854,"order":886,"_type":15,"_id":887,"_source":17,"_file":888,"_stem":889,"_extension":20},"/python/module-paths","Module Paths","Understand Python's module search system, manage import paths, work with packages, and organize larger projects with proper module path management","module-paths",97,"content:python:97.module-paths.md","python/97.module-paths.md","python/97.module-paths",{"_path":891,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":892,"description":893,"slug":894,"order":895,"isParent":13,"icon":14,"_type":15,"_id":896,"_source":17,"_file":897,"_stem":898,"_extension":20,"children":899,"expanded":13},"/python/reference-materials","Reference Materials","Comprehensive Python reference materials including reserved words, built-in functions, and operation guides for quick lookup and development support","reference-materials",98,"content:python:98.reference-materials.md","python/98.reference-materials.md","python/98.reference-materials",[900,909,918,927,936,945,953,961,970],{"_path":901,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":902,"description":903,"slug":904,"parentId":891,"order":905,"_type":15,"_id":906,"_source":17,"_file":907,"_stem":908,"_extension":20},"/python/reserved-words","Reserved Words","Complete reference of Python keywords and reserved words with descriptions, usage examples, and syntax guidelines","reserved-words",99,"content:python:99.reserved-words.md","python/99.reserved-words.md","python/99.reserved-words",{"_path":910,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":911,"description":912,"slug":913,"parentId":891,"order":914,"_type":15,"_id":915,"_source":17,"_file":916,"_stem":917,"_extension":20},"/python/built-in-functions","Built-in Functions","Comprehensive reference of Python's built-in functions with parameters, return values, and practical usage examples","built-in-functions",100,"content:python:100.built-in-functions.md","python/100.built-in-functions.md","python/100.built-in-functions",{"_path":919,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":920,"description":921,"slug":922,"parentId":891,"order":923,"_type":15,"_id":924,"_source":17,"_file":925,"_stem":926,"_extension":20},"/python/string-operations","String Operations","Complete reference of Python string methods, operations, and formatting techniques with examples and use cases","string-operations",101,"content:python:101.string-operations.md","python/101.string-operations.md","python/101.string-operations",{"_path":928,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":929,"description":930,"slug":931,"parentId":891,"order":932,"_type":15,"_id":933,"_source":17,"_file":934,"_stem":935,"_extension":20},"/python/list-operations","List Operations","Complete reference of Python list methods, operations, and manipulation techniques with examples and performance notes","list-operations",102,"content:python:102.list-operations.md","python/102.list-operations.md","python/102.list-operations",{"_path":937,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":938,"description":939,"slug":940,"parentId":891,"order":941,"_type":15,"_id":942,"_source":17,"_file":943,"_stem":944,"_extension":20},"/python/dictionary-operations","Dictionary Operations","Complete reference of Python dictionary methods, operations, and manipulation techniques with examples and use cases","dictionary-operations",103,"content:python:103.dictionary-operations.md","python/103.dictionary-operations.md","python/103.dictionary-operations",{"_path":946,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":947,"slug":948,"parentId":891,"order":949,"_type":15,"_id":950,"_source":17,"_file":951,"_stem":952,"_extension":20},"/python/tuple-methods","Complete reference of Python tuple operations, methods, and techniques with examples and use cases","tuple-methods",104,"content:python:104.tuple-methods.md","python/104.tuple-methods.md","python/104.tuple-methods",{"_path":954,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":955,"slug":956,"parentId":891,"order":957,"_type":15,"_id":958,"_source":17,"_file":959,"_stem":960,"_extension":20},"/python/set-methods","Complete reference of Python set operations, methods, and mathematical set operations with examples and use cases","set-methods",105,"content:python:105.set-methods.md","python/105.set-methods.md","python/105.set-methods",{"_path":962,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":963,"description":964,"slug":965,"parentId":891,"order":966,"_type":15,"_id":967,"_source":17,"_file":968,"_stem":969,"_extension":20},"/python/file-operations-reference","File Operations Reference","Complete reference of Python file operations, modes, methods, and file handling techniques with examples","file-operations-reference",106,"content:python:106.file-operations-reference.md","python/106.file-operations-reference.md","python/106.file-operations-reference",{"_path":971,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":972,"description":973,"slug":974,"parentId":891,"order":975,"_type":15,"_id":976,"_source":17,"_file":977,"_stem":978,"_extension":20},"/python/error-types","Error Types","Complete reference of Python exception types, error handling patterns, and debugging techniques with examples","error-types",107,"content:python:107.error-types.md","python/107.error-types.md","python/107.error-types",{"_path":980,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":981,"description":10,"slug":982,"order":983,"icon":14,"_type":15,"_id":984,"_source":17,"_file":985,"_stem":986,"_extension":20},"/python","Introduction","python-tutorial",0,"content:python:index.md","python/index.md","python/index",[506],{"_path":507,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":509,"slug":510,"parentId":443,"order":511,"body":989,"_type":15,"_id":512,"_source":17,"_file":513,"_stem":514,"_extension":20},{"type":990,"children":991,"toc":5490},"root",[992,1000,1006,1170,1177,1182,1189,1194,1399,1405,1410,1615,1621,1626,1913,1919,2007,2220,2226,2231,2547,2553,2558,2564,2569,2892,2898,2903,3272,3278,3283,3652,3658,3664,3669,4323,4329,4334,4660,4706,4711,4724,5067,5073,5438,5444,5449,5456,5462,5473,5484],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":510},[997],{"type":998,"value":999},"text","🔢 Set Operations",{"type":993,"tag":1001,"props":1002,"children":1003},"p",{},[1004],{"type":998,"value":1005},"Beyond basic combination operations, Python sets support advanced operations that help you analyze relationships between sets, perform comparisons, and work with mathematical set concepts.",{"type":993,"tag":1007,"props":1008,"children":1009},"code-try",{},[1010],{"type":993,"tag":1011,"props":1012,"children":1015},"pre",{"className":1013,"code":1014,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Basic set relationship example\nstudents_math = {'Alice', 'Bob', 'Charlie'}\nstudents_advanced = {'Alice', 'Bob'}\n\n# Check if advanced students are subset of math students\nis_subset = students_advanced.issubset(students_math)\nprint(\"Advanced students subset of math:\", is_subset)\n",[1016],{"type":993,"tag":1017,"props":1018,"children":1019},"code",{"__ignoreMap":8},[1020,1031,1081,1113,1121,1129,1146],{"type":993,"tag":1021,"props":1022,"children":1024},"span",{"class":1023,"line":12},"line",[1025],{"type":993,"tag":1021,"props":1026,"children":1028},{"style":1027},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1029],{"type":998,"value":1030},"# Basic set relationship example\n",{"type":993,"tag":1021,"props":1032,"children":1033},{"class":1023,"line":27},[1034,1040,1046,1051,1057,1062,1067,1071,1076],{"type":993,"tag":1021,"props":1035,"children":1037},{"style":1036},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1038],{"type":998,"value":1039},"students_math ",{"type":993,"tag":1021,"props":1041,"children":1043},{"style":1042},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1044],{"type":998,"value":1045},"=",{"type":993,"tag":1021,"props":1047,"children":1048},{"style":1036},[1049],{"type":998,"value":1050}," {",{"type":993,"tag":1021,"props":1052,"children":1054},{"style":1053},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1055],{"type":998,"value":1056},"'Alice'",{"type":993,"tag":1021,"props":1058,"children":1059},{"style":1036},[1060],{"type":998,"value":1061},", ",{"type":993,"tag":1021,"props":1063,"children":1064},{"style":1053},[1065],{"type":998,"value":1066},"'Bob'",{"type":993,"tag":1021,"props":1068,"children":1069},{"style":1036},[1070],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1072,"children":1073},{"style":1053},[1074],{"type":998,"value":1075},"'Charlie'",{"type":993,"tag":1021,"props":1077,"children":1078},{"style":1036},[1079],{"type":998,"value":1080},"}\n",{"type":993,"tag":1021,"props":1082,"children":1083},{"class":1023,"line":36},[1084,1089,1093,1097,1101,1105,1109],{"type":993,"tag":1021,"props":1085,"children":1086},{"style":1036},[1087],{"type":998,"value":1088},"students_advanced ",{"type":993,"tag":1021,"props":1090,"children":1091},{"style":1042},[1092],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1094,"children":1095},{"style":1036},[1096],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1098,"children":1099},{"style":1053},[1100],{"type":998,"value":1056},{"type":993,"tag":1021,"props":1102,"children":1103},{"style":1036},[1104],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1106,"children":1107},{"style":1053},[1108],{"type":998,"value":1066},{"type":993,"tag":1021,"props":1110,"children":1111},{"style":1036},[1112],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1114,"children":1115},{"class":1023,"line":45},[1116],{"type":993,"tag":1021,"props":1117,"children":1118},{"emptyLinePlaceholder":13},[1119],{"type":998,"value":1120},"\n",{"type":993,"tag":1021,"props":1122,"children":1123},{"class":1023,"line":54},[1124],{"type":993,"tag":1021,"props":1125,"children":1126},{"style":1027},[1127],{"type":998,"value":1128},"# Check if advanced students are subset of math students\n",{"type":993,"tag":1021,"props":1130,"children":1131},{"class":1023,"line":63},[1132,1137,1141],{"type":993,"tag":1021,"props":1133,"children":1134},{"style":1036},[1135],{"type":998,"value":1136},"is_subset ",{"type":993,"tag":1021,"props":1138,"children":1139},{"style":1042},[1140],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1142,"children":1143},{"style":1036},[1144],{"type":998,"value":1145}," students_advanced.issubset(students_math)\n",{"type":993,"tag":1021,"props":1147,"children":1148},{"class":1023,"line":72},[1149,1155,1160,1165],{"type":993,"tag":1021,"props":1150,"children":1152},{"style":1151},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1153],{"type":998,"value":1154},"print",{"type":993,"tag":1021,"props":1156,"children":1157},{"style":1036},[1158],{"type":998,"value":1159},"(",{"type":993,"tag":1021,"props":1161,"children":1162},{"style":1053},[1163],{"type":998,"value":1164},"\"Advanced students subset of math:\"",{"type":993,"tag":1021,"props":1166,"children":1167},{"style":1036},[1168],{"type":998,"value":1169},", is_subset)\n",{"type":993,"tag":1171,"props":1172,"children":1174},"h2",{"id":1173},"set-comparison-operations",[1175],{"type":998,"value":1176},"🎯 Set Comparison Operations",{"type":993,"tag":1001,"props":1178,"children":1179},{},[1180],{"type":998,"value":1181},"Set comparison operations establish mathematical relationships between collections. These relationships are fundamental to data analysis and logical operations.",{"type":993,"tag":1183,"props":1184,"children":1186},"h3",{"id":1185},"subset-operations",[1187],{"type":998,"value":1188},"Subset Operations",{"type":993,"tag":1001,"props":1190,"children":1191},{},[1192],{"type":998,"value":1193},"Subset relationships determine if one collection is entirely contained within another. This concept is crucial for hierarchical data validation.",{"type":993,"tag":1007,"props":1195,"children":1196},{},[1197],{"type":993,"tag":1011,"props":1198,"children":1200},{"className":1013,"code":1199,"language":6,"meta":8,"style":8},"basic_skills = {'reading', 'writing'}\nall_skills = {'reading', 'writing', 'math', 'science'}\n\n# Check if basic_skills is subset of all_skills\nprint(\"Basic is subset:\", basic_skills.issubset(all_skills))\nprint(\"Using \u003C=:\", basic_skills \u003C= all_skills)\n\n# Proper subset (subset but not equal)\nprint(\"Basic is proper subset:\", basic_skills \u003C all_skills)\n",[1201],{"type":993,"tag":1017,"props":1202,"children":1203},{"__ignoreMap":8},[1204,1238,1288,1295,1303,1324,1355,1362,1370],{"type":993,"tag":1021,"props":1205,"children":1206},{"class":1023,"line":12},[1207,1212,1216,1220,1225,1229,1234],{"type":993,"tag":1021,"props":1208,"children":1209},{"style":1036},[1210],{"type":998,"value":1211},"basic_skills ",{"type":993,"tag":1021,"props":1213,"children":1214},{"style":1042},[1215],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1217,"children":1218},{"style":1036},[1219],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1221,"children":1222},{"style":1053},[1223],{"type":998,"value":1224},"'reading'",{"type":993,"tag":1021,"props":1226,"children":1227},{"style":1036},[1228],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1230,"children":1231},{"style":1053},[1232],{"type":998,"value":1233},"'writing'",{"type":993,"tag":1021,"props":1235,"children":1236},{"style":1036},[1237],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1239,"children":1240},{"class":1023,"line":27},[1241,1246,1250,1254,1258,1262,1266,1270,1275,1279,1284],{"type":993,"tag":1021,"props":1242,"children":1243},{"style":1036},[1244],{"type":998,"value":1245},"all_skills ",{"type":993,"tag":1021,"props":1247,"children":1248},{"style":1042},[1249],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1251,"children":1252},{"style":1036},[1253],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1255,"children":1256},{"style":1053},[1257],{"type":998,"value":1224},{"type":993,"tag":1021,"props":1259,"children":1260},{"style":1036},[1261],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1263,"children":1264},{"style":1053},[1265],{"type":998,"value":1233},{"type":993,"tag":1021,"props":1267,"children":1268},{"style":1036},[1269],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1271,"children":1272},{"style":1053},[1273],{"type":998,"value":1274},"'math'",{"type":993,"tag":1021,"props":1276,"children":1277},{"style":1036},[1278],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1280,"children":1281},{"style":1053},[1282],{"type":998,"value":1283},"'science'",{"type":993,"tag":1021,"props":1285,"children":1286},{"style":1036},[1287],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1289,"children":1290},{"class":1023,"line":36},[1291],{"type":993,"tag":1021,"props":1292,"children":1293},{"emptyLinePlaceholder":13},[1294],{"type":998,"value":1120},{"type":993,"tag":1021,"props":1296,"children":1297},{"class":1023,"line":45},[1298],{"type":993,"tag":1021,"props":1299,"children":1300},{"style":1027},[1301],{"type":998,"value":1302},"# Check if basic_skills is subset of all_skills\n",{"type":993,"tag":1021,"props":1304,"children":1305},{"class":1023,"line":54},[1306,1310,1314,1319],{"type":993,"tag":1021,"props":1307,"children":1308},{"style":1151},[1309],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1311,"children":1312},{"style":1036},[1313],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1315,"children":1316},{"style":1053},[1317],{"type":998,"value":1318},"\"Basic is subset:\"",{"type":993,"tag":1021,"props":1320,"children":1321},{"style":1036},[1322],{"type":998,"value":1323},", basic_skills.issubset(all_skills))\n",{"type":993,"tag":1021,"props":1325,"children":1326},{"class":1023,"line":63},[1327,1331,1335,1340,1345,1350],{"type":993,"tag":1021,"props":1328,"children":1329},{"style":1151},[1330],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1332,"children":1333},{"style":1036},[1334],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1336,"children":1337},{"style":1053},[1338],{"type":998,"value":1339},"\"Using \u003C=:\"",{"type":993,"tag":1021,"props":1341,"children":1342},{"style":1036},[1343],{"type":998,"value":1344},", basic_skills ",{"type":993,"tag":1021,"props":1346,"children":1347},{"style":1042},[1348],{"type":998,"value":1349},"\u003C=",{"type":993,"tag":1021,"props":1351,"children":1352},{"style":1036},[1353],{"type":998,"value":1354}," all_skills)\n",{"type":993,"tag":1021,"props":1356,"children":1357},{"class":1023,"line":72},[1358],{"type":993,"tag":1021,"props":1359,"children":1360},{"emptyLinePlaceholder":13},[1361],{"type":998,"value":1120},{"type":993,"tag":1021,"props":1363,"children":1364},{"class":1023,"line":81},[1365],{"type":993,"tag":1021,"props":1366,"children":1367},{"style":1027},[1368],{"type":998,"value":1369},"# Proper subset (subset but not equal)\n",{"type":993,"tag":1021,"props":1371,"children":1372},{"class":1023,"line":91},[1373,1377,1381,1386,1390,1395],{"type":993,"tag":1021,"props":1374,"children":1375},{"style":1151},[1376],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1378,"children":1379},{"style":1036},[1380],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1382,"children":1383},{"style":1053},[1384],{"type":998,"value":1385},"\"Basic is proper subset:\"",{"type":993,"tag":1021,"props":1387,"children":1388},{"style":1036},[1389],{"type":998,"value":1344},{"type":993,"tag":1021,"props":1391,"children":1392},{"style":1042},[1393],{"type":998,"value":1394},"\u003C",{"type":993,"tag":1021,"props":1396,"children":1397},{"style":1036},[1398],{"type":998,"value":1354},{"type":993,"tag":1183,"props":1400,"children":1402},{"id":1401},"superset-operations",[1403],{"type":998,"value":1404},"Superset Operations",{"type":993,"tag":1001,"props":1406,"children":1407},{},[1408],{"type":998,"value":1409},"Superset relationships verify if one collection contains all elements of another plus potentially more. This validates completeness and coverage.",{"type":993,"tag":1007,"props":1411,"children":1412},{},[1413],{"type":993,"tag":1011,"props":1414,"children":1416},{"className":1013,"code":1415,"language":6,"meta":8,"style":8},"admin_permissions = {'read', 'write', 'delete', 'admin'}\nuser_permissions = {'read', 'write'}\n\n# Check if admin is superset of user permissions\nprint(\"Admin is superset:\", admin_permissions.issuperset(user_permissions))\nprint(\"Using >=:\", admin_permissions >= user_permissions)\n\n# Proper superset (superset but not equal)\nprint(\"Admin is proper superset:\", admin_permissions > user_permissions)\n",[1417],{"type":993,"tag":1017,"props":1418,"children":1419},{"__ignoreMap":8},[1420,1472,1504,1511,1519,1540,1571,1578,1586],{"type":993,"tag":1021,"props":1421,"children":1422},{"class":1023,"line":12},[1423,1428,1432,1436,1441,1445,1450,1454,1459,1463,1468],{"type":993,"tag":1021,"props":1424,"children":1425},{"style":1036},[1426],{"type":998,"value":1427},"admin_permissions ",{"type":993,"tag":1021,"props":1429,"children":1430},{"style":1042},[1431],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1433,"children":1434},{"style":1036},[1435],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1437,"children":1438},{"style":1053},[1439],{"type":998,"value":1440},"'read'",{"type":993,"tag":1021,"props":1442,"children":1443},{"style":1036},[1444],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1446,"children":1447},{"style":1053},[1448],{"type":998,"value":1449},"'write'",{"type":993,"tag":1021,"props":1451,"children":1452},{"style":1036},[1453],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1455,"children":1456},{"style":1053},[1457],{"type":998,"value":1458},"'delete'",{"type":993,"tag":1021,"props":1460,"children":1461},{"style":1036},[1462],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1464,"children":1465},{"style":1053},[1466],{"type":998,"value":1467},"'admin'",{"type":993,"tag":1021,"props":1469,"children":1470},{"style":1036},[1471],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1473,"children":1474},{"class":1023,"line":27},[1475,1480,1484,1488,1492,1496,1500],{"type":993,"tag":1021,"props":1476,"children":1477},{"style":1036},[1478],{"type":998,"value":1479},"user_permissions ",{"type":993,"tag":1021,"props":1481,"children":1482},{"style":1042},[1483],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1485,"children":1486},{"style":1036},[1487],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1489,"children":1490},{"style":1053},[1491],{"type":998,"value":1440},{"type":993,"tag":1021,"props":1493,"children":1494},{"style":1036},[1495],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1497,"children":1498},{"style":1053},[1499],{"type":998,"value":1449},{"type":993,"tag":1021,"props":1501,"children":1502},{"style":1036},[1503],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1505,"children":1506},{"class":1023,"line":36},[1507],{"type":993,"tag":1021,"props":1508,"children":1509},{"emptyLinePlaceholder":13},[1510],{"type":998,"value":1120},{"type":993,"tag":1021,"props":1512,"children":1513},{"class":1023,"line":45},[1514],{"type":993,"tag":1021,"props":1515,"children":1516},{"style":1027},[1517],{"type":998,"value":1518},"# Check if admin is superset of user permissions\n",{"type":993,"tag":1021,"props":1520,"children":1521},{"class":1023,"line":54},[1522,1526,1530,1535],{"type":993,"tag":1021,"props":1523,"children":1524},{"style":1151},[1525],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1527,"children":1528},{"style":1036},[1529],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1531,"children":1532},{"style":1053},[1533],{"type":998,"value":1534},"\"Admin is superset:\"",{"type":993,"tag":1021,"props":1536,"children":1537},{"style":1036},[1538],{"type":998,"value":1539},", admin_permissions.issuperset(user_permissions))\n",{"type":993,"tag":1021,"props":1541,"children":1542},{"class":1023,"line":63},[1543,1547,1551,1556,1561,1566],{"type":993,"tag":1021,"props":1544,"children":1545},{"style":1151},[1546],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1548,"children":1549},{"style":1036},[1550],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1552,"children":1553},{"style":1053},[1554],{"type":998,"value":1555},"\"Using >=:\"",{"type":993,"tag":1021,"props":1557,"children":1558},{"style":1036},[1559],{"type":998,"value":1560},", admin_permissions ",{"type":993,"tag":1021,"props":1562,"children":1563},{"style":1042},[1564],{"type":998,"value":1565},">=",{"type":993,"tag":1021,"props":1567,"children":1568},{"style":1036},[1569],{"type":998,"value":1570}," user_permissions)\n",{"type":993,"tag":1021,"props":1572,"children":1573},{"class":1023,"line":72},[1574],{"type":993,"tag":1021,"props":1575,"children":1576},{"emptyLinePlaceholder":13},[1577],{"type":998,"value":1120},{"type":993,"tag":1021,"props":1579,"children":1580},{"class":1023,"line":81},[1581],{"type":993,"tag":1021,"props":1582,"children":1583},{"style":1027},[1584],{"type":998,"value":1585},"# Proper superset (superset but not equal)\n",{"type":993,"tag":1021,"props":1587,"children":1588},{"class":1023,"line":91},[1589,1593,1597,1602,1606,1611],{"type":993,"tag":1021,"props":1590,"children":1591},{"style":1151},[1592],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1594,"children":1595},{"style":1036},[1596],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1598,"children":1599},{"style":1053},[1600],{"type":998,"value":1601},"\"Admin is proper superset:\"",{"type":993,"tag":1021,"props":1603,"children":1604},{"style":1036},[1605],{"type":998,"value":1560},{"type":993,"tag":1021,"props":1607,"children":1608},{"style":1042},[1609],{"type":998,"value":1610},">",{"type":993,"tag":1021,"props":1612,"children":1613},{"style":1036},[1614],{"type":998,"value":1570},{"type":993,"tag":1183,"props":1616,"children":1618},{"id":1617},"disjoint-sets",[1619],{"type":998,"value":1620},"Disjoint Sets",{"type":993,"tag":1001,"props":1622,"children":1623},{},[1624],{"type":998,"value":1625},"Disjoint sets share no common elements, representing completely separate categories or mutually exclusive conditions.",{"type":993,"tag":1007,"props":1627,"children":1628},{},[1629],{"type":993,"tag":1011,"props":1630,"children":1632},{"className":1013,"code":1631,"language":6,"meta":8,"style":8},"vowels = {'a', 'e', 'i', 'o', 'u'}\nconsonants = {'b', 'c', 'd', 'f', 'g'}\n\n# Check if sets have no common elements\nprint(\"Vowels and consonants disjoint:\", vowels.isdisjoint(consonants))\n\n# This would be False\nnumbers = {1, 2, 3}\nmixed = {3, 'a', 'b'}\nprint(\"Numbers and mixed disjoint:\", numbers.isdisjoint(mixed))\n",[1633],{"type":993,"tag":1017,"props":1634,"children":1635},{"__ignoreMap":8},[1636,1697,1758,1765,1773,1794,1801,1809,1852,1892],{"type":993,"tag":1021,"props":1637,"children":1638},{"class":1023,"line":12},[1639,1644,1648,1652,1657,1661,1666,1670,1675,1679,1684,1688,1693],{"type":993,"tag":1021,"props":1640,"children":1641},{"style":1036},[1642],{"type":998,"value":1643},"vowels ",{"type":993,"tag":1021,"props":1645,"children":1646},{"style":1042},[1647],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1649,"children":1650},{"style":1036},[1651],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1653,"children":1654},{"style":1053},[1655],{"type":998,"value":1656},"'a'",{"type":993,"tag":1021,"props":1658,"children":1659},{"style":1036},[1660],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1662,"children":1663},{"style":1053},[1664],{"type":998,"value":1665},"'e'",{"type":993,"tag":1021,"props":1667,"children":1668},{"style":1036},[1669],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1671,"children":1672},{"style":1053},[1673],{"type":998,"value":1674},"'i'",{"type":993,"tag":1021,"props":1676,"children":1677},{"style":1036},[1678],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1680,"children":1681},{"style":1053},[1682],{"type":998,"value":1683},"'o'",{"type":993,"tag":1021,"props":1685,"children":1686},{"style":1036},[1687],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1689,"children":1690},{"style":1053},[1691],{"type":998,"value":1692},"'u'",{"type":993,"tag":1021,"props":1694,"children":1695},{"style":1036},[1696],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1698,"children":1699},{"class":1023,"line":27},[1700,1705,1709,1713,1718,1722,1727,1731,1736,1740,1745,1749,1754],{"type":993,"tag":1021,"props":1701,"children":1702},{"style":1036},[1703],{"type":998,"value":1704},"consonants ",{"type":993,"tag":1021,"props":1706,"children":1707},{"style":1042},[1708],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1710,"children":1711},{"style":1036},[1712],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1714,"children":1715},{"style":1053},[1716],{"type":998,"value":1717},"'b'",{"type":993,"tag":1021,"props":1719,"children":1720},{"style":1036},[1721],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1723,"children":1724},{"style":1053},[1725],{"type":998,"value":1726},"'c'",{"type":993,"tag":1021,"props":1728,"children":1729},{"style":1036},[1730],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1732,"children":1733},{"style":1053},[1734],{"type":998,"value":1735},"'d'",{"type":993,"tag":1021,"props":1737,"children":1738},{"style":1036},[1739],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1741,"children":1742},{"style":1053},[1743],{"type":998,"value":1744},"'f'",{"type":993,"tag":1021,"props":1746,"children":1747},{"style":1036},[1748],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1750,"children":1751},{"style":1053},[1752],{"type":998,"value":1753},"'g'",{"type":993,"tag":1021,"props":1755,"children":1756},{"style":1036},[1757],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1759,"children":1760},{"class":1023,"line":36},[1761],{"type":993,"tag":1021,"props":1762,"children":1763},{"emptyLinePlaceholder":13},[1764],{"type":998,"value":1120},{"type":993,"tag":1021,"props":1766,"children":1767},{"class":1023,"line":45},[1768],{"type":993,"tag":1021,"props":1769,"children":1770},{"style":1027},[1771],{"type":998,"value":1772},"# Check if sets have no common elements\n",{"type":993,"tag":1021,"props":1774,"children":1775},{"class":1023,"line":54},[1776,1780,1784,1789],{"type":993,"tag":1021,"props":1777,"children":1778},{"style":1151},[1779],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1781,"children":1782},{"style":1036},[1783],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1785,"children":1786},{"style":1053},[1787],{"type":998,"value":1788},"\"Vowels and consonants disjoint:\"",{"type":993,"tag":1021,"props":1790,"children":1791},{"style":1036},[1792],{"type":998,"value":1793},", vowels.isdisjoint(consonants))\n",{"type":993,"tag":1021,"props":1795,"children":1796},{"class":1023,"line":63},[1797],{"type":993,"tag":1021,"props":1798,"children":1799},{"emptyLinePlaceholder":13},[1800],{"type":998,"value":1120},{"type":993,"tag":1021,"props":1802,"children":1803},{"class":1023,"line":72},[1804],{"type":993,"tag":1021,"props":1805,"children":1806},{"style":1027},[1807],{"type":998,"value":1808},"# This would be False\n",{"type":993,"tag":1021,"props":1810,"children":1811},{"class":1023,"line":81},[1812,1817,1821,1825,1830,1834,1839,1843,1848],{"type":993,"tag":1021,"props":1813,"children":1814},{"style":1036},[1815],{"type":998,"value":1816},"numbers ",{"type":993,"tag":1021,"props":1818,"children":1819},{"style":1042},[1820],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1822,"children":1823},{"style":1036},[1824],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1826,"children":1827},{"style":1151},[1828],{"type":998,"value":1829},"1",{"type":993,"tag":1021,"props":1831,"children":1832},{"style":1036},[1833],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1835,"children":1836},{"style":1151},[1837],{"type":998,"value":1838},"2",{"type":993,"tag":1021,"props":1840,"children":1841},{"style":1036},[1842],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1844,"children":1845},{"style":1151},[1846],{"type":998,"value":1847},"3",{"type":993,"tag":1021,"props":1849,"children":1850},{"style":1036},[1851],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1853,"children":1854},{"class":1023,"line":91},[1855,1860,1864,1868,1872,1876,1880,1884,1888],{"type":993,"tag":1021,"props":1856,"children":1857},{"style":1036},[1858],{"type":998,"value":1859},"mixed ",{"type":993,"tag":1021,"props":1861,"children":1862},{"style":1042},[1863],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1865,"children":1866},{"style":1036},[1867],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1869,"children":1870},{"style":1151},[1871],{"type":998,"value":1847},{"type":993,"tag":1021,"props":1873,"children":1874},{"style":1036},[1875],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1877,"children":1878},{"style":1053},[1879],{"type":998,"value":1656},{"type":993,"tag":1021,"props":1881,"children":1882},{"style":1036},[1883],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1885,"children":1886},{"style":1053},[1887],{"type":998,"value":1717},{"type":993,"tag":1021,"props":1889,"children":1890},{"style":1036},[1891],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1893,"children":1894},{"class":1023,"line":100},[1895,1899,1903,1908],{"type":993,"tag":1021,"props":1896,"children":1897},{"style":1151},[1898],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1900,"children":1901},{"style":1036},[1902],{"type":998,"value":1159},{"type":993,"tag":1021,"props":1904,"children":1905},{"style":1053},[1906],{"type":998,"value":1907},"\"Numbers and mixed disjoint:\"",{"type":993,"tag":1021,"props":1909,"children":1910},{"style":1036},[1911],{"type":998,"value":1912},", numbers.isdisjoint(mixed))\n",{"type":993,"tag":1171,"props":1914,"children":1916},{"id":1915},"set-comparison-methods",[1917],{"type":998,"value":1918},"⚡ Set Comparison Methods",{"type":993,"tag":1920,"props":1921,"children":1925},"info-box",{"emoji":1922,"title":1923,"type":1924},"📊","Comparison Methods","info",[1926,1935,1955,1963,1981,1989],{"type":993,"tag":1001,"props":1927,"children":1928},{},[1929],{"type":993,"tag":1930,"props":1931,"children":1932},"strong",{},[1933],{"type":998,"value":1934},"Mathematical Relations:",{"type":993,"tag":1936,"props":1937,"children":1938},"ul",{},[1939,1945,1950],{"type":993,"tag":1940,"props":1941,"children":1942},"li",{},[1943],{"type":998,"value":1944},"Subset: All elements of set1 are in set2",{"type":993,"tag":1940,"props":1946,"children":1947},{},[1948],{"type":998,"value":1949},"Superset: Set1 contains all elements of set2",{"type":993,"tag":1940,"props":1951,"children":1952},{},[1953],{"type":998,"value":1954},"Disjoint: No shared elements between sets",{"type":993,"tag":1001,"props":1956,"children":1957},{},[1958],{"type":993,"tag":1930,"props":1959,"children":1960},{},[1961],{"type":998,"value":1962},"Performance:",{"type":993,"tag":1936,"props":1964,"children":1965},{},[1966,1971,1976],{"type":993,"tag":1940,"props":1967,"children":1968},{},[1969],{"type":998,"value":1970},"All operations are O(n) where n is size of smaller set",{"type":993,"tag":1940,"props":1972,"children":1973},{},[1974],{"type":998,"value":1975},"Faster than manual element checking",{"type":993,"tag":1940,"props":1977,"children":1978},{},[1979],{"type":998,"value":1980},"Optimized for large datasets",{"type":993,"tag":1001,"props":1982,"children":1983},{},[1984],{"type":993,"tag":1930,"props":1985,"children":1986},{},[1987],{"type":998,"value":1988},"Common Use Cases:",{"type":993,"tag":1936,"props":1990,"children":1991},{},[1992,1997,2002],{"type":993,"tag":1940,"props":1993,"children":1994},{},[1995],{"type":998,"value":1996},"Permission validation",{"type":993,"tag":1940,"props":1998,"children":1999},{},[2000],{"type":998,"value":2001},"Data filtering and validation",{"type":993,"tag":1940,"props":2003,"children":2004},{},[2005],{"type":998,"value":2006},"Mathematical set theory applications",{"type":993,"tag":2008,"props":2009,"children":2010},"table",{},[2011,2040],{"type":993,"tag":2012,"props":2013,"children":2014},"thead",{},[2015],{"type":993,"tag":2016,"props":2017,"children":2018},"tr",{},[2019,2025,2030,2035],{"type":993,"tag":2020,"props":2021,"children":2022},"th",{},[2023],{"type":998,"value":2024},"Method",{"type":993,"tag":2020,"props":2026,"children":2027},{},[2028],{"type":998,"value":2029},"Operator",{"type":993,"tag":2020,"props":2031,"children":2032},{},[2033],{"type":998,"value":2034},"Description",{"type":993,"tag":2020,"props":2036,"children":2037},{},[2038],{"type":998,"value":2039},"Example",{"type":993,"tag":2041,"props":2042,"children":2043},"tbody",{},[2044,2082,2117,2153,2188],{"type":993,"tag":2016,"props":2045,"children":2046},{},[2047,2057,2066,2071],{"type":993,"tag":2048,"props":2049,"children":2050},"td",{},[2051],{"type":993,"tag":1017,"props":2052,"children":2054},{"className":2053},[],[2055],{"type":998,"value":2056},"set1.issubset(set2)",{"type":993,"tag":2048,"props":2058,"children":2059},{},[2060],{"type":993,"tag":1017,"props":2061,"children":2063},{"className":2062},[],[2064],{"type":998,"value":2065},"set1 \u003C= set2",{"type":993,"tag":2048,"props":2067,"children":2068},{},[2069],{"type":998,"value":2070},"All elements of set1 are in set2",{"type":993,"tag":2048,"props":2072,"children":2073},{},[2074,2080],{"type":993,"tag":1017,"props":2075,"children":2077},{"className":2076},[],[2078],{"type":998,"value":2079},"{1,2} \u003C= {1,2,3}",{"type":998,"value":2081}," → True",{"type":993,"tag":2016,"props":2083,"children":2084},{},[2085,2094,2102,2107],{"type":993,"tag":2048,"props":2086,"children":2087},{},[2088],{"type":993,"tag":1017,"props":2089,"children":2091},{"className":2090},[],[2092],{"type":998,"value":2093},"set1 \u003C set2",{"type":993,"tag":2048,"props":2095,"children":2096},{},[2097],{"type":993,"tag":1017,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":998,"value":2093},{"type":993,"tag":2048,"props":2103,"children":2104},{},[2105],{"type":998,"value":2106},"Proper subset (subset but not equal)",{"type":993,"tag":2048,"props":2108,"children":2109},{},[2110,2116],{"type":993,"tag":1017,"props":2111,"children":2113},{"className":2112},[],[2114],{"type":998,"value":2115},"{1,2} \u003C {1,2,3}",{"type":998,"value":2081},{"type":993,"tag":2016,"props":2118,"children":2119},{},[2120,2129,2138,2143],{"type":993,"tag":2048,"props":2121,"children":2122},{},[2123],{"type":993,"tag":1017,"props":2124,"children":2126},{"className":2125},[],[2127],{"type":998,"value":2128},"set1.issuperset(set2)",{"type":993,"tag":2048,"props":2130,"children":2131},{},[2132],{"type":993,"tag":1017,"props":2133,"children":2135},{"className":2134},[],[2136],{"type":998,"value":2137},"set1 >= set2",{"type":993,"tag":2048,"props":2139,"children":2140},{},[2141],{"type":998,"value":2142},"Set1 contains all elements of set2",{"type":993,"tag":2048,"props":2144,"children":2145},{},[2146,2152],{"type":993,"tag":1017,"props":2147,"children":2149},{"className":2148},[],[2150],{"type":998,"value":2151},"{1,2,3} >= {1,2}",{"type":998,"value":2081},{"type":993,"tag":2016,"props":2154,"children":2155},{},[2156,2165,2173,2178],{"type":993,"tag":2048,"props":2157,"children":2158},{},[2159],{"type":993,"tag":1017,"props":2160,"children":2162},{"className":2161},[],[2163],{"type":998,"value":2164},"set1 > set2",{"type":993,"tag":2048,"props":2166,"children":2167},{},[2168],{"type":993,"tag":1017,"props":2169,"children":2171},{"className":2170},[],[2172],{"type":998,"value":2164},{"type":993,"tag":2048,"props":2174,"children":2175},{},[2176],{"type":998,"value":2177},"Proper superset",{"type":993,"tag":2048,"props":2179,"children":2180},{},[2181,2187],{"type":993,"tag":1017,"props":2182,"children":2184},{"className":2183},[],[2185],{"type":998,"value":2186},"{1,2,3} > {1,2}",{"type":998,"value":2081},{"type":993,"tag":2016,"props":2189,"children":2190},{},[2191,2200,2205,2210],{"type":993,"tag":2048,"props":2192,"children":2193},{},[2194],{"type":993,"tag":1017,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":998,"value":2199},"set1.isdisjoint(set2)",{"type":993,"tag":2048,"props":2201,"children":2202},{},[2203],{"type":998,"value":2204},"N/A",{"type":993,"tag":2048,"props":2206,"children":2207},{},[2208],{"type":998,"value":2209},"No common elements",{"type":993,"tag":2048,"props":2211,"children":2212},{},[2213,2219],{"type":993,"tag":1017,"props":2214,"children":2216},{"className":2215},[],[2217],{"type":998,"value":2218},"{1,2}.isdisjoint({3,4})",{"type":998,"value":2081},{"type":993,"tag":1171,"props":2221,"children":2223},{"id":2222},"equality-and-inequality",[2224],{"type":998,"value":2225},"🚀 Equality and Inequality",{"type":993,"tag":1001,"props":2227,"children":2228},{},[2229],{"type":998,"value":2230},"Set equality ignores order and duplicates, focusing purely on element membership. This mathematical approach simplifies collection comparison.",{"type":993,"tag":1007,"props":2232,"children":2233},{},[2234],{"type":993,"tag":1011,"props":2235,"children":2237},{"className":1013,"code":2236,"language":6,"meta":8,"style":8},"set1 = {1, 2, 3}\nset2 = {3, 2, 1}  # Different order\nset3 = {1, 2, 3, 3}  # Duplicate elements\n\nprint(\"set1 == set2:\", set1 == set2)  # True\nprint(\"set1 == set3:\", set1 == set3)  # True (duplicates ignored)\n\n# Inequality\nset4 = {1, 2, 4}\nprint(\"set1 != set4:\", set1 != set4)  # True\n",[2238],{"type":993,"tag":1017,"props":2239,"children":2240},{"__ignoreMap":8},[2241,2281,2327,2380,2387,2423,2457,2464,2472,2513],{"type":993,"tag":1021,"props":2242,"children":2243},{"class":1023,"line":12},[2244,2249,2253,2257,2261,2265,2269,2273,2277],{"type":993,"tag":1021,"props":2245,"children":2246},{"style":1036},[2247],{"type":998,"value":2248},"set1 ",{"type":993,"tag":1021,"props":2250,"children":2251},{"style":1042},[2252],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2254,"children":2255},{"style":1036},[2256],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2258,"children":2259},{"style":1151},[2260],{"type":998,"value":1829},{"type":993,"tag":1021,"props":2262,"children":2263},{"style":1036},[2264],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2266,"children":2267},{"style":1151},[2268],{"type":998,"value":1838},{"type":993,"tag":1021,"props":2270,"children":2271},{"style":1036},[2272],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2274,"children":2275},{"style":1151},[2276],{"type":998,"value":1847},{"type":993,"tag":1021,"props":2278,"children":2279},{"style":1036},[2280],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2282,"children":2283},{"class":1023,"line":27},[2284,2289,2293,2297,2301,2305,2309,2313,2317,2322],{"type":993,"tag":1021,"props":2285,"children":2286},{"style":1036},[2287],{"type":998,"value":2288},"set2 ",{"type":993,"tag":1021,"props":2290,"children":2291},{"style":1042},[2292],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2294,"children":2295},{"style":1036},[2296],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2298,"children":2299},{"style":1151},[2300],{"type":998,"value":1847},{"type":993,"tag":1021,"props":2302,"children":2303},{"style":1036},[2304],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2306,"children":2307},{"style":1151},[2308],{"type":998,"value":1838},{"type":993,"tag":1021,"props":2310,"children":2311},{"style":1036},[2312],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2314,"children":2315},{"style":1151},[2316],{"type":998,"value":1829},{"type":993,"tag":1021,"props":2318,"children":2319},{"style":1036},[2320],{"type":998,"value":2321},"}  ",{"type":993,"tag":1021,"props":2323,"children":2324},{"style":1027},[2325],{"type":998,"value":2326},"# Different order\n",{"type":993,"tag":1021,"props":2328,"children":2329},{"class":1023,"line":36},[2330,2335,2339,2343,2347,2351,2355,2359,2363,2367,2371,2375],{"type":993,"tag":1021,"props":2331,"children":2332},{"style":1036},[2333],{"type":998,"value":2334},"set3 ",{"type":993,"tag":1021,"props":2336,"children":2337},{"style":1042},[2338],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2340,"children":2341},{"style":1036},[2342],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2344,"children":2345},{"style":1151},[2346],{"type":998,"value":1829},{"type":993,"tag":1021,"props":2348,"children":2349},{"style":1036},[2350],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2352,"children":2353},{"style":1151},[2354],{"type":998,"value":1838},{"type":993,"tag":1021,"props":2356,"children":2357},{"style":1036},[2358],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2360,"children":2361},{"style":1151},[2362],{"type":998,"value":1847},{"type":993,"tag":1021,"props":2364,"children":2365},{"style":1036},[2366],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2368,"children":2369},{"style":1151},[2370],{"type":998,"value":1847},{"type":993,"tag":1021,"props":2372,"children":2373},{"style":1036},[2374],{"type":998,"value":2321},{"type":993,"tag":1021,"props":2376,"children":2377},{"style":1027},[2378],{"type":998,"value":2379},"# Duplicate elements\n",{"type":993,"tag":1021,"props":2381,"children":2382},{"class":1023,"line":45},[2383],{"type":993,"tag":1021,"props":2384,"children":2385},{"emptyLinePlaceholder":13},[2386],{"type":998,"value":1120},{"type":993,"tag":1021,"props":2388,"children":2389},{"class":1023,"line":54},[2390,2394,2398,2403,2408,2413,2418],{"type":993,"tag":1021,"props":2391,"children":2392},{"style":1151},[2393],{"type":998,"value":1154},{"type":993,"tag":1021,"props":2395,"children":2396},{"style":1036},[2397],{"type":998,"value":1159},{"type":993,"tag":1021,"props":2399,"children":2400},{"style":1053},[2401],{"type":998,"value":2402},"\"set1 == set2:\"",{"type":993,"tag":1021,"props":2404,"children":2405},{"style":1036},[2406],{"type":998,"value":2407},", set1 ",{"type":993,"tag":1021,"props":2409,"children":2410},{"style":1042},[2411],{"type":998,"value":2412},"==",{"type":993,"tag":1021,"props":2414,"children":2415},{"style":1036},[2416],{"type":998,"value":2417}," set2)  ",{"type":993,"tag":1021,"props":2419,"children":2420},{"style":1027},[2421],{"type":998,"value":2422},"# True\n",{"type":993,"tag":1021,"props":2424,"children":2425},{"class":1023,"line":63},[2426,2430,2434,2439,2443,2447,2452],{"type":993,"tag":1021,"props":2427,"children":2428},{"style":1151},[2429],{"type":998,"value":1154},{"type":993,"tag":1021,"props":2431,"children":2432},{"style":1036},[2433],{"type":998,"value":1159},{"type":993,"tag":1021,"props":2435,"children":2436},{"style":1053},[2437],{"type":998,"value":2438},"\"set1 == set3:\"",{"type":993,"tag":1021,"props":2440,"children":2441},{"style":1036},[2442],{"type":998,"value":2407},{"type":993,"tag":1021,"props":2444,"children":2445},{"style":1042},[2446],{"type":998,"value":2412},{"type":993,"tag":1021,"props":2448,"children":2449},{"style":1036},[2450],{"type":998,"value":2451}," set3)  ",{"type":993,"tag":1021,"props":2453,"children":2454},{"style":1027},[2455],{"type":998,"value":2456},"# True (duplicates ignored)\n",{"type":993,"tag":1021,"props":2458,"children":2459},{"class":1023,"line":72},[2460],{"type":993,"tag":1021,"props":2461,"children":2462},{"emptyLinePlaceholder":13},[2463],{"type":998,"value":1120},{"type":993,"tag":1021,"props":2465,"children":2466},{"class":1023,"line":81},[2467],{"type":993,"tag":1021,"props":2468,"children":2469},{"style":1027},[2470],{"type":998,"value":2471},"# Inequality\n",{"type":993,"tag":1021,"props":2473,"children":2474},{"class":1023,"line":91},[2475,2480,2484,2488,2492,2496,2500,2504,2509],{"type":993,"tag":1021,"props":2476,"children":2477},{"style":1036},[2478],{"type":998,"value":2479},"set4 ",{"type":993,"tag":1021,"props":2481,"children":2482},{"style":1042},[2483],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2485,"children":2486},{"style":1036},[2487],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2489,"children":2490},{"style":1151},[2491],{"type":998,"value":1829},{"type":993,"tag":1021,"props":2493,"children":2494},{"style":1036},[2495],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2497,"children":2498},{"style":1151},[2499],{"type":998,"value":1838},{"type":993,"tag":1021,"props":2501,"children":2502},{"style":1036},[2503],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2505,"children":2506},{"style":1151},[2507],{"type":998,"value":2508},"4",{"type":993,"tag":1021,"props":2510,"children":2511},{"style":1036},[2512],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2514,"children":2515},{"class":1023,"line":100},[2516,2520,2524,2529,2533,2538,2543],{"type":993,"tag":1021,"props":2517,"children":2518},{"style":1151},[2519],{"type":998,"value":1154},{"type":993,"tag":1021,"props":2521,"children":2522},{"style":1036},[2523],{"type":998,"value":1159},{"type":993,"tag":1021,"props":2525,"children":2526},{"style":1053},[2527],{"type":998,"value":2528},"\"set1 != set4:\"",{"type":993,"tag":1021,"props":2530,"children":2531},{"style":1036},[2532],{"type":998,"value":2407},{"type":993,"tag":1021,"props":2534,"children":2535},{"style":1042},[2536],{"type":998,"value":2537},"!=",{"type":993,"tag":1021,"props":2539,"children":2540},{"style":1036},[2541],{"type":998,"value":2542}," set4)  ",{"type":993,"tag":1021,"props":2544,"children":2545},{"style":1027},[2546],{"type":998,"value":2422},{"type":993,"tag":1171,"props":2548,"children":2550},{"id":2549},"advanced-set-operations",[2551],{"type":998,"value":2552},"🌟 Advanced Set Operations",{"type":993,"tag":1001,"props":2554,"children":2555},{},[2556],{"type":998,"value":2557},"Advanced operations extend basic set functionality for complex mathematical and computational scenarios.",{"type":993,"tag":1183,"props":2559,"children":2561},{"id":2560},"cartesian-product",[2562],{"type":998,"value":2563},"Cartesian Product",{"type":993,"tag":1001,"props":2565,"children":2566},{},[2567],{"type":998,"value":2568},"Cartesian product generates all possible combinations between sets, creating comprehensive pairing systems for analysis.",{"type":993,"tag":1007,"props":2570,"children":2571},{},[2572],{"type":993,"tag":1011,"props":2573,"children":2575},{"className":1013,"code":2574,"language":6,"meta":8,"style":8},"colors = {'red', 'blue'}\nsizes = {'small', 'large'}\n\n# Manual cartesian product\ncartesian = {(color, size) for color in colors for size in sizes}\nprint(\"Cartesian product:\", cartesian)\n\n# Practical example: product variations\ncategories = {'shirt', 'pants'}\ncolors = {'blue', 'black'}\nvariations = {(item, color) for item in categories for color in colors}\nprint(\"Product variations:\", variations)\n",[2576],{"type":993,"tag":1017,"props":2577,"children":2578},{"__ignoreMap":8},[2579,2613,2647,2654,2662,2717,2738,2745,2753,2787,2819,2871],{"type":993,"tag":1021,"props":2580,"children":2581},{"class":1023,"line":12},[2582,2587,2591,2595,2600,2604,2609],{"type":993,"tag":1021,"props":2583,"children":2584},{"style":1036},[2585],{"type":998,"value":2586},"colors ",{"type":993,"tag":1021,"props":2588,"children":2589},{"style":1042},[2590],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2592,"children":2593},{"style":1036},[2594],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2596,"children":2597},{"style":1053},[2598],{"type":998,"value":2599},"'red'",{"type":993,"tag":1021,"props":2601,"children":2602},{"style":1036},[2603],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2605,"children":2606},{"style":1053},[2607],{"type":998,"value":2608},"'blue'",{"type":993,"tag":1021,"props":2610,"children":2611},{"style":1036},[2612],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2614,"children":2615},{"class":1023,"line":27},[2616,2621,2625,2629,2634,2638,2643],{"type":993,"tag":1021,"props":2617,"children":2618},{"style":1036},[2619],{"type":998,"value":2620},"sizes ",{"type":993,"tag":1021,"props":2622,"children":2623},{"style":1042},[2624],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2626,"children":2627},{"style":1036},[2628],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2630,"children":2631},{"style":1053},[2632],{"type":998,"value":2633},"'small'",{"type":993,"tag":1021,"props":2635,"children":2636},{"style":1036},[2637],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2639,"children":2640},{"style":1053},[2641],{"type":998,"value":2642},"'large'",{"type":993,"tag":1021,"props":2644,"children":2645},{"style":1036},[2646],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2648,"children":2649},{"class":1023,"line":36},[2650],{"type":993,"tag":1021,"props":2651,"children":2652},{"emptyLinePlaceholder":13},[2653],{"type":998,"value":1120},{"type":993,"tag":1021,"props":2655,"children":2656},{"class":1023,"line":45},[2657],{"type":993,"tag":1021,"props":2658,"children":2659},{"style":1027},[2660],{"type":998,"value":2661},"# Manual cartesian product\n",{"type":993,"tag":1021,"props":2663,"children":2664},{"class":1023,"line":54},[2665,2670,2674,2679,2684,2689,2694,2699,2703,2708,2712],{"type":993,"tag":1021,"props":2666,"children":2667},{"style":1036},[2668],{"type":998,"value":2669},"cartesian ",{"type":993,"tag":1021,"props":2671,"children":2672},{"style":1042},[2673],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2675,"children":2676},{"style":1036},[2677],{"type":998,"value":2678}," {(color, size) ",{"type":993,"tag":1021,"props":2680,"children":2681},{"style":1042},[2682],{"type":998,"value":2683},"for",{"type":993,"tag":1021,"props":2685,"children":2686},{"style":1036},[2687],{"type":998,"value":2688}," color ",{"type":993,"tag":1021,"props":2690,"children":2691},{"style":1042},[2692],{"type":998,"value":2693},"in",{"type":993,"tag":1021,"props":2695,"children":2696},{"style":1036},[2697],{"type":998,"value":2698}," colors ",{"type":993,"tag":1021,"props":2700,"children":2701},{"style":1042},[2702],{"type":998,"value":2683},{"type":993,"tag":1021,"props":2704,"children":2705},{"style":1036},[2706],{"type":998,"value":2707}," size ",{"type":993,"tag":1021,"props":2709,"children":2710},{"style":1042},[2711],{"type":998,"value":2693},{"type":993,"tag":1021,"props":2713,"children":2714},{"style":1036},[2715],{"type":998,"value":2716}," sizes}\n",{"type":993,"tag":1021,"props":2718,"children":2719},{"class":1023,"line":63},[2720,2724,2728,2733],{"type":993,"tag":1021,"props":2721,"children":2722},{"style":1151},[2723],{"type":998,"value":1154},{"type":993,"tag":1021,"props":2725,"children":2726},{"style":1036},[2727],{"type":998,"value":1159},{"type":993,"tag":1021,"props":2729,"children":2730},{"style":1053},[2731],{"type":998,"value":2732},"\"Cartesian product:\"",{"type":993,"tag":1021,"props":2734,"children":2735},{"style":1036},[2736],{"type":998,"value":2737},", cartesian)\n",{"type":993,"tag":1021,"props":2739,"children":2740},{"class":1023,"line":72},[2741],{"type":993,"tag":1021,"props":2742,"children":2743},{"emptyLinePlaceholder":13},[2744],{"type":998,"value":1120},{"type":993,"tag":1021,"props":2746,"children":2747},{"class":1023,"line":81},[2748],{"type":993,"tag":1021,"props":2749,"children":2750},{"style":1027},[2751],{"type":998,"value":2752},"# Practical example: product variations\n",{"type":993,"tag":1021,"props":2754,"children":2755},{"class":1023,"line":91},[2756,2761,2765,2769,2774,2778,2783],{"type":993,"tag":1021,"props":2757,"children":2758},{"style":1036},[2759],{"type":998,"value":2760},"categories ",{"type":993,"tag":1021,"props":2762,"children":2763},{"style":1042},[2764],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2766,"children":2767},{"style":1036},[2768],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2770,"children":2771},{"style":1053},[2772],{"type":998,"value":2773},"'shirt'",{"type":993,"tag":1021,"props":2775,"children":2776},{"style":1036},[2777],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2779,"children":2780},{"style":1053},[2781],{"type":998,"value":2782},"'pants'",{"type":993,"tag":1021,"props":2784,"children":2785},{"style":1036},[2786],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2788,"children":2789},{"class":1023,"line":100},[2790,2794,2798,2802,2806,2810,2815],{"type":993,"tag":1021,"props":2791,"children":2792},{"style":1036},[2793],{"type":998,"value":2586},{"type":993,"tag":1021,"props":2795,"children":2796},{"style":1042},[2797],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2799,"children":2800},{"style":1036},[2801],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2803,"children":2804},{"style":1053},[2805],{"type":998,"value":2608},{"type":993,"tag":1021,"props":2807,"children":2808},{"style":1036},[2809],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2811,"children":2812},{"style":1053},[2813],{"type":998,"value":2814},"'black'",{"type":993,"tag":1021,"props":2816,"children":2817},{"style":1036},[2818],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2820,"children":2821},{"class":1023,"line":109},[2822,2827,2831,2836,2840,2845,2849,2854,2858,2862,2866],{"type":993,"tag":1021,"props":2823,"children":2824},{"style":1036},[2825],{"type":998,"value":2826},"variations ",{"type":993,"tag":1021,"props":2828,"children":2829},{"style":1042},[2830],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2832,"children":2833},{"style":1036},[2834],{"type":998,"value":2835}," {(item, color) ",{"type":993,"tag":1021,"props":2837,"children":2838},{"style":1042},[2839],{"type":998,"value":2683},{"type":993,"tag":1021,"props":2841,"children":2842},{"style":1036},[2843],{"type":998,"value":2844}," item ",{"type":993,"tag":1021,"props":2846,"children":2847},{"style":1042},[2848],{"type":998,"value":2693},{"type":993,"tag":1021,"props":2850,"children":2851},{"style":1036},[2852],{"type":998,"value":2853}," categories ",{"type":993,"tag":1021,"props":2855,"children":2856},{"style":1042},[2857],{"type":998,"value":2683},{"type":993,"tag":1021,"props":2859,"children":2860},{"style":1036},[2861],{"type":998,"value":2688},{"type":993,"tag":1021,"props":2863,"children":2864},{"style":1042},[2865],{"type":998,"value":2693},{"type":993,"tag":1021,"props":2867,"children":2868},{"style":1036},[2869],{"type":998,"value":2870}," colors}\n",{"type":993,"tag":1021,"props":2872,"children":2873},{"class":1023,"line":118},[2874,2878,2882,2887],{"type":993,"tag":1021,"props":2875,"children":2876},{"style":1151},[2877],{"type":998,"value":1154},{"type":993,"tag":1021,"props":2879,"children":2880},{"style":1036},[2881],{"type":998,"value":1159},{"type":993,"tag":1021,"props":2883,"children":2884},{"style":1053},[2885],{"type":998,"value":2886},"\"Product variations:\"",{"type":993,"tag":1021,"props":2888,"children":2889},{"style":1036},[2890],{"type":998,"value":2891},", variations)\n",{"type":993,"tag":1183,"props":2893,"children":2895},{"id":2894},"power-set",[2896],{"type":998,"value":2897},"Power Set",{"type":993,"tag":1001,"props":2899,"children":2900},{},[2901],{"type":998,"value":2902},"Power set generation creates all possible subsets of a given set, providing complete combinatorial coverage for mathematical applications.",{"type":993,"tag":1007,"props":2904,"children":2905},{},[2906],{"type":993,"tag":1011,"props":2907,"children":2909},{"className":1013,"code":2908,"language":6,"meta":8,"style":8},"from itertools import combinations\n\ndef power_set(s):\n    \"\"\"Generate all subsets of a set\"\"\"\n    s_list = list(s)\n    subsets = []\n    \n    for r in range(len(s_list) + 1):\n        for combo in combinations(s_list, r):\n            subsets.append(set(combo))\n    \n    return subsets\n\noriginal = {1, 2, 3}\nall_subsets = power_set(original)\nprint(f\"Power set of {original}:\")\nfor subset in all_subsets:\n    print(subset)\n",[2910],{"type":993,"tag":1017,"props":2911,"children":2912},{"__ignoreMap":8},[2913,2936,2943,2962,2970,2992,3009,3017,3068,3090,3108,3115,3128,3135,3175,3192,3238,3259],{"type":993,"tag":1021,"props":2914,"children":2915},{"class":1023,"line":12},[2916,2921,2926,2931],{"type":993,"tag":1021,"props":2917,"children":2918},{"style":1042},[2919],{"type":998,"value":2920},"from",{"type":993,"tag":1021,"props":2922,"children":2923},{"style":1036},[2924],{"type":998,"value":2925}," itertools ",{"type":993,"tag":1021,"props":2927,"children":2928},{"style":1042},[2929],{"type":998,"value":2930},"import",{"type":993,"tag":1021,"props":2932,"children":2933},{"style":1036},[2934],{"type":998,"value":2935}," combinations\n",{"type":993,"tag":1021,"props":2937,"children":2938},{"class":1023,"line":27},[2939],{"type":993,"tag":1021,"props":2940,"children":2941},{"emptyLinePlaceholder":13},[2942],{"type":998,"value":1120},{"type":993,"tag":1021,"props":2944,"children":2945},{"class":1023,"line":36},[2946,2951,2957],{"type":993,"tag":1021,"props":2947,"children":2948},{"style":1042},[2949],{"type":998,"value":2950},"def",{"type":993,"tag":1021,"props":2952,"children":2954},{"style":2953},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[2955],{"type":998,"value":2956}," power_set",{"type":993,"tag":1021,"props":2958,"children":2959},{"style":1036},[2960],{"type":998,"value":2961},"(s):\n",{"type":993,"tag":1021,"props":2963,"children":2964},{"class":1023,"line":45},[2965],{"type":993,"tag":1021,"props":2966,"children":2967},{"style":1053},[2968],{"type":998,"value":2969},"    \"\"\"Generate all subsets of a set\"\"\"\n",{"type":993,"tag":1021,"props":2971,"children":2972},{"class":1023,"line":54},[2973,2978,2982,2987],{"type":993,"tag":1021,"props":2974,"children":2975},{"style":1036},[2976],{"type":998,"value":2977},"    s_list ",{"type":993,"tag":1021,"props":2979,"children":2980},{"style":1042},[2981],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2983,"children":2984},{"style":1151},[2985],{"type":998,"value":2986}," list",{"type":993,"tag":1021,"props":2988,"children":2989},{"style":1036},[2990],{"type":998,"value":2991},"(s)\n",{"type":993,"tag":1021,"props":2993,"children":2994},{"class":1023,"line":63},[2995,3000,3004],{"type":993,"tag":1021,"props":2996,"children":2997},{"style":1036},[2998],{"type":998,"value":2999},"    subsets ",{"type":993,"tag":1021,"props":3001,"children":3002},{"style":1042},[3003],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3005,"children":3006},{"style":1036},[3007],{"type":998,"value":3008}," []\n",{"type":993,"tag":1021,"props":3010,"children":3011},{"class":1023,"line":72},[3012],{"type":993,"tag":1021,"props":3013,"children":3014},{"style":1036},[3015],{"type":998,"value":3016},"    \n",{"type":993,"tag":1021,"props":3018,"children":3019},{"class":1023,"line":81},[3020,3025,3030,3034,3039,3043,3048,3053,3058,3063],{"type":993,"tag":1021,"props":3021,"children":3022},{"style":1042},[3023],{"type":998,"value":3024},"    for",{"type":993,"tag":1021,"props":3026,"children":3027},{"style":1036},[3028],{"type":998,"value":3029}," r ",{"type":993,"tag":1021,"props":3031,"children":3032},{"style":1042},[3033],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3035,"children":3036},{"style":1151},[3037],{"type":998,"value":3038}," range",{"type":993,"tag":1021,"props":3040,"children":3041},{"style":1036},[3042],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3044,"children":3045},{"style":1151},[3046],{"type":998,"value":3047},"len",{"type":993,"tag":1021,"props":3049,"children":3050},{"style":1036},[3051],{"type":998,"value":3052},"(s_list) ",{"type":993,"tag":1021,"props":3054,"children":3055},{"style":1042},[3056],{"type":998,"value":3057},"+",{"type":993,"tag":1021,"props":3059,"children":3060},{"style":1151},[3061],{"type":998,"value":3062}," 1",{"type":993,"tag":1021,"props":3064,"children":3065},{"style":1036},[3066],{"type":998,"value":3067},"):\n",{"type":993,"tag":1021,"props":3069,"children":3070},{"class":1023,"line":91},[3071,3076,3081,3085],{"type":993,"tag":1021,"props":3072,"children":3073},{"style":1042},[3074],{"type":998,"value":3075},"        for",{"type":993,"tag":1021,"props":3077,"children":3078},{"style":1036},[3079],{"type":998,"value":3080}," combo ",{"type":993,"tag":1021,"props":3082,"children":3083},{"style":1042},[3084],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3086,"children":3087},{"style":1036},[3088],{"type":998,"value":3089}," combinations(s_list, r):\n",{"type":993,"tag":1021,"props":3091,"children":3092},{"class":1023,"line":100},[3093,3098,3103],{"type":993,"tag":1021,"props":3094,"children":3095},{"style":1036},[3096],{"type":998,"value":3097},"            subsets.append(",{"type":993,"tag":1021,"props":3099,"children":3100},{"style":1151},[3101],{"type":998,"value":3102},"set",{"type":993,"tag":1021,"props":3104,"children":3105},{"style":1036},[3106],{"type":998,"value":3107},"(combo))\n",{"type":993,"tag":1021,"props":3109,"children":3110},{"class":1023,"line":109},[3111],{"type":993,"tag":1021,"props":3112,"children":3113},{"style":1036},[3114],{"type":998,"value":3016},{"type":993,"tag":1021,"props":3116,"children":3117},{"class":1023,"line":118},[3118,3123],{"type":993,"tag":1021,"props":3119,"children":3120},{"style":1042},[3121],{"type":998,"value":3122},"    return",{"type":993,"tag":1021,"props":3124,"children":3125},{"style":1036},[3126],{"type":998,"value":3127}," subsets\n",{"type":993,"tag":1021,"props":3129,"children":3130},{"class":1023,"line":127},[3131],{"type":993,"tag":1021,"props":3132,"children":3133},{"emptyLinePlaceholder":13},[3134],{"type":998,"value":1120},{"type":993,"tag":1021,"props":3136,"children":3137},{"class":1023,"line":136},[3138,3143,3147,3151,3155,3159,3163,3167,3171],{"type":993,"tag":1021,"props":3139,"children":3140},{"style":1036},[3141],{"type":998,"value":3142},"original ",{"type":993,"tag":1021,"props":3144,"children":3145},{"style":1042},[3146],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3148,"children":3149},{"style":1036},[3150],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3152,"children":3153},{"style":1151},[3154],{"type":998,"value":1829},{"type":993,"tag":1021,"props":3156,"children":3157},{"style":1036},[3158],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3160,"children":3161},{"style":1151},[3162],{"type":998,"value":1838},{"type":993,"tag":1021,"props":3164,"children":3165},{"style":1036},[3166],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3168,"children":3169},{"style":1151},[3170],{"type":998,"value":1847},{"type":993,"tag":1021,"props":3172,"children":3173},{"style":1036},[3174],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3176,"children":3177},{"class":1023,"line":146},[3178,3183,3187],{"type":993,"tag":1021,"props":3179,"children":3180},{"style":1036},[3181],{"type":998,"value":3182},"all_subsets ",{"type":993,"tag":1021,"props":3184,"children":3185},{"style":1042},[3186],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3188,"children":3189},{"style":1036},[3190],{"type":998,"value":3191}," power_set(original)\n",{"type":993,"tag":1021,"props":3193,"children":3194},{"class":1023,"line":155},[3195,3199,3203,3208,3213,3218,3223,3228,3233],{"type":993,"tag":1021,"props":3196,"children":3197},{"style":1151},[3198],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3200,"children":3201},{"style":1036},[3202],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3204,"children":3205},{"style":1042},[3206],{"type":998,"value":3207},"f",{"type":993,"tag":1021,"props":3209,"children":3210},{"style":1053},[3211],{"type":998,"value":3212},"\"Power set of ",{"type":993,"tag":1021,"props":3214,"children":3215},{"style":1151},[3216],{"type":998,"value":3217},"{",{"type":993,"tag":1021,"props":3219,"children":3220},{"style":1036},[3221],{"type":998,"value":3222},"original",{"type":993,"tag":1021,"props":3224,"children":3225},{"style":1151},[3226],{"type":998,"value":3227},"}",{"type":993,"tag":1021,"props":3229,"children":3230},{"style":1053},[3231],{"type":998,"value":3232},":\"",{"type":993,"tag":1021,"props":3234,"children":3235},{"style":1036},[3236],{"type":998,"value":3237},")\n",{"type":993,"tag":1021,"props":3239,"children":3240},{"class":1023,"line":164},[3241,3245,3250,3254],{"type":993,"tag":1021,"props":3242,"children":3243},{"style":1042},[3244],{"type":998,"value":2683},{"type":993,"tag":1021,"props":3246,"children":3247},{"style":1036},[3248],{"type":998,"value":3249}," subset ",{"type":993,"tag":1021,"props":3251,"children":3252},{"style":1042},[3253],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3255,"children":3256},{"style":1036},[3257],{"type":998,"value":3258}," all_subsets:\n",{"type":993,"tag":1021,"props":3260,"children":3261},{"class":1023,"line":173},[3262,3267],{"type":993,"tag":1021,"props":3263,"children":3264},{"style":1151},[3265],{"type":998,"value":3266},"    print",{"type":993,"tag":1021,"props":3268,"children":3269},{"style":1036},[3270],{"type":998,"value":3271},"(subset)\n",{"type":993,"tag":1171,"props":3273,"children":3275},{"id":3274},"set-membership-testing",[3276],{"type":998,"value":3277},"💡 Set Membership Testing",{"type":993,"tag":1001,"props":3279,"children":3280},{},[3281],{"type":998,"value":3282},"Membership testing provides O(1) average-case performance for element verification. This efficiency makes sets ideal for lookup operations.",{"type":993,"tag":1007,"props":3284,"children":3285},{},[3286],{"type":993,"tag":1011,"props":3287,"children":3289},{"className":1013,"code":3288,"language":6,"meta":8,"style":8},"large_set = {i for i in range(1000)}\n\n# Fast membership testing\nprint(\"500 in set:\", 500 in large_set)\nprint(\"1500 not in set:\", 1500 not in large_set)\n\n# Multiple membership tests\ntest_values = [100, 200, 300, 1500]\nfound = {val for val in test_values if val in large_set}\nnot_found = {val for val in test_values if val not in large_set}\n\nprint(\"Found values:\", found)\nprint(\"Not found values:\", not_found)\n",[3290],{"type":993,"tag":1017,"props":3291,"children":3292},{"__ignoreMap":8},[3293,3341,3348,3356,3391,3429,3436,3444,3497,3550,3603,3610,3631],{"type":993,"tag":1021,"props":3294,"children":3295},{"class":1023,"line":12},[3296,3301,3305,3310,3314,3319,3323,3327,3331,3336],{"type":993,"tag":1021,"props":3297,"children":3298},{"style":1036},[3299],{"type":998,"value":3300},"large_set ",{"type":993,"tag":1021,"props":3302,"children":3303},{"style":1042},[3304],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3306,"children":3307},{"style":1036},[3308],{"type":998,"value":3309}," {i ",{"type":993,"tag":1021,"props":3311,"children":3312},{"style":1042},[3313],{"type":998,"value":2683},{"type":993,"tag":1021,"props":3315,"children":3316},{"style":1036},[3317],{"type":998,"value":3318}," i ",{"type":993,"tag":1021,"props":3320,"children":3321},{"style":1042},[3322],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3324,"children":3325},{"style":1151},[3326],{"type":998,"value":3038},{"type":993,"tag":1021,"props":3328,"children":3329},{"style":1036},[3330],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3332,"children":3333},{"style":1151},[3334],{"type":998,"value":3335},"1000",{"type":993,"tag":1021,"props":3337,"children":3338},{"style":1036},[3339],{"type":998,"value":3340},")}\n",{"type":993,"tag":1021,"props":3342,"children":3343},{"class":1023,"line":27},[3344],{"type":993,"tag":1021,"props":3345,"children":3346},{"emptyLinePlaceholder":13},[3347],{"type":998,"value":1120},{"type":993,"tag":1021,"props":3349,"children":3350},{"class":1023,"line":36},[3351],{"type":993,"tag":1021,"props":3352,"children":3353},{"style":1027},[3354],{"type":998,"value":3355},"# Fast membership testing\n",{"type":993,"tag":1021,"props":3357,"children":3358},{"class":1023,"line":45},[3359,3363,3367,3372,3376,3381,3386],{"type":993,"tag":1021,"props":3360,"children":3361},{"style":1151},[3362],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3364,"children":3365},{"style":1036},[3366],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3368,"children":3369},{"style":1053},[3370],{"type":998,"value":3371},"\"500 in set:\"",{"type":993,"tag":1021,"props":3373,"children":3374},{"style":1036},[3375],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3377,"children":3378},{"style":1151},[3379],{"type":998,"value":3380},"500",{"type":993,"tag":1021,"props":3382,"children":3383},{"style":1042},[3384],{"type":998,"value":3385}," in",{"type":993,"tag":1021,"props":3387,"children":3388},{"style":1036},[3389],{"type":998,"value":3390}," large_set)\n",{"type":993,"tag":1021,"props":3392,"children":3393},{"class":1023,"line":54},[3394,3398,3402,3407,3411,3416,3421,3425],{"type":993,"tag":1021,"props":3395,"children":3396},{"style":1151},[3397],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3399,"children":3400},{"style":1036},[3401],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3403,"children":3404},{"style":1053},[3405],{"type":998,"value":3406},"\"1500 not in set:\"",{"type":993,"tag":1021,"props":3408,"children":3409},{"style":1036},[3410],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3412,"children":3413},{"style":1151},[3414],{"type":998,"value":3415},"1500",{"type":993,"tag":1021,"props":3417,"children":3418},{"style":1042},[3419],{"type":998,"value":3420}," not",{"type":993,"tag":1021,"props":3422,"children":3423},{"style":1042},[3424],{"type":998,"value":3385},{"type":993,"tag":1021,"props":3426,"children":3427},{"style":1036},[3428],{"type":998,"value":3390},{"type":993,"tag":1021,"props":3430,"children":3431},{"class":1023,"line":63},[3432],{"type":993,"tag":1021,"props":3433,"children":3434},{"emptyLinePlaceholder":13},[3435],{"type":998,"value":1120},{"type":993,"tag":1021,"props":3437,"children":3438},{"class":1023,"line":72},[3439],{"type":993,"tag":1021,"props":3440,"children":3441},{"style":1027},[3442],{"type":998,"value":3443},"# Multiple membership tests\n",{"type":993,"tag":1021,"props":3445,"children":3446},{"class":1023,"line":81},[3447,3452,3456,3461,3466,3470,3475,3479,3484,3488,3492],{"type":993,"tag":1021,"props":3448,"children":3449},{"style":1036},[3450],{"type":998,"value":3451},"test_values ",{"type":993,"tag":1021,"props":3453,"children":3454},{"style":1042},[3455],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3457,"children":3458},{"style":1036},[3459],{"type":998,"value":3460}," [",{"type":993,"tag":1021,"props":3462,"children":3463},{"style":1151},[3464],{"type":998,"value":3465},"100",{"type":993,"tag":1021,"props":3467,"children":3468},{"style":1036},[3469],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3471,"children":3472},{"style":1151},[3473],{"type":998,"value":3474},"200",{"type":993,"tag":1021,"props":3476,"children":3477},{"style":1036},[3478],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3480,"children":3481},{"style":1151},[3482],{"type":998,"value":3483},"300",{"type":993,"tag":1021,"props":3485,"children":3486},{"style":1036},[3487],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3489,"children":3490},{"style":1151},[3491],{"type":998,"value":3415},{"type":993,"tag":1021,"props":3493,"children":3494},{"style":1036},[3495],{"type":998,"value":3496},"]\n",{"type":993,"tag":1021,"props":3498,"children":3499},{"class":1023,"line":91},[3500,3505,3509,3514,3518,3523,3527,3532,3537,3541,3545],{"type":993,"tag":1021,"props":3501,"children":3502},{"style":1036},[3503],{"type":998,"value":3504},"found ",{"type":993,"tag":1021,"props":3506,"children":3507},{"style":1042},[3508],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3510,"children":3511},{"style":1036},[3512],{"type":998,"value":3513}," {val ",{"type":993,"tag":1021,"props":3515,"children":3516},{"style":1042},[3517],{"type":998,"value":2683},{"type":993,"tag":1021,"props":3519,"children":3520},{"style":1036},[3521],{"type":998,"value":3522}," val ",{"type":993,"tag":1021,"props":3524,"children":3525},{"style":1042},[3526],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3528,"children":3529},{"style":1036},[3530],{"type":998,"value":3531}," test_values ",{"type":993,"tag":1021,"props":3533,"children":3534},{"style":1042},[3535],{"type":998,"value":3536},"if",{"type":993,"tag":1021,"props":3538,"children":3539},{"style":1036},[3540],{"type":998,"value":3522},{"type":993,"tag":1021,"props":3542,"children":3543},{"style":1042},[3544],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3546,"children":3547},{"style":1036},[3548],{"type":998,"value":3549}," large_set}\n",{"type":993,"tag":1021,"props":3551,"children":3552},{"class":1023,"line":100},[3553,3558,3562,3566,3570,3574,3578,3582,3586,3590,3595,3599],{"type":993,"tag":1021,"props":3554,"children":3555},{"style":1036},[3556],{"type":998,"value":3557},"not_found ",{"type":993,"tag":1021,"props":3559,"children":3560},{"style":1042},[3561],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3563,"children":3564},{"style":1036},[3565],{"type":998,"value":3513},{"type":993,"tag":1021,"props":3567,"children":3568},{"style":1042},[3569],{"type":998,"value":2683},{"type":993,"tag":1021,"props":3571,"children":3572},{"style":1036},[3573],{"type":998,"value":3522},{"type":993,"tag":1021,"props":3575,"children":3576},{"style":1042},[3577],{"type":998,"value":2693},{"type":993,"tag":1021,"props":3579,"children":3580},{"style":1036},[3581],{"type":998,"value":3531},{"type":993,"tag":1021,"props":3583,"children":3584},{"style":1042},[3585],{"type":998,"value":3536},{"type":993,"tag":1021,"props":3587,"children":3588},{"style":1036},[3589],{"type":998,"value":3522},{"type":993,"tag":1021,"props":3591,"children":3592},{"style":1042},[3593],{"type":998,"value":3594},"not",{"type":993,"tag":1021,"props":3596,"children":3597},{"style":1042},[3598],{"type":998,"value":3385},{"type":993,"tag":1021,"props":3600,"children":3601},{"style":1036},[3602],{"type":998,"value":3549},{"type":993,"tag":1021,"props":3604,"children":3605},{"class":1023,"line":109},[3606],{"type":993,"tag":1021,"props":3607,"children":3608},{"emptyLinePlaceholder":13},[3609],{"type":998,"value":1120},{"type":993,"tag":1021,"props":3611,"children":3612},{"class":1023,"line":118},[3613,3617,3621,3626],{"type":993,"tag":1021,"props":3614,"children":3615},{"style":1151},[3616],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3618,"children":3619},{"style":1036},[3620],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3622,"children":3623},{"style":1053},[3624],{"type":998,"value":3625},"\"Found values:\"",{"type":993,"tag":1021,"props":3627,"children":3628},{"style":1036},[3629],{"type":998,"value":3630},", found)\n",{"type":993,"tag":1021,"props":3632,"children":3633},{"class":1023,"line":127},[3634,3638,3642,3647],{"type":993,"tag":1021,"props":3635,"children":3636},{"style":1151},[3637],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3639,"children":3640},{"style":1036},[3641],{"type":998,"value":1159},{"type":993,"tag":1021,"props":3643,"children":3644},{"style":1053},[3645],{"type":998,"value":3646},"\"Not found values:\"",{"type":993,"tag":1021,"props":3648,"children":3649},{"style":1036},[3650],{"type":998,"value":3651},", not_found)\n",{"type":993,"tag":1171,"props":3653,"children":3655},{"id":3654},"practical-applications",[3656],{"type":998,"value":3657},"🎯 Practical Applications",{"type":993,"tag":1183,"props":3659,"children":3661},{"id":3660},"access-control-system",[3662],{"type":998,"value":3663},"Access Control System",{"type":993,"tag":1001,"props":3665,"children":3666},{},[3667],{"type":998,"value":3668},"Enterprise security systems rely on set operations to manage user permissions and validate access rights across different resource levels.",{"type":993,"tag":1007,"props":3670,"children":3671},{},[3672],{"type":993,"tag":1011,"props":3673,"children":3675},{"className":1013,"code":3674,"language":6,"meta":8,"style":8},"class AccessControl:\n    def __init__(self):\n        self.admin_permissions = {'read', 'write', 'delete', 'admin', 'backup'}\n        self.user_permissions = {'read', 'write'}\n        self.guest_permissions = {'read'}\n    \n    def check_access(self, user_type, required_permissions):\n        permissions = {\n            'admin': self.admin_permissions,\n            'user': self.user_permissions,\n            'guest': self.guest_permissions\n        }\n        \n        user_perms = permissions.get(user_type, set())\n        return required_permissions.issubset(user_perms)\n    \n    def get_missing_permissions(self, user_type, required_permissions):\n        permissions = {\n            'admin': self.admin_permissions,\n            'user': self.user_permissions,\n            'guest': self.guest_permissions\n        }\n        \n        user_perms = permissions.get(user_type, set())\n        return required_permissions - user_perms\n\n# Usage example\nac = AccessControl()\nrequired = {'read', 'write', 'delete'}\n\nprint(\"Admin access:\", ac.check_access('admin', required))\nprint(\"User access:\", ac.check_access('user', required))\nprint(\"Missing for user:\", ac.get_missing_permissions('user', required))\n",[3676],{"type":993,"tag":1017,"props":3677,"children":3678},{"__ignoreMap":8},[3679,3697,3715,3777,3813,3841,3848,3865,3882,3905,3926,3947,3955,3963,3989,4002,4009,4025,4040,4059,4078,4097,4104,4111,4134,4156,4163,4171,4188,4228,4235,4265,4294],{"type":993,"tag":1021,"props":3680,"children":3681},{"class":1023,"line":12},[3682,3687,3692],{"type":993,"tag":1021,"props":3683,"children":3684},{"style":1042},[3685],{"type":998,"value":3686},"class",{"type":993,"tag":1021,"props":3688,"children":3689},{"style":2953},[3690],{"type":998,"value":3691}," AccessControl",{"type":993,"tag":1021,"props":3693,"children":3694},{"style":1036},[3695],{"type":998,"value":3696},":\n",{"type":993,"tag":1021,"props":3698,"children":3699},{"class":1023,"line":27},[3700,3705,3710],{"type":993,"tag":1021,"props":3701,"children":3702},{"style":1042},[3703],{"type":998,"value":3704},"    def",{"type":993,"tag":1021,"props":3706,"children":3707},{"style":1151},[3708],{"type":998,"value":3709}," __init__",{"type":993,"tag":1021,"props":3711,"children":3712},{"style":1036},[3713],{"type":998,"value":3714},"(self):\n",{"type":993,"tag":1021,"props":3716,"children":3717},{"class":1023,"line":36},[3718,3723,3728,3732,3736,3740,3744,3748,3752,3756,3760,3764,3768,3773],{"type":993,"tag":1021,"props":3719,"children":3720},{"style":1151},[3721],{"type":998,"value":3722},"        self",{"type":993,"tag":1021,"props":3724,"children":3725},{"style":1036},[3726],{"type":998,"value":3727},".admin_permissions ",{"type":993,"tag":1021,"props":3729,"children":3730},{"style":1042},[3731],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3733,"children":3734},{"style":1036},[3735],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3737,"children":3738},{"style":1053},[3739],{"type":998,"value":1440},{"type":993,"tag":1021,"props":3741,"children":3742},{"style":1036},[3743],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3745,"children":3746},{"style":1053},[3747],{"type":998,"value":1449},{"type":993,"tag":1021,"props":3749,"children":3750},{"style":1036},[3751],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3753,"children":3754},{"style":1053},[3755],{"type":998,"value":1458},{"type":993,"tag":1021,"props":3757,"children":3758},{"style":1036},[3759],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3761,"children":3762},{"style":1053},[3763],{"type":998,"value":1467},{"type":993,"tag":1021,"props":3765,"children":3766},{"style":1036},[3767],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3769,"children":3770},{"style":1053},[3771],{"type":998,"value":3772},"'backup'",{"type":993,"tag":1021,"props":3774,"children":3775},{"style":1036},[3776],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3778,"children":3779},{"class":1023,"line":45},[3780,3784,3789,3793,3797,3801,3805,3809],{"type":993,"tag":1021,"props":3781,"children":3782},{"style":1151},[3783],{"type":998,"value":3722},{"type":993,"tag":1021,"props":3785,"children":3786},{"style":1036},[3787],{"type":998,"value":3788},".user_permissions ",{"type":993,"tag":1021,"props":3790,"children":3791},{"style":1042},[3792],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3794,"children":3795},{"style":1036},[3796],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3798,"children":3799},{"style":1053},[3800],{"type":998,"value":1440},{"type":993,"tag":1021,"props":3802,"children":3803},{"style":1036},[3804],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3806,"children":3807},{"style":1053},[3808],{"type":998,"value":1449},{"type":993,"tag":1021,"props":3810,"children":3811},{"style":1036},[3812],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3814,"children":3815},{"class":1023,"line":54},[3816,3820,3825,3829,3833,3837],{"type":993,"tag":1021,"props":3817,"children":3818},{"style":1151},[3819],{"type":998,"value":3722},{"type":993,"tag":1021,"props":3821,"children":3822},{"style":1036},[3823],{"type":998,"value":3824},".guest_permissions ",{"type":993,"tag":1021,"props":3826,"children":3827},{"style":1042},[3828],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3830,"children":3831},{"style":1036},[3832],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3834,"children":3835},{"style":1053},[3836],{"type":998,"value":1440},{"type":993,"tag":1021,"props":3838,"children":3839},{"style":1036},[3840],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3842,"children":3843},{"class":1023,"line":63},[3844],{"type":993,"tag":1021,"props":3845,"children":3846},{"style":1036},[3847],{"type":998,"value":3016},{"type":993,"tag":1021,"props":3849,"children":3850},{"class":1023,"line":72},[3851,3855,3860],{"type":993,"tag":1021,"props":3852,"children":3853},{"style":1042},[3854],{"type":998,"value":3704},{"type":993,"tag":1021,"props":3856,"children":3857},{"style":2953},[3858],{"type":998,"value":3859}," check_access",{"type":993,"tag":1021,"props":3861,"children":3862},{"style":1036},[3863],{"type":998,"value":3864},"(self, user_type, required_permissions):\n",{"type":993,"tag":1021,"props":3866,"children":3867},{"class":1023,"line":81},[3868,3873,3877],{"type":993,"tag":1021,"props":3869,"children":3870},{"style":1036},[3871],{"type":998,"value":3872},"        permissions ",{"type":993,"tag":1021,"props":3874,"children":3875},{"style":1042},[3876],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3878,"children":3879},{"style":1036},[3880],{"type":998,"value":3881}," {\n",{"type":993,"tag":1021,"props":3883,"children":3884},{"class":1023,"line":91},[3885,3890,3895,3900],{"type":993,"tag":1021,"props":3886,"children":3887},{"style":1053},[3888],{"type":998,"value":3889},"            'admin'",{"type":993,"tag":1021,"props":3891,"children":3892},{"style":1036},[3893],{"type":998,"value":3894},": ",{"type":993,"tag":1021,"props":3896,"children":3897},{"style":1151},[3898],{"type":998,"value":3899},"self",{"type":993,"tag":1021,"props":3901,"children":3902},{"style":1036},[3903],{"type":998,"value":3904},".admin_permissions,\n",{"type":993,"tag":1021,"props":3906,"children":3907},{"class":1023,"line":100},[3908,3913,3917,3921],{"type":993,"tag":1021,"props":3909,"children":3910},{"style":1053},[3911],{"type":998,"value":3912},"            'user'",{"type":993,"tag":1021,"props":3914,"children":3915},{"style":1036},[3916],{"type":998,"value":3894},{"type":993,"tag":1021,"props":3918,"children":3919},{"style":1151},[3920],{"type":998,"value":3899},{"type":993,"tag":1021,"props":3922,"children":3923},{"style":1036},[3924],{"type":998,"value":3925},".user_permissions,\n",{"type":993,"tag":1021,"props":3927,"children":3928},{"class":1023,"line":109},[3929,3934,3938,3942],{"type":993,"tag":1021,"props":3930,"children":3931},{"style":1053},[3932],{"type":998,"value":3933},"            'guest'",{"type":993,"tag":1021,"props":3935,"children":3936},{"style":1036},[3937],{"type":998,"value":3894},{"type":993,"tag":1021,"props":3939,"children":3940},{"style":1151},[3941],{"type":998,"value":3899},{"type":993,"tag":1021,"props":3943,"children":3944},{"style":1036},[3945],{"type":998,"value":3946},".guest_permissions\n",{"type":993,"tag":1021,"props":3948,"children":3949},{"class":1023,"line":118},[3950],{"type":993,"tag":1021,"props":3951,"children":3952},{"style":1036},[3953],{"type":998,"value":3954},"        }\n",{"type":993,"tag":1021,"props":3956,"children":3957},{"class":1023,"line":127},[3958],{"type":993,"tag":1021,"props":3959,"children":3960},{"style":1036},[3961],{"type":998,"value":3962},"        \n",{"type":993,"tag":1021,"props":3964,"children":3965},{"class":1023,"line":136},[3966,3971,3975,3980,3984],{"type":993,"tag":1021,"props":3967,"children":3968},{"style":1036},[3969],{"type":998,"value":3970},"        user_perms ",{"type":993,"tag":1021,"props":3972,"children":3973},{"style":1042},[3974],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3976,"children":3977},{"style":1036},[3978],{"type":998,"value":3979}," permissions.get(user_type, ",{"type":993,"tag":1021,"props":3981,"children":3982},{"style":1151},[3983],{"type":998,"value":3102},{"type":993,"tag":1021,"props":3985,"children":3986},{"style":1036},[3987],{"type":998,"value":3988},"())\n",{"type":993,"tag":1021,"props":3990,"children":3991},{"class":1023,"line":146},[3992,3997],{"type":993,"tag":1021,"props":3993,"children":3994},{"style":1042},[3995],{"type":998,"value":3996},"        return",{"type":993,"tag":1021,"props":3998,"children":3999},{"style":1036},[4000],{"type":998,"value":4001}," required_permissions.issubset(user_perms)\n",{"type":993,"tag":1021,"props":4003,"children":4004},{"class":1023,"line":155},[4005],{"type":993,"tag":1021,"props":4006,"children":4007},{"style":1036},[4008],{"type":998,"value":3016},{"type":993,"tag":1021,"props":4010,"children":4011},{"class":1023,"line":164},[4012,4016,4021],{"type":993,"tag":1021,"props":4013,"children":4014},{"style":1042},[4015],{"type":998,"value":3704},{"type":993,"tag":1021,"props":4017,"children":4018},{"style":2953},[4019],{"type":998,"value":4020}," get_missing_permissions",{"type":993,"tag":1021,"props":4022,"children":4023},{"style":1036},[4024],{"type":998,"value":3864},{"type":993,"tag":1021,"props":4026,"children":4027},{"class":1023,"line":173},[4028,4032,4036],{"type":993,"tag":1021,"props":4029,"children":4030},{"style":1036},[4031],{"type":998,"value":3872},{"type":993,"tag":1021,"props":4033,"children":4034},{"style":1042},[4035],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4037,"children":4038},{"style":1036},[4039],{"type":998,"value":3881},{"type":993,"tag":1021,"props":4041,"children":4042},{"class":1023,"line":182},[4043,4047,4051,4055],{"type":993,"tag":1021,"props":4044,"children":4045},{"style":1053},[4046],{"type":998,"value":3889},{"type":993,"tag":1021,"props":4048,"children":4049},{"style":1036},[4050],{"type":998,"value":3894},{"type":993,"tag":1021,"props":4052,"children":4053},{"style":1151},[4054],{"type":998,"value":3899},{"type":993,"tag":1021,"props":4056,"children":4057},{"style":1036},[4058],{"type":998,"value":3904},{"type":993,"tag":1021,"props":4060,"children":4061},{"class":1023,"line":191},[4062,4066,4070,4074],{"type":993,"tag":1021,"props":4063,"children":4064},{"style":1053},[4065],{"type":998,"value":3912},{"type":993,"tag":1021,"props":4067,"children":4068},{"style":1036},[4069],{"type":998,"value":3894},{"type":993,"tag":1021,"props":4071,"children":4072},{"style":1151},[4073],{"type":998,"value":3899},{"type":993,"tag":1021,"props":4075,"children":4076},{"style":1036},[4077],{"type":998,"value":3925},{"type":993,"tag":1021,"props":4079,"children":4080},{"class":1023,"line":201},[4081,4085,4089,4093],{"type":993,"tag":1021,"props":4082,"children":4083},{"style":1053},[4084],{"type":998,"value":3933},{"type":993,"tag":1021,"props":4086,"children":4087},{"style":1036},[4088],{"type":998,"value":3894},{"type":993,"tag":1021,"props":4090,"children":4091},{"style":1151},[4092],{"type":998,"value":3899},{"type":993,"tag":1021,"props":4094,"children":4095},{"style":1036},[4096],{"type":998,"value":3946},{"type":993,"tag":1021,"props":4098,"children":4099},{"class":1023,"line":210},[4100],{"type":993,"tag":1021,"props":4101,"children":4102},{"style":1036},[4103],{"type":998,"value":3954},{"type":993,"tag":1021,"props":4105,"children":4106},{"class":1023,"line":219},[4107],{"type":993,"tag":1021,"props":4108,"children":4109},{"style":1036},[4110],{"type":998,"value":3962},{"type":993,"tag":1021,"props":4112,"children":4113},{"class":1023,"line":228},[4114,4118,4122,4126,4130],{"type":993,"tag":1021,"props":4115,"children":4116},{"style":1036},[4117],{"type":998,"value":3970},{"type":993,"tag":1021,"props":4119,"children":4120},{"style":1042},[4121],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4123,"children":4124},{"style":1036},[4125],{"type":998,"value":3979},{"type":993,"tag":1021,"props":4127,"children":4128},{"style":1151},[4129],{"type":998,"value":3102},{"type":993,"tag":1021,"props":4131,"children":4132},{"style":1036},[4133],{"type":998,"value":3988},{"type":993,"tag":1021,"props":4135,"children":4136},{"class":1023,"line":238},[4137,4141,4146,4151],{"type":993,"tag":1021,"props":4138,"children":4139},{"style":1042},[4140],{"type":998,"value":3996},{"type":993,"tag":1021,"props":4142,"children":4143},{"style":1036},[4144],{"type":998,"value":4145}," required_permissions ",{"type":993,"tag":1021,"props":4147,"children":4148},{"style":1042},[4149],{"type":998,"value":4150},"-",{"type":993,"tag":1021,"props":4152,"children":4153},{"style":1036},[4154],{"type":998,"value":4155}," user_perms\n",{"type":993,"tag":1021,"props":4157,"children":4158},{"class":1023,"line":247},[4159],{"type":993,"tag":1021,"props":4160,"children":4161},{"emptyLinePlaceholder":13},[4162],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4164,"children":4165},{"class":1023,"line":256},[4166],{"type":993,"tag":1021,"props":4167,"children":4168},{"style":1027},[4169],{"type":998,"value":4170},"# Usage example\n",{"type":993,"tag":1021,"props":4172,"children":4173},{"class":1023,"line":265},[4174,4179,4183],{"type":993,"tag":1021,"props":4175,"children":4176},{"style":1036},[4177],{"type":998,"value":4178},"ac ",{"type":993,"tag":1021,"props":4180,"children":4181},{"style":1042},[4182],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4184,"children":4185},{"style":1036},[4186],{"type":998,"value":4187}," AccessControl()\n",{"type":993,"tag":1021,"props":4189,"children":4190},{"class":1023,"line":274},[4191,4196,4200,4204,4208,4212,4216,4220,4224],{"type":993,"tag":1021,"props":4192,"children":4193},{"style":1036},[4194],{"type":998,"value":4195},"required ",{"type":993,"tag":1021,"props":4197,"children":4198},{"style":1042},[4199],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4201,"children":4202},{"style":1036},[4203],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4205,"children":4206},{"style":1053},[4207],{"type":998,"value":1440},{"type":993,"tag":1021,"props":4209,"children":4210},{"style":1036},[4211],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4213,"children":4214},{"style":1053},[4215],{"type":998,"value":1449},{"type":993,"tag":1021,"props":4217,"children":4218},{"style":1036},[4219],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4221,"children":4222},{"style":1053},[4223],{"type":998,"value":1458},{"type":993,"tag":1021,"props":4225,"children":4226},{"style":1036},[4227],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4229,"children":4230},{"class":1023,"line":284},[4231],{"type":993,"tag":1021,"props":4232,"children":4233},{"emptyLinePlaceholder":13},[4234],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4236,"children":4237},{"class":1023,"line":293},[4238,4242,4246,4251,4256,4260],{"type":993,"tag":1021,"props":4239,"children":4240},{"style":1151},[4241],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4243,"children":4244},{"style":1036},[4245],{"type":998,"value":1159},{"type":993,"tag":1021,"props":4247,"children":4248},{"style":1053},[4249],{"type":998,"value":4250},"\"Admin access:\"",{"type":993,"tag":1021,"props":4252,"children":4253},{"style":1036},[4254],{"type":998,"value":4255},", ac.check_access(",{"type":993,"tag":1021,"props":4257,"children":4258},{"style":1053},[4259],{"type":998,"value":1467},{"type":993,"tag":1021,"props":4261,"children":4262},{"style":1036},[4263],{"type":998,"value":4264},", required))\n",{"type":993,"tag":1021,"props":4266,"children":4267},{"class":1023,"line":302},[4268,4272,4276,4281,4285,4290],{"type":993,"tag":1021,"props":4269,"children":4270},{"style":1151},[4271],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4273,"children":4274},{"style":1036},[4275],{"type":998,"value":1159},{"type":993,"tag":1021,"props":4277,"children":4278},{"style":1053},[4279],{"type":998,"value":4280},"\"User access:\"",{"type":993,"tag":1021,"props":4282,"children":4283},{"style":1036},[4284],{"type":998,"value":4255},{"type":993,"tag":1021,"props":4286,"children":4287},{"style":1053},[4288],{"type":998,"value":4289},"'user'",{"type":993,"tag":1021,"props":4291,"children":4292},{"style":1036},[4293],{"type":998,"value":4264},{"type":993,"tag":1021,"props":4295,"children":4296},{"class":1023,"line":311},[4297,4301,4305,4310,4315,4319],{"type":993,"tag":1021,"props":4298,"children":4299},{"style":1151},[4300],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4302,"children":4303},{"style":1036},[4304],{"type":998,"value":1159},{"type":993,"tag":1021,"props":4306,"children":4307},{"style":1053},[4308],{"type":998,"value":4309},"\"Missing for user:\"",{"type":993,"tag":1021,"props":4311,"children":4312},{"style":1036},[4313],{"type":998,"value":4314},", ac.get_missing_permissions(",{"type":993,"tag":1021,"props":4316,"children":4317},{"style":1053},[4318],{"type":998,"value":4289},{"type":993,"tag":1021,"props":4320,"children":4321},{"style":1036},[4322],{"type":998,"value":4264},{"type":993,"tag":1183,"props":4324,"children":4326},{"id":4325},"data-validation",[4327],{"type":998,"value":4328},"Data Validation",{"type":993,"tag":1001,"props":4330,"children":4331},{},[4332],{"type":998,"value":4333},"Data validation systems use set operations to verify completeness, identify missing fields, and detect unexpected data elements.",{"type":993,"tag":1007,"props":4335,"children":4336},{},[4337],{"type":993,"tag":1011,"props":4338,"children":4340},{"className":1013,"code":4339,"language":6,"meta":8,"style":8},"def validate_data_completeness(required_fields, provided_fields):\n    \"\"\"Validate if all required fields are provided\"\"\"\n    required = set(required_fields)\n    provided = set(provided_fields)\n    \n    return {\n        'complete': required.issubset(provided),\n        'missing': required - provided,\n        'extra': provided - required,\n        'valid': required & provided\n    }\n\n# Example usage\nrequired = ['name', 'email', 'age']\nprovided = ['name', 'email', 'phone']\n\nvalidation = validate_data_completeness(required, provided)\nprint(\"Validation result:\", validation)\n",[4341],{"type":993,"tag":1017,"props":4342,"children":4343},{"__ignoreMap":8},[4344,4361,4369,4391,4412,4419,4430,4443,4465,4487,4509,4517,4524,4532,4574,4615,4622,4639],{"type":993,"tag":1021,"props":4345,"children":4346},{"class":1023,"line":12},[4347,4351,4356],{"type":993,"tag":1021,"props":4348,"children":4349},{"style":1042},[4350],{"type":998,"value":2950},{"type":993,"tag":1021,"props":4352,"children":4353},{"style":2953},[4354],{"type":998,"value":4355}," validate_data_completeness",{"type":993,"tag":1021,"props":4357,"children":4358},{"style":1036},[4359],{"type":998,"value":4360},"(required_fields, provided_fields):\n",{"type":993,"tag":1021,"props":4362,"children":4363},{"class":1023,"line":27},[4364],{"type":993,"tag":1021,"props":4365,"children":4366},{"style":1053},[4367],{"type":998,"value":4368},"    \"\"\"Validate if all required fields are provided\"\"\"\n",{"type":993,"tag":1021,"props":4370,"children":4371},{"class":1023,"line":36},[4372,4377,4381,4386],{"type":993,"tag":1021,"props":4373,"children":4374},{"style":1036},[4375],{"type":998,"value":4376},"    required ",{"type":993,"tag":1021,"props":4378,"children":4379},{"style":1042},[4380],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4382,"children":4383},{"style":1151},[4384],{"type":998,"value":4385}," set",{"type":993,"tag":1021,"props":4387,"children":4388},{"style":1036},[4389],{"type":998,"value":4390},"(required_fields)\n",{"type":993,"tag":1021,"props":4392,"children":4393},{"class":1023,"line":45},[4394,4399,4403,4407],{"type":993,"tag":1021,"props":4395,"children":4396},{"style":1036},[4397],{"type":998,"value":4398},"    provided ",{"type":993,"tag":1021,"props":4400,"children":4401},{"style":1042},[4402],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4404,"children":4405},{"style":1151},[4406],{"type":998,"value":4385},{"type":993,"tag":1021,"props":4408,"children":4409},{"style":1036},[4410],{"type":998,"value":4411},"(provided_fields)\n",{"type":993,"tag":1021,"props":4413,"children":4414},{"class":1023,"line":54},[4415],{"type":993,"tag":1021,"props":4416,"children":4417},{"style":1036},[4418],{"type":998,"value":3016},{"type":993,"tag":1021,"props":4420,"children":4421},{"class":1023,"line":63},[4422,4426],{"type":993,"tag":1021,"props":4423,"children":4424},{"style":1042},[4425],{"type":998,"value":3122},{"type":993,"tag":1021,"props":4427,"children":4428},{"style":1036},[4429],{"type":998,"value":3881},{"type":993,"tag":1021,"props":4431,"children":4432},{"class":1023,"line":72},[4433,4438],{"type":993,"tag":1021,"props":4434,"children":4435},{"style":1053},[4436],{"type":998,"value":4437},"        'complete'",{"type":993,"tag":1021,"props":4439,"children":4440},{"style":1036},[4441],{"type":998,"value":4442},": required.issubset(provided),\n",{"type":993,"tag":1021,"props":4444,"children":4445},{"class":1023,"line":81},[4446,4451,4456,4460],{"type":993,"tag":1021,"props":4447,"children":4448},{"style":1053},[4449],{"type":998,"value":4450},"        'missing'",{"type":993,"tag":1021,"props":4452,"children":4453},{"style":1036},[4454],{"type":998,"value":4455},": required ",{"type":993,"tag":1021,"props":4457,"children":4458},{"style":1042},[4459],{"type":998,"value":4150},{"type":993,"tag":1021,"props":4461,"children":4462},{"style":1036},[4463],{"type":998,"value":4464}," provided,\n",{"type":993,"tag":1021,"props":4466,"children":4467},{"class":1023,"line":91},[4468,4473,4478,4482],{"type":993,"tag":1021,"props":4469,"children":4470},{"style":1053},[4471],{"type":998,"value":4472},"        'extra'",{"type":993,"tag":1021,"props":4474,"children":4475},{"style":1036},[4476],{"type":998,"value":4477},": provided ",{"type":993,"tag":1021,"props":4479,"children":4480},{"style":1042},[4481],{"type":998,"value":4150},{"type":993,"tag":1021,"props":4483,"children":4484},{"style":1036},[4485],{"type":998,"value":4486}," required,\n",{"type":993,"tag":1021,"props":4488,"children":4489},{"class":1023,"line":100},[4490,4495,4499,4504],{"type":993,"tag":1021,"props":4491,"children":4492},{"style":1053},[4493],{"type":998,"value":4494},"        'valid'",{"type":993,"tag":1021,"props":4496,"children":4497},{"style":1036},[4498],{"type":998,"value":4455},{"type":993,"tag":1021,"props":4500,"children":4501},{"style":1042},[4502],{"type":998,"value":4503},"&",{"type":993,"tag":1021,"props":4505,"children":4506},{"style":1036},[4507],{"type":998,"value":4508}," provided\n",{"type":993,"tag":1021,"props":4510,"children":4511},{"class":1023,"line":109},[4512],{"type":993,"tag":1021,"props":4513,"children":4514},{"style":1036},[4515],{"type":998,"value":4516},"    }\n",{"type":993,"tag":1021,"props":4518,"children":4519},{"class":1023,"line":118},[4520],{"type":993,"tag":1021,"props":4521,"children":4522},{"emptyLinePlaceholder":13},[4523],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4525,"children":4526},{"class":1023,"line":127},[4527],{"type":993,"tag":1021,"props":4528,"children":4529},{"style":1027},[4530],{"type":998,"value":4531},"# Example usage\n",{"type":993,"tag":1021,"props":4533,"children":4534},{"class":1023,"line":136},[4535,4539,4543,4547,4552,4556,4561,4565,4570],{"type":993,"tag":1021,"props":4536,"children":4537},{"style":1036},[4538],{"type":998,"value":4195},{"type":993,"tag":1021,"props":4540,"children":4541},{"style":1042},[4542],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4544,"children":4545},{"style":1036},[4546],{"type":998,"value":3460},{"type":993,"tag":1021,"props":4548,"children":4549},{"style":1053},[4550],{"type":998,"value":4551},"'name'",{"type":993,"tag":1021,"props":4553,"children":4554},{"style":1036},[4555],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4557,"children":4558},{"style":1053},[4559],{"type":998,"value":4560},"'email'",{"type":993,"tag":1021,"props":4562,"children":4563},{"style":1036},[4564],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4566,"children":4567},{"style":1053},[4568],{"type":998,"value":4569},"'age'",{"type":993,"tag":1021,"props":4571,"children":4572},{"style":1036},[4573],{"type":998,"value":3496},{"type":993,"tag":1021,"props":4575,"children":4576},{"class":1023,"line":146},[4577,4582,4586,4590,4594,4598,4602,4606,4611],{"type":993,"tag":1021,"props":4578,"children":4579},{"style":1036},[4580],{"type":998,"value":4581},"provided ",{"type":993,"tag":1021,"props":4583,"children":4584},{"style":1042},[4585],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4587,"children":4588},{"style":1036},[4589],{"type":998,"value":3460},{"type":993,"tag":1021,"props":4591,"children":4592},{"style":1053},[4593],{"type":998,"value":4551},{"type":993,"tag":1021,"props":4595,"children":4596},{"style":1036},[4597],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4599,"children":4600},{"style":1053},[4601],{"type":998,"value":4560},{"type":993,"tag":1021,"props":4603,"children":4604},{"style":1036},[4605],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4607,"children":4608},{"style":1053},[4609],{"type":998,"value":4610},"'phone'",{"type":993,"tag":1021,"props":4612,"children":4613},{"style":1036},[4614],{"type":998,"value":3496},{"type":993,"tag":1021,"props":4616,"children":4617},{"class":1023,"line":155},[4618],{"type":993,"tag":1021,"props":4619,"children":4620},{"emptyLinePlaceholder":13},[4621],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4623,"children":4624},{"class":1023,"line":164},[4625,4630,4634],{"type":993,"tag":1021,"props":4626,"children":4627},{"style":1036},[4628],{"type":998,"value":4629},"validation ",{"type":993,"tag":1021,"props":4631,"children":4632},{"style":1042},[4633],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4635,"children":4636},{"style":1036},[4637],{"type":998,"value":4638}," validate_data_completeness(required, provided)\n",{"type":993,"tag":1021,"props":4640,"children":4641},{"class":1023,"line":173},[4642,4646,4650,4655],{"type":993,"tag":1021,"props":4643,"children":4644},{"style":1151},[4645],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4647,"children":4648},{"style":1036},[4649],{"type":998,"value":1159},{"type":993,"tag":1021,"props":4651,"children":4652},{"style":1053},[4653],{"type":998,"value":4654},"\"Validation result:\"",{"type":993,"tag":1021,"props":4656,"children":4657},{"style":1036},[4658],{"type":998,"value":4659},", validation)\n",{"type":993,"tag":1920,"props":4661,"children":4665},{"emoji":4662,"title":4663,"type":4664},"✅","Best Practices","success",[4666,4676,4686,4696],{"type":993,"tag":1001,"props":4667,"children":4668},{},[4669,4674],{"type":993,"tag":1930,"props":4670,"children":4671},{},[4672],{"type":998,"value":4673},"Choose Right Operation:",{"type":998,"value":4675}," Use issubset() for validation, isdisjoint() for conflict checking.",{"type":993,"tag":1001,"props":4677,"children":4678},{},[4679,4684],{"type":993,"tag":1930,"props":4680,"children":4681},{},[4682],{"type":998,"value":4683},"Performance Awareness:",{"type":998,"value":4685}," Set operations are optimized but consider data size for complex operations.",{"type":993,"tag":1001,"props":4687,"children":4688},{},[4689,4694],{"type":993,"tag":1930,"props":4690,"children":4691},{},[4692],{"type":998,"value":4693},"Clear Intent:",{"type":998,"value":4695}," Use descriptive variable names to make set relationships obvious.",{"type":993,"tag":1001,"props":4697,"children":4698},{},[4699,4704],{"type":993,"tag":1930,"props":4700,"children":4701},{},[4702],{"type":998,"value":4703},"Error Handling:",{"type":998,"value":4705}," Consider empty set cases in your set operation logic.",{"type":993,"tag":4707,"props":4708,"children":4710},"content-exercise",{":widget-view":4709,"category":6,"id":510},"true",[],{"type":993,"tag":1001,"props":4712,"children":4713},{},[4714,4716,4722],{"type":998,"value":4715},"Learn more about ",{"type":993,"tag":4717,"props":4718,"children":4719},"a",{"href":516},[4720],{"type":998,"value":4721},"Python dictionaries",{"type":998,"value":4723}," to explore key-value data structures and their powerful manipulation capabilities.",{"type":993,"tag":4725,"props":4726,"children":4729},"exercise",{"hint":4727,"prompt":4728},"Use the isdisjoint() method to check if two sets have no common elements","Create a function that checks if two groups of students have completely different members (no overlapping students). Return True if no students are in both groups.",[4730],{"type":993,"tag":1011,"props":4731,"children":4733},{"className":1013,"code":4732,"language":6,"meta":8,"style":8},"def groups_have_no_overlap(group1, group2):\n    # TODO: Check if the two groups have no common students\n    # TODO: Return True if no overlap, False if there are common students\n    pass\n\n# Test data\ngroup_a = {'Alice', 'Bob', 'Charlie'}\ngroup_b = {'David', 'Eve', 'Frank'}\ngroup_c = {'Charlie', 'Grace', 'Henry'}\n\nresult1 = groups_have_no_overlap(group_a, group_b)\nresult2 = groups_have_no_overlap(group_a, group_c)\n\nprint(f\"Group A and B have no overlap: {result1}\")\nprint(f\"Group A and C have no overlap: {result2}\")\n",[4734],{"type":993,"tag":1017,"props":4735,"children":4736},{"__ignoreMap":8},[4737,4754,4772,4788,4796,4803,4811,4851,4894,4936,4943,4960,4977,4984,5026],{"type":993,"tag":1021,"props":4738,"children":4739},{"class":1023,"line":12},[4740,4744,4749],{"type":993,"tag":1021,"props":4741,"children":4742},{"style":1042},[4743],{"type":998,"value":2950},{"type":993,"tag":1021,"props":4745,"children":4746},{"style":2953},[4747],{"type":998,"value":4748}," groups_have_no_overlap",{"type":993,"tag":1021,"props":4750,"children":4751},{"style":1036},[4752],{"type":998,"value":4753},"(group1, group2):\n",{"type":993,"tag":1021,"props":4755,"children":4756},{"class":1023,"line":27},[4757,4762,4767],{"type":993,"tag":1021,"props":4758,"children":4759},{"style":1027},[4760],{"type":998,"value":4761},"    # ",{"type":993,"tag":1021,"props":4763,"children":4764},{"style":1042},[4765],{"type":998,"value":4766},"TODO",{"type":993,"tag":1021,"props":4768,"children":4769},{"style":1027},[4770],{"type":998,"value":4771},": Check if the two groups have no common students\n",{"type":993,"tag":1021,"props":4773,"children":4774},{"class":1023,"line":36},[4775,4779,4783],{"type":993,"tag":1021,"props":4776,"children":4777},{"style":1027},[4778],{"type":998,"value":4761},{"type":993,"tag":1021,"props":4780,"children":4781},{"style":1042},[4782],{"type":998,"value":4766},{"type":993,"tag":1021,"props":4784,"children":4785},{"style":1027},[4786],{"type":998,"value":4787},": Return True if no overlap, False if there are common students\n",{"type":993,"tag":1021,"props":4789,"children":4790},{"class":1023,"line":45},[4791],{"type":993,"tag":1021,"props":4792,"children":4793},{"style":1042},[4794],{"type":998,"value":4795},"    pass\n",{"type":993,"tag":1021,"props":4797,"children":4798},{"class":1023,"line":54},[4799],{"type":993,"tag":1021,"props":4800,"children":4801},{"emptyLinePlaceholder":13},[4802],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4804,"children":4805},{"class":1023,"line":63},[4806],{"type":993,"tag":1021,"props":4807,"children":4808},{"style":1027},[4809],{"type":998,"value":4810},"# Test data\n",{"type":993,"tag":1021,"props":4812,"children":4813},{"class":1023,"line":72},[4814,4819,4823,4827,4831,4835,4839,4843,4847],{"type":993,"tag":1021,"props":4815,"children":4816},{"style":1036},[4817],{"type":998,"value":4818},"group_a ",{"type":993,"tag":1021,"props":4820,"children":4821},{"style":1042},[4822],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4824,"children":4825},{"style":1036},[4826],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4828,"children":4829},{"style":1053},[4830],{"type":998,"value":1056},{"type":993,"tag":1021,"props":4832,"children":4833},{"style":1036},[4834],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4836,"children":4837},{"style":1053},[4838],{"type":998,"value":1066},{"type":993,"tag":1021,"props":4840,"children":4841},{"style":1036},[4842],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4844,"children":4845},{"style":1053},[4846],{"type":998,"value":1075},{"type":993,"tag":1021,"props":4848,"children":4849},{"style":1036},[4850],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4852,"children":4853},{"class":1023,"line":81},[4854,4859,4863,4867,4872,4876,4881,4885,4890],{"type":993,"tag":1021,"props":4855,"children":4856},{"style":1036},[4857],{"type":998,"value":4858},"group_b ",{"type":993,"tag":1021,"props":4860,"children":4861},{"style":1042},[4862],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4864,"children":4865},{"style":1036},[4866],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4868,"children":4869},{"style":1053},[4870],{"type":998,"value":4871},"'David'",{"type":993,"tag":1021,"props":4873,"children":4874},{"style":1036},[4875],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4877,"children":4878},{"style":1053},[4879],{"type":998,"value":4880},"'Eve'",{"type":993,"tag":1021,"props":4882,"children":4883},{"style":1036},[4884],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4886,"children":4887},{"style":1053},[4888],{"type":998,"value":4889},"'Frank'",{"type":993,"tag":1021,"props":4891,"children":4892},{"style":1036},[4893],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4895,"children":4896},{"class":1023,"line":91},[4897,4902,4906,4910,4914,4918,4923,4927,4932],{"type":993,"tag":1021,"props":4898,"children":4899},{"style":1036},[4900],{"type":998,"value":4901},"group_c ",{"type":993,"tag":1021,"props":4903,"children":4904},{"style":1042},[4905],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4907,"children":4908},{"style":1036},[4909],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4911,"children":4912},{"style":1053},[4913],{"type":998,"value":1075},{"type":993,"tag":1021,"props":4915,"children":4916},{"style":1036},[4917],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4919,"children":4920},{"style":1053},[4921],{"type":998,"value":4922},"'Grace'",{"type":993,"tag":1021,"props":4924,"children":4925},{"style":1036},[4926],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4928,"children":4929},{"style":1053},[4930],{"type":998,"value":4931},"'Henry'",{"type":993,"tag":1021,"props":4933,"children":4934},{"style":1036},[4935],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4937,"children":4938},{"class":1023,"line":100},[4939],{"type":993,"tag":1021,"props":4940,"children":4941},{"emptyLinePlaceholder":13},[4942],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4944,"children":4945},{"class":1023,"line":109},[4946,4951,4955],{"type":993,"tag":1021,"props":4947,"children":4948},{"style":1036},[4949],{"type":998,"value":4950},"result1 ",{"type":993,"tag":1021,"props":4952,"children":4953},{"style":1042},[4954],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4956,"children":4957},{"style":1036},[4958],{"type":998,"value":4959}," groups_have_no_overlap(group_a, group_b)\n",{"type":993,"tag":1021,"props":4961,"children":4962},{"class":1023,"line":118},[4963,4968,4972],{"type":993,"tag":1021,"props":4964,"children":4965},{"style":1036},[4966],{"type":998,"value":4967},"result2 ",{"type":993,"tag":1021,"props":4969,"children":4970},{"style":1042},[4971],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4973,"children":4974},{"style":1036},[4975],{"type":998,"value":4976}," groups_have_no_overlap(group_a, group_c)\n",{"type":993,"tag":1021,"props":4978,"children":4979},{"class":1023,"line":127},[4980],{"type":993,"tag":1021,"props":4981,"children":4982},{"emptyLinePlaceholder":13},[4983],{"type":998,"value":1120},{"type":993,"tag":1021,"props":4985,"children":4986},{"class":1023,"line":136},[4987,4991,4995,4999,5004,5008,5013,5017,5022],{"type":993,"tag":1021,"props":4988,"children":4989},{"style":1151},[4990],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4992,"children":4993},{"style":1036},[4994],{"type":998,"value":1159},{"type":993,"tag":1021,"props":4996,"children":4997},{"style":1042},[4998],{"type":998,"value":3207},{"type":993,"tag":1021,"props":5000,"children":5001},{"style":1053},[5002],{"type":998,"value":5003},"\"Group A and B have no overlap: ",{"type":993,"tag":1021,"props":5005,"children":5006},{"style":1151},[5007],{"type":998,"value":3217},{"type":993,"tag":1021,"props":5009,"children":5010},{"style":1036},[5011],{"type":998,"value":5012},"result1",{"type":993,"tag":1021,"props":5014,"children":5015},{"style":1151},[5016],{"type":998,"value":3227},{"type":993,"tag":1021,"props":5018,"children":5019},{"style":1053},[5020],{"type":998,"value":5021},"\"",{"type":993,"tag":1021,"props":5023,"children":5024},{"style":1036},[5025],{"type":998,"value":3237},{"type":993,"tag":1021,"props":5027,"children":5028},{"class":1023,"line":146},[5029,5033,5037,5041,5046,5050,5055,5059,5063],{"type":993,"tag":1021,"props":5030,"children":5031},{"style":1151},[5032],{"type":998,"value":1154},{"type":993,"tag":1021,"props":5034,"children":5035},{"style":1036},[5036],{"type":998,"value":1159},{"type":993,"tag":1021,"props":5038,"children":5039},{"style":1042},[5040],{"type":998,"value":3207},{"type":993,"tag":1021,"props":5042,"children":5043},{"style":1053},[5044],{"type":998,"value":5045},"\"Group A and C have no overlap: ",{"type":993,"tag":1021,"props":5047,"children":5048},{"style":1151},[5049],{"type":998,"value":3217},{"type":993,"tag":1021,"props":5051,"children":5052},{"style":1036},[5053],{"type":998,"value":5054},"result2",{"type":993,"tag":1021,"props":5056,"children":5057},{"style":1151},[5058],{"type":998,"value":3227},{"type":993,"tag":1021,"props":5060,"children":5061},{"style":1053},[5062],{"type":998,"value":5021},{"type":993,"tag":1021,"props":5064,"children":5065},{"style":1036},[5066],{"type":998,"value":3237},{"type":993,"tag":1183,"props":5068,"children":5070},{"id":5069},"solution-and-explanation",[5071],{"type":998,"value":5072},"Solution and Explanation 💡",{"type":993,"tag":5074,"props":5075,"children":5076},"details",{},[5077,5085,5383,5391],{"type":993,"tag":5078,"props":5079,"children":5082},"summary",{"className":5080},[5081],"cursor-pointer",[5083],{"type":998,"value":5084},"Click to see the complete solution",{"type":993,"tag":1007,"props":5086,"children":5087},{},[5088],{"type":993,"tag":1011,"props":5089,"children":5091},{"className":1013,"code":5090,"language":6,"meta":8,"style":8},"def groups_have_no_overlap(group1, group2):\n    # Check if the two groups have no common students\n    return group1.isdisjoint(group2)\n\n# Test data\ngroup_a = {'Alice', 'Bob', 'Charlie'}\ngroup_b = {'David', 'Eve', 'Frank'}\ngroup_c = {'Charlie', 'Grace', 'Henry'}\n\nresult1 = groups_have_no_overlap(group_a, group_b)\nresult2 = groups_have_no_overlap(group_a, group_c)\n\nprint(f\"Group A and B have no overlap: {result1}\")\nprint(f\"Group A and C have no overlap: {result2}\")\n",[5092],{"type":993,"tag":1017,"props":5093,"children":5094},{"__ignoreMap":8},[5095,5110,5118,5130,5137,5144,5183,5222,5261,5268,5283,5298,5305,5344],{"type":993,"tag":1021,"props":5096,"children":5097},{"class":1023,"line":12},[5098,5102,5106],{"type":993,"tag":1021,"props":5099,"children":5100},{"style":1042},[5101],{"type":998,"value":2950},{"type":993,"tag":1021,"props":5103,"children":5104},{"style":2953},[5105],{"type":998,"value":4748},{"type":993,"tag":1021,"props":5107,"children":5108},{"style":1036},[5109],{"type":998,"value":4753},{"type":993,"tag":1021,"props":5111,"children":5112},{"class":1023,"line":27},[5113],{"type":993,"tag":1021,"props":5114,"children":5115},{"style":1027},[5116],{"type":998,"value":5117},"    # Check if the two groups have no common students\n",{"type":993,"tag":1021,"props":5119,"children":5120},{"class":1023,"line":36},[5121,5125],{"type":993,"tag":1021,"props":5122,"children":5123},{"style":1042},[5124],{"type":998,"value":3122},{"type":993,"tag":1021,"props":5126,"children":5127},{"style":1036},[5128],{"type":998,"value":5129}," group1.isdisjoint(group2)\n",{"type":993,"tag":1021,"props":5131,"children":5132},{"class":1023,"line":45},[5133],{"type":993,"tag":1021,"props":5134,"children":5135},{"emptyLinePlaceholder":13},[5136],{"type":998,"value":1120},{"type":993,"tag":1021,"props":5138,"children":5139},{"class":1023,"line":54},[5140],{"type":993,"tag":1021,"props":5141,"children":5142},{"style":1027},[5143],{"type":998,"value":4810},{"type":993,"tag":1021,"props":5145,"children":5146},{"class":1023,"line":63},[5147,5151,5155,5159,5163,5167,5171,5175,5179],{"type":993,"tag":1021,"props":5148,"children":5149},{"style":1036},[5150],{"type":998,"value":4818},{"type":993,"tag":1021,"props":5152,"children":5153},{"style":1042},[5154],{"type":998,"value":1045},{"type":993,"tag":1021,"props":5156,"children":5157},{"style":1036},[5158],{"type":998,"value":1050},{"type":993,"tag":1021,"props":5160,"children":5161},{"style":1053},[5162],{"type":998,"value":1056},{"type":993,"tag":1021,"props":5164,"children":5165},{"style":1036},[5166],{"type":998,"value":1061},{"type":993,"tag":1021,"props":5168,"children":5169},{"style":1053},[5170],{"type":998,"value":1066},{"type":993,"tag":1021,"props":5172,"children":5173},{"style":1036},[5174],{"type":998,"value":1061},{"type":993,"tag":1021,"props":5176,"children":5177},{"style":1053},[5178],{"type":998,"value":1075},{"type":993,"tag":1021,"props":5180,"children":5181},{"style":1036},[5182],{"type":998,"value":1080},{"type":993,"tag":1021,"props":5184,"children":5185},{"class":1023,"line":72},[5186,5190,5194,5198,5202,5206,5210,5214,5218],{"type":993,"tag":1021,"props":5187,"children":5188},{"style":1036},[5189],{"type":998,"value":4858},{"type":993,"tag":1021,"props":5191,"children":5192},{"style":1042},[5193],{"type":998,"value":1045},{"type":993,"tag":1021,"props":5195,"children":5196},{"style":1036},[5197],{"type":998,"value":1050},{"type":993,"tag":1021,"props":5199,"children":5200},{"style":1053},[5201],{"type":998,"value":4871},{"type":993,"tag":1021,"props":5203,"children":5204},{"style":1036},[5205],{"type":998,"value":1061},{"type":993,"tag":1021,"props":5207,"children":5208},{"style":1053},[5209],{"type":998,"value":4880},{"type":993,"tag":1021,"props":5211,"children":5212},{"style":1036},[5213],{"type":998,"value":1061},{"type":993,"tag":1021,"props":5215,"children":5216},{"style":1053},[5217],{"type":998,"value":4889},{"type":993,"tag":1021,"props":5219,"children":5220},{"style":1036},[5221],{"type":998,"value":1080},{"type":993,"tag":1021,"props":5223,"children":5224},{"class":1023,"line":81},[5225,5229,5233,5237,5241,5245,5249,5253,5257],{"type":993,"tag":1021,"props":5226,"children":5227},{"style":1036},[5228],{"type":998,"value":4901},{"type":993,"tag":1021,"props":5230,"children":5231},{"style":1042},[5232],{"type":998,"value":1045},{"type":993,"tag":1021,"props":5234,"children":5235},{"style":1036},[5236],{"type":998,"value":1050},{"type":993,"tag":1021,"props":5238,"children":5239},{"style":1053},[5240],{"type":998,"value":1075},{"type":993,"tag":1021,"props":5242,"children":5243},{"style":1036},[5244],{"type":998,"value":1061},{"type":993,"tag":1021,"props":5246,"children":5247},{"style":1053},[5248],{"type":998,"value":4922},{"type":993,"tag":1021,"props":5250,"children":5251},{"style":1036},[5252],{"type":998,"value":1061},{"type":993,"tag":1021,"props":5254,"children":5255},{"style":1053},[5256],{"type":998,"value":4931},{"type":993,"tag":1021,"props":5258,"children":5259},{"style":1036},[5260],{"type":998,"value":1080},{"type":993,"tag":1021,"props":5262,"children":5263},{"class":1023,"line":91},[5264],{"type":993,"tag":1021,"props":5265,"children":5266},{"emptyLinePlaceholder":13},[5267],{"type":998,"value":1120},{"type":993,"tag":1021,"props":5269,"children":5270},{"class":1023,"line":100},[5271,5275,5279],{"type":993,"tag":1021,"props":5272,"children":5273},{"style":1036},[5274],{"type":998,"value":4950},{"type":993,"tag":1021,"props":5276,"children":5277},{"style":1042},[5278],{"type":998,"value":1045},{"type":993,"tag":1021,"props":5280,"children":5281},{"style":1036},[5282],{"type":998,"value":4959},{"type":993,"tag":1021,"props":5284,"children":5285},{"class":1023,"line":109},[5286,5290,5294],{"type":993,"tag":1021,"props":5287,"children":5288},{"style":1036},[5289],{"type":998,"value":4967},{"type":993,"tag":1021,"props":5291,"children":5292},{"style":1042},[5293],{"type":998,"value":1045},{"type":993,"tag":1021,"props":5295,"children":5296},{"style":1036},[5297],{"type":998,"value":4976},{"type":993,"tag":1021,"props":5299,"children":5300},{"class":1023,"line":118},[5301],{"type":993,"tag":1021,"props":5302,"children":5303},{"emptyLinePlaceholder":13},[5304],{"type":998,"value":1120},{"type":993,"tag":1021,"props":5306,"children":5307},{"class":1023,"line":127},[5308,5312,5316,5320,5324,5328,5332,5336,5340],{"type":993,"tag":1021,"props":5309,"children":5310},{"style":1151},[5311],{"type":998,"value":1154},{"type":993,"tag":1021,"props":5313,"children":5314},{"style":1036},[5315],{"type":998,"value":1159},{"type":993,"tag":1021,"props":5317,"children":5318},{"style":1042},[5319],{"type":998,"value":3207},{"type":993,"tag":1021,"props":5321,"children":5322},{"style":1053},[5323],{"type":998,"value":5003},{"type":993,"tag":1021,"props":5325,"children":5326},{"style":1151},[5327],{"type":998,"value":3217},{"type":993,"tag":1021,"props":5329,"children":5330},{"style":1036},[5331],{"type":998,"value":5012},{"type":993,"tag":1021,"props":5333,"children":5334},{"style":1151},[5335],{"type":998,"value":3227},{"type":993,"tag":1021,"props":5337,"children":5338},{"style":1053},[5339],{"type":998,"value":5021},{"type":993,"tag":1021,"props":5341,"children":5342},{"style":1036},[5343],{"type":998,"value":3237},{"type":993,"tag":1021,"props":5345,"children":5346},{"class":1023,"line":136},[5347,5351,5355,5359,5363,5367,5371,5375,5379],{"type":993,"tag":1021,"props":5348,"children":5349},{"style":1151},[5350],{"type":998,"value":1154},{"type":993,"tag":1021,"props":5352,"children":5353},{"style":1036},[5354],{"type":998,"value":1159},{"type":993,"tag":1021,"props":5356,"children":5357},{"style":1042},[5358],{"type":998,"value":3207},{"type":993,"tag":1021,"props":5360,"children":5361},{"style":1053},[5362],{"type":998,"value":5045},{"type":993,"tag":1021,"props":5364,"children":5365},{"style":1151},[5366],{"type":998,"value":3217},{"type":993,"tag":1021,"props":5368,"children":5369},{"style":1036},[5370],{"type":998,"value":5054},{"type":993,"tag":1021,"props":5372,"children":5373},{"style":1151},[5374],{"type":998,"value":3227},{"type":993,"tag":1021,"props":5376,"children":5377},{"style":1053},[5378],{"type":998,"value":5021},{"type":993,"tag":1021,"props":5380,"children":5381},{"style":1036},[5382],{"type":998,"value":3237},{"type":993,"tag":1001,"props":5384,"children":5385},{},[5386],{"type":993,"tag":1930,"props":5387,"children":5388},{},[5389],{"type":998,"value":5390},"Key Learning Points:",{"type":993,"tag":1936,"props":5392,"children":5393},{},[5394,5406,5416,5427],{"type":993,"tag":1940,"props":5395,"children":5396},{},[5397,5399,5404],{"type":998,"value":5398},"📌 ",{"type":993,"tag":1930,"props":5400,"children":5401},{},[5402],{"type":998,"value":5403},"isdisjoint() method",{"type":998,"value":5405},": Returns True if two sets have no elements in common",{"type":993,"tag":1940,"props":5407,"children":5408},{},[5409,5410,5414],{"type":998,"value":5398},{"type":993,"tag":1930,"props":5411,"children":5412},{},[5413],{"type":998,"value":2209},{"type":998,"value":5415},": Perfect for checking if groups are completely separate",{"type":993,"tag":1940,"props":5417,"children":5418},{},[5419,5420,5425],{"type":998,"value":5398},{"type":993,"tag":1930,"props":5421,"children":5422},{},[5423],{"type":998,"value":5424},"Boolean result",{"type":998,"value":5426},": Returns True for no overlap, False if any common elements exist",{"type":993,"tag":1940,"props":5428,"children":5429},{},[5430,5431,5436],{"type":998,"value":5398},{"type":993,"tag":1930,"props":5432,"children":5433},{},[5434],{"type":998,"value":5435},"Practical use",{"type":998,"value":5437},": Great for checking conflicts, separate teams, or exclusive groups",{"type":993,"tag":1171,"props":5439,"children":5441},{"id":5440},"test-your-knowledge",[5442],{"type":998,"value":5443},"Test Your Knowledge",{"type":993,"tag":1001,"props":5445,"children":5446},{},[5447],{"type":998,"value":5448},"Test what you've learned about set operations:",{"type":993,"tag":5450,"props":5451,"children":5455},"redirect-button",{"icon":5452,"label":5453,"url":5454},"pi pi-send","Take Quiz","/tutorial-quiz/python/set-operations",[],{"type":993,"tag":1171,"props":5457,"children":5459},{"id":5458},"whats-next",[5460],{"type":998,"value":5461},"What's Next?",{"type":993,"tag":1001,"props":5463,"children":5464},{},[5465,5467,5471],{"type":998,"value":5466},"Congratulations! You've mastered Python sets. Now you're ready to explore ",{"type":993,"tag":4717,"props":5468,"children":5469},{"href":516},[5470],{"type":998,"value":517},{"type":998,"value":5472},", where you'll learn about key-value data structures that provide even more powerful data organization capabilities.",{"type":993,"tag":1001,"props":5474,"children":5475},{},[5476,5478,5482],{"type":998,"value":5477},"Ready to continue? Check out our lesson on ",{"type":993,"tag":4717,"props":5479,"children":5480},{"href":516},[5481],{"type":998,"value":517},{"type":998,"value":5483},".",{"type":993,"tag":5485,"props":5486,"children":5487},"style",{},[5488],{"type":998,"value":5489},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}html.app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}",{"title":8,"searchDepth":36,"depth":36,"links":5491},[5492,5497,5498,5499,5503,5504,5509,5510],{"id":1173,"depth":27,"text":1176,"children":5493},[5494,5495,5496],{"id":1185,"depth":36,"text":1188},{"id":1401,"depth":36,"text":1404},{"id":1617,"depth":36,"text":1620},{"id":1915,"depth":27,"text":1918},{"id":2222,"depth":27,"text":2225},{"id":2549,"depth":27,"text":2552,"children":5500},[5501,5502],{"id":2560,"depth":36,"text":2563},{"id":2894,"depth":36,"text":2897},{"id":3274,"depth":27,"text":3277},{"id":3654,"depth":27,"text":3657,"children":5505},[5506,5507,5508],{"id":3660,"depth":36,"text":3663},{"id":4325,"depth":36,"text":4328},{"id":5069,"depth":36,"text":5072},{"id":5440,"depth":27,"text":5443},{"id":5458,"depth":27,"text":5461},1782373741990]