[{"data":1,"prerenderedAt":5099},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/iterating-sets":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",[488],{"_path":489,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":490,"description":491,"slug":492,"parentId":443,"order":493,"body":989,"_type":15,"_id":494,"_source":17,"_file":495,"_stem":496,"_extension":20},{"type":990,"children":991,"toc":5082},"root",[992,1000,1006,1174,1181,1186,1446,1484,1490,1503,1808,1814,1819,2195,2201,2206,2462,2468,2473,2480,2485,2793,2799,2804,3110,3116,3121,3689,3695,3700,4098,4104,4266,4334,4339,4359,4610,4616,5036,5042,5047,5054,5060,5065,5076],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":492},[997],{"type":998,"value":999},"text","🔄 Iterating Sets",{"type":993,"tag":1001,"props":1002,"children":1003},"p",{},[1004],{"type":998,"value":1005},"Iterating through sets allows you to process each element individually. While sets are unordered, Python provides several efficient ways to loop through them and perform operations on their elements.",{"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 iteration\ncolors = {'red', 'blue', 'green'}\nprint(\"Colors in the set:\")\nfor color in colors:\n    print(f\"- {color}\")\n",[1016],{"type":993,"tag":1017,"props":1018,"children":1019},"code",{"__ignoreMap":8},[1020,1031,1081,1105,1128],{"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 iteration\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},"colors ",{"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},"'red'",{"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},"'blue'",{"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},"'green'",{"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,1090,1095,1100],{"type":993,"tag":1021,"props":1085,"children":1087},{"style":1086},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1088],{"type":998,"value":1089},"print",{"type":993,"tag":1021,"props":1091,"children":1092},{"style":1036},[1093],{"type":998,"value":1094},"(",{"type":993,"tag":1021,"props":1096,"children":1097},{"style":1053},[1098],{"type":998,"value":1099},"\"Colors in the set:\"",{"type":993,"tag":1021,"props":1101,"children":1102},{"style":1036},[1103],{"type":998,"value":1104},")\n",{"type":993,"tag":1021,"props":1106,"children":1107},{"class":1023,"line":45},[1108,1113,1118,1123],{"type":993,"tag":1021,"props":1109,"children":1110},{"style":1042},[1111],{"type":998,"value":1112},"for",{"type":993,"tag":1021,"props":1114,"children":1115},{"style":1036},[1116],{"type":998,"value":1117}," color ",{"type":993,"tag":1021,"props":1119,"children":1120},{"style":1042},[1121],{"type":998,"value":1122},"in",{"type":993,"tag":1021,"props":1124,"children":1125},{"style":1036},[1126],{"type":998,"value":1127}," colors:\n",{"type":993,"tag":1021,"props":1129,"children":1130},{"class":1023,"line":54},[1131,1136,1140,1145,1150,1155,1160,1165,1170],{"type":993,"tag":1021,"props":1132,"children":1133},{"style":1086},[1134],{"type":998,"value":1135},"    print",{"type":993,"tag":1021,"props":1137,"children":1138},{"style":1036},[1139],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1141,"children":1142},{"style":1042},[1143],{"type":998,"value":1144},"f",{"type":993,"tag":1021,"props":1146,"children":1147},{"style":1053},[1148],{"type":998,"value":1149},"\"- ",{"type":993,"tag":1021,"props":1151,"children":1152},{"style":1086},[1153],{"type":998,"value":1154},"{",{"type":993,"tag":1021,"props":1156,"children":1157},{"style":1036},[1158],{"type":998,"value":1159},"color",{"type":993,"tag":1021,"props":1161,"children":1162},{"style":1086},[1163],{"type":998,"value":1164},"}",{"type":993,"tag":1021,"props":1166,"children":1167},{"style":1053},[1168],{"type":998,"value":1169},"\"",{"type":993,"tag":1021,"props":1171,"children":1172},{"style":1036},[1173],{"type":998,"value":1104},{"type":993,"tag":1175,"props":1176,"children":1178},"h2",{"id":1177},"basic-for-loop-iteration",[1179],{"type":998,"value":1180},"🎯 Basic For Loop Iteration",{"type":993,"tag":1001,"props":1182,"children":1183},{},[1184],{"type":998,"value":1185},"The for loop provides direct access to each set element exactly once. This is the foundation for all set processing operations.",{"type":993,"tag":1007,"props":1187,"children":1188},{},[1189],{"type":993,"tag":1011,"props":1190,"children":1192},{"className":1013,"code":1191,"language":6,"meta":8,"style":8},"fruits = {'apple', 'banana', 'orange'}\n\n# Simple iteration\nfor fruit in fruits:\n    print(f\"I like {fruit}\")\n\nprint(\"\\nProcessing with conditions:\")\nfor fruit in fruits:\n    if len(fruit) > 5:\n        print(f\"{fruit} has more than 5 letters\")\n",[1193],{"type":993,"tag":1017,"props":1194,"children":1195},{"__ignoreMap":8},[1196,1239,1247,1255,1276,1317,1324,1353,1372,1405],{"type":993,"tag":1021,"props":1197,"children":1198},{"class":1023,"line":12},[1199,1204,1208,1212,1217,1221,1226,1230,1235],{"type":993,"tag":1021,"props":1200,"children":1201},{"style":1036},[1202],{"type":998,"value":1203},"fruits ",{"type":993,"tag":1021,"props":1205,"children":1206},{"style":1042},[1207],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1209,"children":1210},{"style":1036},[1211],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1213,"children":1214},{"style":1053},[1215],{"type":998,"value":1216},"'apple'",{"type":993,"tag":1021,"props":1218,"children":1219},{"style":1036},[1220],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1222,"children":1223},{"style":1053},[1224],{"type":998,"value":1225},"'banana'",{"type":993,"tag":1021,"props":1227,"children":1228},{"style":1036},[1229],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1231,"children":1232},{"style":1053},[1233],{"type":998,"value":1234},"'orange'",{"type":993,"tag":1021,"props":1236,"children":1237},{"style":1036},[1238],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1240,"children":1241},{"class":1023,"line":27},[1242],{"type":993,"tag":1021,"props":1243,"children":1244},{"emptyLinePlaceholder":13},[1245],{"type":998,"value":1246},"\n",{"type":993,"tag":1021,"props":1248,"children":1249},{"class":1023,"line":36},[1250],{"type":993,"tag":1021,"props":1251,"children":1252},{"style":1027},[1253],{"type":998,"value":1254},"# Simple iteration\n",{"type":993,"tag":1021,"props":1256,"children":1257},{"class":1023,"line":45},[1258,1262,1267,1271],{"type":993,"tag":1021,"props":1259,"children":1260},{"style":1042},[1261],{"type":998,"value":1112},{"type":993,"tag":1021,"props":1263,"children":1264},{"style":1036},[1265],{"type":998,"value":1266}," fruit ",{"type":993,"tag":1021,"props":1268,"children":1269},{"style":1042},[1270],{"type":998,"value":1122},{"type":993,"tag":1021,"props":1272,"children":1273},{"style":1036},[1274],{"type":998,"value":1275}," fruits:\n",{"type":993,"tag":1021,"props":1277,"children":1278},{"class":1023,"line":54},[1279,1283,1287,1291,1296,1300,1305,1309,1313],{"type":993,"tag":1021,"props":1280,"children":1281},{"style":1086},[1282],{"type":998,"value":1135},{"type":993,"tag":1021,"props":1284,"children":1285},{"style":1036},[1286],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1288,"children":1289},{"style":1042},[1290],{"type":998,"value":1144},{"type":993,"tag":1021,"props":1292,"children":1293},{"style":1053},[1294],{"type":998,"value":1295},"\"I like ",{"type":993,"tag":1021,"props":1297,"children":1298},{"style":1086},[1299],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1301,"children":1302},{"style":1036},[1303],{"type":998,"value":1304},"fruit",{"type":993,"tag":1021,"props":1306,"children":1307},{"style":1086},[1308],{"type":998,"value":1164},{"type":993,"tag":1021,"props":1310,"children":1311},{"style":1053},[1312],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1314,"children":1315},{"style":1036},[1316],{"type":998,"value":1104},{"type":993,"tag":1021,"props":1318,"children":1319},{"class":1023,"line":63},[1320],{"type":993,"tag":1021,"props":1321,"children":1322},{"emptyLinePlaceholder":13},[1323],{"type":998,"value":1246},{"type":993,"tag":1021,"props":1325,"children":1326},{"class":1023,"line":72},[1327,1331,1335,1339,1344,1349],{"type":993,"tag":1021,"props":1328,"children":1329},{"style":1086},[1330],{"type":998,"value":1089},{"type":993,"tag":1021,"props":1332,"children":1333},{"style":1036},[1334],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1336,"children":1337},{"style":1053},[1338],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1340,"children":1341},{"style":1086},[1342],{"type":998,"value":1343},"\\n",{"type":993,"tag":1021,"props":1345,"children":1346},{"style":1053},[1347],{"type":998,"value":1348},"Processing with conditions:\"",{"type":993,"tag":1021,"props":1350,"children":1351},{"style":1036},[1352],{"type":998,"value":1104},{"type":993,"tag":1021,"props":1354,"children":1355},{"class":1023,"line":81},[1356,1360,1364,1368],{"type":993,"tag":1021,"props":1357,"children":1358},{"style":1042},[1359],{"type":998,"value":1112},{"type":993,"tag":1021,"props":1361,"children":1362},{"style":1036},[1363],{"type":998,"value":1266},{"type":993,"tag":1021,"props":1365,"children":1366},{"style":1042},[1367],{"type":998,"value":1122},{"type":993,"tag":1021,"props":1369,"children":1370},{"style":1036},[1371],{"type":998,"value":1275},{"type":993,"tag":1021,"props":1373,"children":1374},{"class":1023,"line":91},[1375,1380,1385,1390,1395,1400],{"type":993,"tag":1021,"props":1376,"children":1377},{"style":1042},[1378],{"type":998,"value":1379},"    if",{"type":993,"tag":1021,"props":1381,"children":1382},{"style":1086},[1383],{"type":998,"value":1384}," len",{"type":993,"tag":1021,"props":1386,"children":1387},{"style":1036},[1388],{"type":998,"value":1389},"(fruit) ",{"type":993,"tag":1021,"props":1391,"children":1392},{"style":1042},[1393],{"type":998,"value":1394},">",{"type":993,"tag":1021,"props":1396,"children":1397},{"style":1086},[1398],{"type":998,"value":1399}," 5",{"type":993,"tag":1021,"props":1401,"children":1402},{"style":1036},[1403],{"type":998,"value":1404},":\n",{"type":993,"tag":1021,"props":1406,"children":1407},{"class":1023,"line":100},[1408,1413,1417,1421,1425,1429,1433,1437,1442],{"type":993,"tag":1021,"props":1409,"children":1410},{"style":1086},[1411],{"type":998,"value":1412},"        print",{"type":993,"tag":1021,"props":1414,"children":1415},{"style":1036},[1416],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1418,"children":1419},{"style":1042},[1420],{"type":998,"value":1144},{"type":993,"tag":1021,"props":1422,"children":1423},{"style":1053},[1424],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1426,"children":1427},{"style":1086},[1428],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1430,"children":1431},{"style":1036},[1432],{"type":998,"value":1304},{"type":993,"tag":1021,"props":1434,"children":1435},{"style":1086},[1436],{"type":998,"value":1164},{"type":993,"tag":1021,"props":1438,"children":1439},{"style":1053},[1440],{"type":998,"value":1441}," has more than 5 letters\"",{"type":993,"tag":1021,"props":1443,"children":1444},{"style":1036},[1445],{"type":998,"value":1104},{"type":993,"tag":1447,"props":1448,"children":1452},"info-box",{"emoji":1449,"title":1450,"type":1451},"🔀","Iteration Order","info",[1453,1464,1474],{"type":993,"tag":1001,"props":1454,"children":1455},{},[1456,1462],{"type":993,"tag":1457,"props":1458,"children":1459},"strong",{},[1460],{"type":998,"value":1461},"Important Behavior:",{"type":998,"value":1463}," Sets are unordered collections, so the iteration order is not guaranteed to be the same each time.",{"type":993,"tag":1001,"props":1465,"children":1466},{},[1467,1472],{"type":993,"tag":1457,"props":1468,"children":1469},{},[1470],{"type":998,"value":1471},"Practical Impact:",{"type":998,"value":1473}," Don't rely on a specific order when iterating through sets.",{"type":993,"tag":1001,"props":1475,"children":1476},{},[1477,1482],{"type":993,"tag":1457,"props":1478,"children":1479},{},[1480],{"type":998,"value":1481},"Design Consideration:",{"type":998,"value":1483}," Write code that works regardless of element order.",{"type":993,"tag":1175,"props":1485,"children":1487},{"id":1486},"iterating-with-enumeration",[1488],{"type":998,"value":1489},"⚡ Iterating with Enumeration",{"type":993,"tag":1001,"props":1491,"children":1492},{},[1493,1495,1501],{"type":998,"value":1494},"The ",{"type":993,"tag":1017,"props":1496,"children":1498},{"className":1497},[],[1499],{"type":998,"value":1500},"enumerate()",{"type":998,"value":1502}," function adds position tracking to set iteration, which is useful for creating numbered lists or tracking progress.",{"type":993,"tag":1007,"props":1504,"children":1505},{},[1506],{"type":993,"tag":1011,"props":1507,"children":1509},{"className":1013,"code":1508,"language":6,"meta":8,"style":8},"languages = {'Python', 'Java', 'JavaScript', 'C++'}\n\nfor index, language in enumerate(languages):\n    print(f\"{index + 1}. {language}\")\n\n# Track processing progress\nprint(\"\\nProcessing languages:\")\nfor index, language in enumerate(languages):\n    print(f\"Processing {index + 1}/{len(languages)}: {language}\")\n",[1510],{"type":993,"tag":1017,"props":1511,"children":1512},{"__ignoreMap":8},[1513,1565,1572,1598,1662,1669,1677,1705,1728],{"type":993,"tag":1021,"props":1514,"children":1515},{"class":1023,"line":12},[1516,1521,1525,1529,1534,1538,1543,1547,1552,1556,1561],{"type":993,"tag":1021,"props":1517,"children":1518},{"style":1036},[1519],{"type":998,"value":1520},"languages ",{"type":993,"tag":1021,"props":1522,"children":1523},{"style":1042},[1524],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1526,"children":1527},{"style":1036},[1528],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1530,"children":1531},{"style":1053},[1532],{"type":998,"value":1533},"'Python'",{"type":993,"tag":1021,"props":1535,"children":1536},{"style":1036},[1537],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1539,"children":1540},{"style":1053},[1541],{"type":998,"value":1542},"'Java'",{"type":993,"tag":1021,"props":1544,"children":1545},{"style":1036},[1546],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1548,"children":1549},{"style":1053},[1550],{"type":998,"value":1551},"'JavaScript'",{"type":993,"tag":1021,"props":1553,"children":1554},{"style":1036},[1555],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1557,"children":1558},{"style":1053},[1559],{"type":998,"value":1560},"'C++'",{"type":993,"tag":1021,"props":1562,"children":1563},{"style":1036},[1564],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1566,"children":1567},{"class":1023,"line":27},[1568],{"type":993,"tag":1021,"props":1569,"children":1570},{"emptyLinePlaceholder":13},[1571],{"type":998,"value":1246},{"type":993,"tag":1021,"props":1573,"children":1574},{"class":1023,"line":36},[1575,1579,1584,1588,1593],{"type":993,"tag":1021,"props":1576,"children":1577},{"style":1042},[1578],{"type":998,"value":1112},{"type":993,"tag":1021,"props":1580,"children":1581},{"style":1036},[1582],{"type":998,"value":1583}," index, language ",{"type":993,"tag":1021,"props":1585,"children":1586},{"style":1042},[1587],{"type":998,"value":1122},{"type":993,"tag":1021,"props":1589,"children":1590},{"style":1086},[1591],{"type":998,"value":1592}," enumerate",{"type":993,"tag":1021,"props":1594,"children":1595},{"style":1036},[1596],{"type":998,"value":1597},"(languages):\n",{"type":993,"tag":1021,"props":1599,"children":1600},{"class":1023,"line":45},[1601,1605,1609,1613,1617,1621,1626,1631,1636,1641,1645,1650,1654,1658],{"type":993,"tag":1021,"props":1602,"children":1603},{"style":1086},[1604],{"type":998,"value":1135},{"type":993,"tag":1021,"props":1606,"children":1607},{"style":1036},[1608],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1610,"children":1611},{"style":1042},[1612],{"type":998,"value":1144},{"type":993,"tag":1021,"props":1614,"children":1615},{"style":1053},[1616],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1618,"children":1619},{"style":1086},[1620],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1622,"children":1623},{"style":1036},[1624],{"type":998,"value":1625},"index ",{"type":993,"tag":1021,"props":1627,"children":1628},{"style":1042},[1629],{"type":998,"value":1630},"+",{"type":993,"tag":1021,"props":1632,"children":1633},{"style":1086},[1634],{"type":998,"value":1635}," 1}",{"type":993,"tag":1021,"props":1637,"children":1638},{"style":1053},[1639],{"type":998,"value":1640},". ",{"type":993,"tag":1021,"props":1642,"children":1643},{"style":1086},[1644],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1646,"children":1647},{"style":1036},[1648],{"type":998,"value":1649},"language",{"type":993,"tag":1021,"props":1651,"children":1652},{"style":1086},[1653],{"type":998,"value":1164},{"type":993,"tag":1021,"props":1655,"children":1656},{"style":1053},[1657],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1659,"children":1660},{"style":1036},[1661],{"type":998,"value":1104},{"type":993,"tag":1021,"props":1663,"children":1664},{"class":1023,"line":54},[1665],{"type":993,"tag":1021,"props":1666,"children":1667},{"emptyLinePlaceholder":13},[1668],{"type":998,"value":1246},{"type":993,"tag":1021,"props":1670,"children":1671},{"class":1023,"line":63},[1672],{"type":993,"tag":1021,"props":1673,"children":1674},{"style":1027},[1675],{"type":998,"value":1676},"# Track processing progress\n",{"type":993,"tag":1021,"props":1678,"children":1679},{"class":1023,"line":72},[1680,1684,1688,1692,1696,1701],{"type":993,"tag":1021,"props":1681,"children":1682},{"style":1086},[1683],{"type":998,"value":1089},{"type":993,"tag":1021,"props":1685,"children":1686},{"style":1036},[1687],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1689,"children":1690},{"style":1053},[1691],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1693,"children":1694},{"style":1086},[1695],{"type":998,"value":1343},{"type":993,"tag":1021,"props":1697,"children":1698},{"style":1053},[1699],{"type":998,"value":1700},"Processing languages:\"",{"type":993,"tag":1021,"props":1702,"children":1703},{"style":1036},[1704],{"type":998,"value":1104},{"type":993,"tag":1021,"props":1706,"children":1707},{"class":1023,"line":81},[1708,1712,1716,1720,1724],{"type":993,"tag":1021,"props":1709,"children":1710},{"style":1042},[1711],{"type":998,"value":1112},{"type":993,"tag":1021,"props":1713,"children":1714},{"style":1036},[1715],{"type":998,"value":1583},{"type":993,"tag":1021,"props":1717,"children":1718},{"style":1042},[1719],{"type":998,"value":1122},{"type":993,"tag":1021,"props":1721,"children":1722},{"style":1086},[1723],{"type":998,"value":1592},{"type":993,"tag":1021,"props":1725,"children":1726},{"style":1036},[1727],{"type":998,"value":1597},{"type":993,"tag":1021,"props":1729,"children":1730},{"class":1023,"line":91},[1731,1735,1739,1743,1748,1752,1756,1760,1764,1769,1774,1779,1783,1788,1792,1796,1800,1804],{"type":993,"tag":1021,"props":1732,"children":1733},{"style":1086},[1734],{"type":998,"value":1135},{"type":993,"tag":1021,"props":1736,"children":1737},{"style":1036},[1738],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1740,"children":1741},{"style":1042},[1742],{"type":998,"value":1144},{"type":993,"tag":1021,"props":1744,"children":1745},{"style":1053},[1746],{"type":998,"value":1747},"\"Processing ",{"type":993,"tag":1021,"props":1749,"children":1750},{"style":1086},[1751],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1753,"children":1754},{"style":1036},[1755],{"type":998,"value":1625},{"type":993,"tag":1021,"props":1757,"children":1758},{"style":1042},[1759],{"type":998,"value":1630},{"type":993,"tag":1021,"props":1761,"children":1762},{"style":1086},[1763],{"type":998,"value":1635},{"type":993,"tag":1021,"props":1765,"children":1766},{"style":1053},[1767],{"type":998,"value":1768},"/",{"type":993,"tag":1021,"props":1770,"children":1771},{"style":1086},[1772],{"type":998,"value":1773},"{len",{"type":993,"tag":1021,"props":1775,"children":1776},{"style":1036},[1777],{"type":998,"value":1778},"(languages)",{"type":993,"tag":1021,"props":1780,"children":1781},{"style":1086},[1782],{"type":998,"value":1164},{"type":993,"tag":1021,"props":1784,"children":1785},{"style":1053},[1786],{"type":998,"value":1787},": ",{"type":993,"tag":1021,"props":1789,"children":1790},{"style":1086},[1791],{"type":998,"value":1154},{"type":993,"tag":1021,"props":1793,"children":1794},{"style":1036},[1795],{"type":998,"value":1649},{"type":993,"tag":1021,"props":1797,"children":1798},{"style":1086},[1799],{"type":998,"value":1164},{"type":993,"tag":1021,"props":1801,"children":1802},{"style":1053},[1803],{"type":998,"value":1169},{"type":993,"tag":1021,"props":1805,"children":1806},{"style":1036},[1807],{"type":998,"value":1104},{"type":993,"tag":1175,"props":1809,"children":1811},{"id":1810},"set-comprehensions",[1812],{"type":998,"value":1813},"🚀 Set Comprehensions",{"type":993,"tag":1001,"props":1815,"children":1816},{},[1817],{"type":998,"value":1818},"Set comprehensions create new sets through iteration and transformation. This functional programming approach promotes concise and readable code.",{"type":993,"tag":1007,"props":1820,"children":1821},{},[1822],{"type":993,"tag":1011,"props":1823,"children":1825},{"className":1013,"code":1824,"language":6,"meta":8,"style":8},"numbers = {1, 2, 3, 4, 5}\n\n# Create set of squares\nsquares = {x**2 for x in numbers}\nprint(\"Squares:\", squares)\n\n# Create set with condition\neven_squares = {x**2 for x in numbers if x % 2 == 0}\nprint(\"Even squares:\", even_squares)\n\n# String transformations\nnames = {'alice', 'bob', 'charlie'}\ncapitalized = {name.capitalize() for name in names}\nprint(\"Capitalized names:\", capitalized)\n",[1826],{"type":993,"tag":1017,"props":1827,"children":1828},{"__ignoreMap":8},[1829,1890,1897,1905,1950,1971,1978,1986,2060,2081,2088,2096,2139,2174],{"type":993,"tag":1021,"props":1830,"children":1831},{"class":1023,"line":12},[1832,1837,1841,1845,1850,1854,1859,1863,1868,1872,1877,1881,1886],{"type":993,"tag":1021,"props":1833,"children":1834},{"style":1036},[1835],{"type":998,"value":1836},"numbers ",{"type":993,"tag":1021,"props":1838,"children":1839},{"style":1042},[1840],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1842,"children":1843},{"style":1036},[1844],{"type":998,"value":1050},{"type":993,"tag":1021,"props":1846,"children":1847},{"style":1086},[1848],{"type":998,"value":1849},"1",{"type":993,"tag":1021,"props":1851,"children":1852},{"style":1036},[1853],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1855,"children":1856},{"style":1086},[1857],{"type":998,"value":1858},"2",{"type":993,"tag":1021,"props":1860,"children":1861},{"style":1036},[1862],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1864,"children":1865},{"style":1086},[1866],{"type":998,"value":1867},"3",{"type":993,"tag":1021,"props":1869,"children":1870},{"style":1036},[1871],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1873,"children":1874},{"style":1086},[1875],{"type":998,"value":1876},"4",{"type":993,"tag":1021,"props":1878,"children":1879},{"style":1036},[1880],{"type":998,"value":1061},{"type":993,"tag":1021,"props":1882,"children":1883},{"style":1086},[1884],{"type":998,"value":1885},"5",{"type":993,"tag":1021,"props":1887,"children":1888},{"style":1036},[1889],{"type":998,"value":1080},{"type":993,"tag":1021,"props":1891,"children":1892},{"class":1023,"line":27},[1893],{"type":993,"tag":1021,"props":1894,"children":1895},{"emptyLinePlaceholder":13},[1896],{"type":998,"value":1246},{"type":993,"tag":1021,"props":1898,"children":1899},{"class":1023,"line":36},[1900],{"type":993,"tag":1021,"props":1901,"children":1902},{"style":1027},[1903],{"type":998,"value":1904},"# Create set of squares\n",{"type":993,"tag":1021,"props":1906,"children":1907},{"class":1023,"line":45},[1908,1913,1917,1922,1927,1931,1936,1941,1945],{"type":993,"tag":1021,"props":1909,"children":1910},{"style":1036},[1911],{"type":998,"value":1912},"squares ",{"type":993,"tag":1021,"props":1914,"children":1915},{"style":1042},[1916],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1918,"children":1919},{"style":1036},[1920],{"type":998,"value":1921}," {x",{"type":993,"tag":1021,"props":1923,"children":1924},{"style":1042},[1925],{"type":998,"value":1926},"**",{"type":993,"tag":1021,"props":1928,"children":1929},{"style":1086},[1930],{"type":998,"value":1858},{"type":993,"tag":1021,"props":1932,"children":1933},{"style":1042},[1934],{"type":998,"value":1935}," for",{"type":993,"tag":1021,"props":1937,"children":1938},{"style":1036},[1939],{"type":998,"value":1940}," x ",{"type":993,"tag":1021,"props":1942,"children":1943},{"style":1042},[1944],{"type":998,"value":1122},{"type":993,"tag":1021,"props":1946,"children":1947},{"style":1036},[1948],{"type":998,"value":1949}," numbers}\n",{"type":993,"tag":1021,"props":1951,"children":1952},{"class":1023,"line":54},[1953,1957,1961,1966],{"type":993,"tag":1021,"props":1954,"children":1955},{"style":1086},[1956],{"type":998,"value":1089},{"type":993,"tag":1021,"props":1958,"children":1959},{"style":1036},[1960],{"type":998,"value":1094},{"type":993,"tag":1021,"props":1962,"children":1963},{"style":1053},[1964],{"type":998,"value":1965},"\"Squares:\"",{"type":993,"tag":1021,"props":1967,"children":1968},{"style":1036},[1969],{"type":998,"value":1970},", squares)\n",{"type":993,"tag":1021,"props":1972,"children":1973},{"class":1023,"line":63},[1974],{"type":993,"tag":1021,"props":1975,"children":1976},{"emptyLinePlaceholder":13},[1977],{"type":998,"value":1246},{"type":993,"tag":1021,"props":1979,"children":1980},{"class":1023,"line":72},[1981],{"type":993,"tag":1021,"props":1982,"children":1983},{"style":1027},[1984],{"type":998,"value":1985},"# Create set with condition\n",{"type":993,"tag":1021,"props":1987,"children":1988},{"class":1023,"line":81},[1989,1994,1998,2002,2006,2010,2014,2018,2022,2027,2032,2036,2041,2046,2051,2056],{"type":993,"tag":1021,"props":1990,"children":1991},{"style":1036},[1992],{"type":998,"value":1993},"even_squares ",{"type":993,"tag":1021,"props":1995,"children":1996},{"style":1042},[1997],{"type":998,"value":1045},{"type":993,"tag":1021,"props":1999,"children":2000},{"style":1036},[2001],{"type":998,"value":1921},{"type":993,"tag":1021,"props":2003,"children":2004},{"style":1042},[2005],{"type":998,"value":1926},{"type":993,"tag":1021,"props":2007,"children":2008},{"style":1086},[2009],{"type":998,"value":1858},{"type":993,"tag":1021,"props":2011,"children":2012},{"style":1042},[2013],{"type":998,"value":1935},{"type":993,"tag":1021,"props":2015,"children":2016},{"style":1036},[2017],{"type":998,"value":1940},{"type":993,"tag":1021,"props":2019,"children":2020},{"style":1042},[2021],{"type":998,"value":1122},{"type":993,"tag":1021,"props":2023,"children":2024},{"style":1036},[2025],{"type":998,"value":2026}," numbers ",{"type":993,"tag":1021,"props":2028,"children":2029},{"style":1042},[2030],{"type":998,"value":2031},"if",{"type":993,"tag":1021,"props":2033,"children":2034},{"style":1036},[2035],{"type":998,"value":1940},{"type":993,"tag":1021,"props":2037,"children":2038},{"style":1042},[2039],{"type":998,"value":2040},"%",{"type":993,"tag":1021,"props":2042,"children":2043},{"style":1086},[2044],{"type":998,"value":2045}," 2",{"type":993,"tag":1021,"props":2047,"children":2048},{"style":1042},[2049],{"type":998,"value":2050}," ==",{"type":993,"tag":1021,"props":2052,"children":2053},{"style":1086},[2054],{"type":998,"value":2055}," 0",{"type":993,"tag":1021,"props":2057,"children":2058},{"style":1036},[2059],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2061,"children":2062},{"class":1023,"line":91},[2063,2067,2071,2076],{"type":993,"tag":1021,"props":2064,"children":2065},{"style":1086},[2066],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2068,"children":2069},{"style":1036},[2070],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2072,"children":2073},{"style":1053},[2074],{"type":998,"value":2075},"\"Even squares:\"",{"type":993,"tag":1021,"props":2077,"children":2078},{"style":1036},[2079],{"type":998,"value":2080},", even_squares)\n",{"type":993,"tag":1021,"props":2082,"children":2083},{"class":1023,"line":100},[2084],{"type":993,"tag":1021,"props":2085,"children":2086},{"emptyLinePlaceholder":13},[2087],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2089,"children":2090},{"class":1023,"line":109},[2091],{"type":993,"tag":1021,"props":2092,"children":2093},{"style":1027},[2094],{"type":998,"value":2095},"# String transformations\n",{"type":993,"tag":1021,"props":2097,"children":2098},{"class":1023,"line":118},[2099,2104,2108,2112,2117,2121,2126,2130,2135],{"type":993,"tag":1021,"props":2100,"children":2101},{"style":1036},[2102],{"type":998,"value":2103},"names ",{"type":993,"tag":1021,"props":2105,"children":2106},{"style":1042},[2107],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2109,"children":2110},{"style":1036},[2111],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2113,"children":2114},{"style":1053},[2115],{"type":998,"value":2116},"'alice'",{"type":993,"tag":1021,"props":2118,"children":2119},{"style":1036},[2120],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2122,"children":2123},{"style":1053},[2124],{"type":998,"value":2125},"'bob'",{"type":993,"tag":1021,"props":2127,"children":2128},{"style":1036},[2129],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2131,"children":2132},{"style":1053},[2133],{"type":998,"value":2134},"'charlie'",{"type":993,"tag":1021,"props":2136,"children":2137},{"style":1036},[2138],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2140,"children":2141},{"class":1023,"line":127},[2142,2147,2151,2156,2160,2165,2169],{"type":993,"tag":1021,"props":2143,"children":2144},{"style":1036},[2145],{"type":998,"value":2146},"capitalized ",{"type":993,"tag":1021,"props":2148,"children":2149},{"style":1042},[2150],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2152,"children":2153},{"style":1036},[2154],{"type":998,"value":2155}," {name.capitalize() ",{"type":993,"tag":1021,"props":2157,"children":2158},{"style":1042},[2159],{"type":998,"value":1112},{"type":993,"tag":1021,"props":2161,"children":2162},{"style":1036},[2163],{"type":998,"value":2164}," name ",{"type":993,"tag":1021,"props":2166,"children":2167},{"style":1042},[2168],{"type":998,"value":1122},{"type":993,"tag":1021,"props":2170,"children":2171},{"style":1036},[2172],{"type":998,"value":2173}," names}\n",{"type":993,"tag":1021,"props":2175,"children":2176},{"class":1023,"line":136},[2177,2181,2185,2190],{"type":993,"tag":1021,"props":2178,"children":2179},{"style":1086},[2180],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2182,"children":2183},{"style":1036},[2184],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2186,"children":2187},{"style":1053},[2188],{"type":998,"value":2189},"\"Capitalized names:\"",{"type":993,"tag":1021,"props":2191,"children":2192},{"style":1036},[2193],{"type":998,"value":2194},", capitalized)\n",{"type":993,"tag":1175,"props":2196,"children":2198},{"id":2197},"converting-and-processing",[2199],{"type":998,"value":2200},"🔄 Converting and Processing",{"type":993,"tag":1001,"props":2202,"children":2203},{},[2204],{"type":998,"value":2205},"Type conversion during iteration enables flexible data manipulation and integration with other data structures.",{"type":993,"tag":1007,"props":2207,"children":2208},{},[2209],{"type":993,"tag":1011,"props":2210,"children":2212},{"className":1013,"code":2211,"language":6,"meta":8,"style":8},"names = {'alice', 'bob', 'charlie'}\n\n# Convert to list with transformations\ncapitalized_list = [name.capitalize() for name in names]\nprint(\"Capitalized list:\", capitalized_list)\n\n# Convert to sorted list\nsorted_names = sorted(names)\nprint(\"Sorted names:\", sorted_names)\n\n# Create dictionary from set\nname_lengths = {name: len(name) for name in names}\nprint(\"Name lengths:\", name_lengths)\n",[2213],{"type":993,"tag":1017,"props":2214,"children":2215},{"__ignoreMap":8},[2216,2255,2262,2270,2304,2325,2332,2340,2362,2383,2390,2398,2441],{"type":993,"tag":1021,"props":2217,"children":2218},{"class":1023,"line":12},[2219,2223,2227,2231,2235,2239,2243,2247,2251],{"type":993,"tag":1021,"props":2220,"children":2221},{"style":1036},[2222],{"type":998,"value":2103},{"type":993,"tag":1021,"props":2224,"children":2225},{"style":1042},[2226],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2228,"children":2229},{"style":1036},[2230],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2232,"children":2233},{"style":1053},[2234],{"type":998,"value":2116},{"type":993,"tag":1021,"props":2236,"children":2237},{"style":1036},[2238],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2240,"children":2241},{"style":1053},[2242],{"type":998,"value":2125},{"type":993,"tag":1021,"props":2244,"children":2245},{"style":1036},[2246],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2248,"children":2249},{"style":1053},[2250],{"type":998,"value":2134},{"type":993,"tag":1021,"props":2252,"children":2253},{"style":1036},[2254],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2256,"children":2257},{"class":1023,"line":27},[2258],{"type":993,"tag":1021,"props":2259,"children":2260},{"emptyLinePlaceholder":13},[2261],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2263,"children":2264},{"class":1023,"line":36},[2265],{"type":993,"tag":1021,"props":2266,"children":2267},{"style":1027},[2268],{"type":998,"value":2269},"# Convert to list with transformations\n",{"type":993,"tag":1021,"props":2271,"children":2272},{"class":1023,"line":45},[2273,2278,2282,2287,2291,2295,2299],{"type":993,"tag":1021,"props":2274,"children":2275},{"style":1036},[2276],{"type":998,"value":2277},"capitalized_list ",{"type":993,"tag":1021,"props":2279,"children":2280},{"style":1042},[2281],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2283,"children":2284},{"style":1036},[2285],{"type":998,"value":2286}," [name.capitalize() ",{"type":993,"tag":1021,"props":2288,"children":2289},{"style":1042},[2290],{"type":998,"value":1112},{"type":993,"tag":1021,"props":2292,"children":2293},{"style":1036},[2294],{"type":998,"value":2164},{"type":993,"tag":1021,"props":2296,"children":2297},{"style":1042},[2298],{"type":998,"value":1122},{"type":993,"tag":1021,"props":2300,"children":2301},{"style":1036},[2302],{"type":998,"value":2303}," names]\n",{"type":993,"tag":1021,"props":2305,"children":2306},{"class":1023,"line":54},[2307,2311,2315,2320],{"type":993,"tag":1021,"props":2308,"children":2309},{"style":1086},[2310],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2312,"children":2313},{"style":1036},[2314],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2316,"children":2317},{"style":1053},[2318],{"type":998,"value":2319},"\"Capitalized list:\"",{"type":993,"tag":1021,"props":2321,"children":2322},{"style":1036},[2323],{"type":998,"value":2324},", capitalized_list)\n",{"type":993,"tag":1021,"props":2326,"children":2327},{"class":1023,"line":63},[2328],{"type":993,"tag":1021,"props":2329,"children":2330},{"emptyLinePlaceholder":13},[2331],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2333,"children":2334},{"class":1023,"line":72},[2335],{"type":993,"tag":1021,"props":2336,"children":2337},{"style":1027},[2338],{"type":998,"value":2339},"# Convert to sorted list\n",{"type":993,"tag":1021,"props":2341,"children":2342},{"class":1023,"line":81},[2343,2348,2352,2357],{"type":993,"tag":1021,"props":2344,"children":2345},{"style":1036},[2346],{"type":998,"value":2347},"sorted_names ",{"type":993,"tag":1021,"props":2349,"children":2350},{"style":1042},[2351],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2353,"children":2354},{"style":1086},[2355],{"type":998,"value":2356}," sorted",{"type":993,"tag":1021,"props":2358,"children":2359},{"style":1036},[2360],{"type":998,"value":2361},"(names)\n",{"type":993,"tag":1021,"props":2363,"children":2364},{"class":1023,"line":91},[2365,2369,2373,2378],{"type":993,"tag":1021,"props":2366,"children":2367},{"style":1086},[2368],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2370,"children":2371},{"style":1036},[2372],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2374,"children":2375},{"style":1053},[2376],{"type":998,"value":2377},"\"Sorted names:\"",{"type":993,"tag":1021,"props":2379,"children":2380},{"style":1036},[2381],{"type":998,"value":2382},", sorted_names)\n",{"type":993,"tag":1021,"props":2384,"children":2385},{"class":1023,"line":100},[2386],{"type":993,"tag":1021,"props":2387,"children":2388},{"emptyLinePlaceholder":13},[2389],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2391,"children":2392},{"class":1023,"line":109},[2393],{"type":993,"tag":1021,"props":2394,"children":2395},{"style":1027},[2396],{"type":998,"value":2397},"# Create dictionary from set\n",{"type":993,"tag":1021,"props":2399,"children":2400},{"class":1023,"line":118},[2401,2406,2410,2415,2420,2425,2429,2433,2437],{"type":993,"tag":1021,"props":2402,"children":2403},{"style":1036},[2404],{"type":998,"value":2405},"name_lengths ",{"type":993,"tag":1021,"props":2407,"children":2408},{"style":1042},[2409],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2411,"children":2412},{"style":1036},[2413],{"type":998,"value":2414}," {name: ",{"type":993,"tag":1021,"props":2416,"children":2417},{"style":1086},[2418],{"type":998,"value":2419},"len",{"type":993,"tag":1021,"props":2421,"children":2422},{"style":1036},[2423],{"type":998,"value":2424},"(name) ",{"type":993,"tag":1021,"props":2426,"children":2427},{"style":1042},[2428],{"type":998,"value":1112},{"type":993,"tag":1021,"props":2430,"children":2431},{"style":1036},[2432],{"type":998,"value":2164},{"type":993,"tag":1021,"props":2434,"children":2435},{"style":1042},[2436],{"type":998,"value":1122},{"type":993,"tag":1021,"props":2438,"children":2439},{"style":1036},[2440],{"type":998,"value":2173},{"type":993,"tag":1021,"props":2442,"children":2443},{"class":1023,"line":127},[2444,2448,2452,2457],{"type":993,"tag":1021,"props":2445,"children":2446},{"style":1086},[2447],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2449,"children":2450},{"style":1036},[2451],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2453,"children":2454},{"style":1053},[2455],{"type":998,"value":2456},"\"Name lengths:\"",{"type":993,"tag":1021,"props":2458,"children":2459},{"style":1036},[2460],{"type":998,"value":2461},", name_lengths)\n",{"type":993,"tag":1175,"props":2463,"children":2465},{"id":2464},"using-built-in-functions",[2466],{"type":998,"value":2467},"📊 Using Built-in Functions",{"type":993,"tag":1001,"props":2469,"children":2470},{},[2471],{"type":998,"value":2472},"Built-in functions leverage set iteration for mathematical operations and logical evaluations without explicit loops.",{"type":993,"tag":2474,"props":2475,"children":2477},"h3",{"id":2476},"mathematical-functions",[2478],{"type":998,"value":2479},"Mathematical Functions",{"type":993,"tag":1001,"props":2481,"children":2482},{},[2483],{"type":998,"value":2484},"Mathematical functions operate directly on numeric sets, providing efficient calculation methods.",{"type":993,"tag":1007,"props":2486,"children":2487},{},[2488],{"type":993,"tag":1011,"props":2489,"children":2491},{"className":1013,"code":2490,"language":6,"meta":8,"style":8},"scores = {85, 92, 78, 96, 88}\n\nprint(\"Total score:\", sum(scores))\nprint(\"Highest score:\", max(scores))\nprint(\"Lowest score:\", min(scores))\nprint(\"Average score:\", sum(scores) / len(scores))\n\n# Count elements meeting criteria\nhigh_scores = sum(1 for score in scores if score >= 90)\nprint(\"High scores (≥90):\", high_scores)\n",[2492],{"type":993,"tag":1017,"props":2493,"children":2494},{"__ignoreMap":8},[2495,2556,2563,2593,2622,2651,2692,2699,2707,2772],{"type":993,"tag":1021,"props":2496,"children":2497},{"class":1023,"line":12},[2498,2503,2507,2511,2516,2520,2525,2529,2534,2538,2543,2547,2552],{"type":993,"tag":1021,"props":2499,"children":2500},{"style":1036},[2501],{"type":998,"value":2502},"scores ",{"type":993,"tag":1021,"props":2504,"children":2505},{"style":1042},[2506],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2508,"children":2509},{"style":1036},[2510],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2512,"children":2513},{"style":1086},[2514],{"type":998,"value":2515},"85",{"type":993,"tag":1021,"props":2517,"children":2518},{"style":1036},[2519],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2521,"children":2522},{"style":1086},[2523],{"type":998,"value":2524},"92",{"type":993,"tag":1021,"props":2526,"children":2527},{"style":1036},[2528],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2530,"children":2531},{"style":1086},[2532],{"type":998,"value":2533},"78",{"type":993,"tag":1021,"props":2535,"children":2536},{"style":1036},[2537],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2539,"children":2540},{"style":1086},[2541],{"type":998,"value":2542},"96",{"type":993,"tag":1021,"props":2544,"children":2545},{"style":1036},[2546],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2548,"children":2549},{"style":1086},[2550],{"type":998,"value":2551},"88",{"type":993,"tag":1021,"props":2553,"children":2554},{"style":1036},[2555],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2557,"children":2558},{"class":1023,"line":27},[2559],{"type":993,"tag":1021,"props":2560,"children":2561},{"emptyLinePlaceholder":13},[2562],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2564,"children":2565},{"class":1023,"line":36},[2566,2570,2574,2579,2583,2588],{"type":993,"tag":1021,"props":2567,"children":2568},{"style":1086},[2569],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2571,"children":2572},{"style":1036},[2573],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2575,"children":2576},{"style":1053},[2577],{"type":998,"value":2578},"\"Total score:\"",{"type":993,"tag":1021,"props":2580,"children":2581},{"style":1036},[2582],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2584,"children":2585},{"style":1086},[2586],{"type":998,"value":2587},"sum",{"type":993,"tag":1021,"props":2589,"children":2590},{"style":1036},[2591],{"type":998,"value":2592},"(scores))\n",{"type":993,"tag":1021,"props":2594,"children":2595},{"class":1023,"line":45},[2596,2600,2604,2609,2613,2618],{"type":993,"tag":1021,"props":2597,"children":2598},{"style":1086},[2599],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2601,"children":2602},{"style":1036},[2603],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2605,"children":2606},{"style":1053},[2607],{"type":998,"value":2608},"\"Highest score:\"",{"type":993,"tag":1021,"props":2610,"children":2611},{"style":1036},[2612],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2614,"children":2615},{"style":1086},[2616],{"type":998,"value":2617},"max",{"type":993,"tag":1021,"props":2619,"children":2620},{"style":1036},[2621],{"type":998,"value":2592},{"type":993,"tag":1021,"props":2623,"children":2624},{"class":1023,"line":54},[2625,2629,2633,2638,2642,2647],{"type":993,"tag":1021,"props":2626,"children":2627},{"style":1086},[2628],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2630,"children":2631},{"style":1036},[2632],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2634,"children":2635},{"style":1053},[2636],{"type":998,"value":2637},"\"Lowest score:\"",{"type":993,"tag":1021,"props":2639,"children":2640},{"style":1036},[2641],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2643,"children":2644},{"style":1086},[2645],{"type":998,"value":2646},"min",{"type":993,"tag":1021,"props":2648,"children":2649},{"style":1036},[2650],{"type":998,"value":2592},{"type":993,"tag":1021,"props":2652,"children":2653},{"class":1023,"line":63},[2654,2658,2662,2667,2671,2675,2680,2684,2688],{"type":993,"tag":1021,"props":2655,"children":2656},{"style":1086},[2657],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2659,"children":2660},{"style":1036},[2661],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2663,"children":2664},{"style":1053},[2665],{"type":998,"value":2666},"\"Average score:\"",{"type":993,"tag":1021,"props":2668,"children":2669},{"style":1036},[2670],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2672,"children":2673},{"style":1086},[2674],{"type":998,"value":2587},{"type":993,"tag":1021,"props":2676,"children":2677},{"style":1036},[2678],{"type":998,"value":2679},"(scores) ",{"type":993,"tag":1021,"props":2681,"children":2682},{"style":1042},[2683],{"type":998,"value":1768},{"type":993,"tag":1021,"props":2685,"children":2686},{"style":1086},[2687],{"type":998,"value":1384},{"type":993,"tag":1021,"props":2689,"children":2690},{"style":1036},[2691],{"type":998,"value":2592},{"type":993,"tag":1021,"props":2693,"children":2694},{"class":1023,"line":72},[2695],{"type":993,"tag":1021,"props":2696,"children":2697},{"emptyLinePlaceholder":13},[2698],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2700,"children":2701},{"class":1023,"line":81},[2702],{"type":993,"tag":1021,"props":2703,"children":2704},{"style":1027},[2705],{"type":998,"value":2706},"# Count elements meeting criteria\n",{"type":993,"tag":1021,"props":2708,"children":2709},{"class":1023,"line":91},[2710,2715,2719,2724,2728,2732,2736,2741,2745,2750,2754,2758,2763,2768],{"type":993,"tag":1021,"props":2711,"children":2712},{"style":1036},[2713],{"type":998,"value":2714},"high_scores ",{"type":993,"tag":1021,"props":2716,"children":2717},{"style":1042},[2718],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2720,"children":2721},{"style":1086},[2722],{"type":998,"value":2723}," sum",{"type":993,"tag":1021,"props":2725,"children":2726},{"style":1036},[2727],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2729,"children":2730},{"style":1086},[2731],{"type":998,"value":1849},{"type":993,"tag":1021,"props":2733,"children":2734},{"style":1042},[2735],{"type":998,"value":1935},{"type":993,"tag":1021,"props":2737,"children":2738},{"style":1036},[2739],{"type":998,"value":2740}," score ",{"type":993,"tag":1021,"props":2742,"children":2743},{"style":1042},[2744],{"type":998,"value":1122},{"type":993,"tag":1021,"props":2746,"children":2747},{"style":1036},[2748],{"type":998,"value":2749}," scores ",{"type":993,"tag":1021,"props":2751,"children":2752},{"style":1042},[2753],{"type":998,"value":2031},{"type":993,"tag":1021,"props":2755,"children":2756},{"style":1036},[2757],{"type":998,"value":2740},{"type":993,"tag":1021,"props":2759,"children":2760},{"style":1042},[2761],{"type":998,"value":2762},">=",{"type":993,"tag":1021,"props":2764,"children":2765},{"style":1086},[2766],{"type":998,"value":2767}," 90",{"type":993,"tag":1021,"props":2769,"children":2770},{"style":1036},[2771],{"type":998,"value":1104},{"type":993,"tag":1021,"props":2773,"children":2774},{"class":1023,"line":100},[2775,2779,2783,2788],{"type":993,"tag":1021,"props":2776,"children":2777},{"style":1086},[2778],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2780,"children":2781},{"style":1036},[2782],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2784,"children":2785},{"style":1053},[2786],{"type":998,"value":2787},"\"High scores (≥90):\"",{"type":993,"tag":1021,"props":2789,"children":2790},{"style":1036},[2791],{"type":998,"value":2792},", high_scores)\n",{"type":993,"tag":2474,"props":2794,"children":2796},{"id":2795},"boolean-functions",[2797],{"type":998,"value":2798},"Boolean Functions",{"type":993,"tag":1001,"props":2800,"children":2801},{},[2802],{"type":998,"value":2803},"Boolean evaluation functions test conditions across all set elements, enabling complex logical operations.",{"type":993,"tag":1007,"props":2805,"children":2806},{},[2807],{"type":993,"tag":1011,"props":2808,"children":2810},{"className":1013,"code":2809,"language":6,"meta":8,"style":8},"grades = {85, 90, 78, 92}\n\n# Check if any grade is above 90\nhas_excellent = any(grade > 90 for grade in grades)\nprint(\"Has excellent grade (>90):\", has_excellent)\n\n# Check if all grades are passing (>= 70)\nall_passing = all(grade >= 70 for grade in grades)\nprint(\"All grades passing:\", all_passing)\n\n# Check if any grade is failing\nhas_failing = any(grade \u003C 70 for grade in grades)\nprint(\"Has failing grade:\", has_failing)\n",[2811],{"type":993,"tag":1017,"props":2812,"children":2813},{"__ignoreMap":8},[2814,2863,2870,2878,2926,2947,2954,2962,3008,3029,3036,3044,3089],{"type":993,"tag":1021,"props":2815,"children":2816},{"class":1023,"line":12},[2817,2822,2826,2830,2834,2838,2843,2847,2851,2855,2859],{"type":993,"tag":1021,"props":2818,"children":2819},{"style":1036},[2820],{"type":998,"value":2821},"grades ",{"type":993,"tag":1021,"props":2823,"children":2824},{"style":1042},[2825],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2827,"children":2828},{"style":1036},[2829],{"type":998,"value":1050},{"type":993,"tag":1021,"props":2831,"children":2832},{"style":1086},[2833],{"type":998,"value":2515},{"type":993,"tag":1021,"props":2835,"children":2836},{"style":1036},[2837],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2839,"children":2840},{"style":1086},[2841],{"type":998,"value":2842},"90",{"type":993,"tag":1021,"props":2844,"children":2845},{"style":1036},[2846],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2848,"children":2849},{"style":1086},[2850],{"type":998,"value":2533},{"type":993,"tag":1021,"props":2852,"children":2853},{"style":1036},[2854],{"type":998,"value":1061},{"type":993,"tag":1021,"props":2856,"children":2857},{"style":1086},[2858],{"type":998,"value":2524},{"type":993,"tag":1021,"props":2860,"children":2861},{"style":1036},[2862],{"type":998,"value":1080},{"type":993,"tag":1021,"props":2864,"children":2865},{"class":1023,"line":27},[2866],{"type":993,"tag":1021,"props":2867,"children":2868},{"emptyLinePlaceholder":13},[2869],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2871,"children":2872},{"class":1023,"line":36},[2873],{"type":993,"tag":1021,"props":2874,"children":2875},{"style":1027},[2876],{"type":998,"value":2877},"# Check if any grade is above 90\n",{"type":993,"tag":1021,"props":2879,"children":2880},{"class":1023,"line":45},[2881,2886,2890,2895,2900,2904,2908,2912,2917,2921],{"type":993,"tag":1021,"props":2882,"children":2883},{"style":1036},[2884],{"type":998,"value":2885},"has_excellent ",{"type":993,"tag":1021,"props":2887,"children":2888},{"style":1042},[2889],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2891,"children":2892},{"style":1086},[2893],{"type":998,"value":2894}," any",{"type":993,"tag":1021,"props":2896,"children":2897},{"style":1036},[2898],{"type":998,"value":2899},"(grade ",{"type":993,"tag":1021,"props":2901,"children":2902},{"style":1042},[2903],{"type":998,"value":1394},{"type":993,"tag":1021,"props":2905,"children":2906},{"style":1086},[2907],{"type":998,"value":2767},{"type":993,"tag":1021,"props":2909,"children":2910},{"style":1042},[2911],{"type":998,"value":1935},{"type":993,"tag":1021,"props":2913,"children":2914},{"style":1036},[2915],{"type":998,"value":2916}," grade ",{"type":993,"tag":1021,"props":2918,"children":2919},{"style":1042},[2920],{"type":998,"value":1122},{"type":993,"tag":1021,"props":2922,"children":2923},{"style":1036},[2924],{"type":998,"value":2925}," grades)\n",{"type":993,"tag":1021,"props":2927,"children":2928},{"class":1023,"line":54},[2929,2933,2937,2942],{"type":993,"tag":1021,"props":2930,"children":2931},{"style":1086},[2932],{"type":998,"value":1089},{"type":993,"tag":1021,"props":2934,"children":2935},{"style":1036},[2936],{"type":998,"value":1094},{"type":993,"tag":1021,"props":2938,"children":2939},{"style":1053},[2940],{"type":998,"value":2941},"\"Has excellent grade (>90):\"",{"type":993,"tag":1021,"props":2943,"children":2944},{"style":1036},[2945],{"type":998,"value":2946},", has_excellent)\n",{"type":993,"tag":1021,"props":2948,"children":2949},{"class":1023,"line":63},[2950],{"type":993,"tag":1021,"props":2951,"children":2952},{"emptyLinePlaceholder":13},[2953],{"type":998,"value":1246},{"type":993,"tag":1021,"props":2955,"children":2956},{"class":1023,"line":72},[2957],{"type":993,"tag":1021,"props":2958,"children":2959},{"style":1027},[2960],{"type":998,"value":2961},"# Check if all grades are passing (>= 70)\n",{"type":993,"tag":1021,"props":2963,"children":2964},{"class":1023,"line":81},[2965,2970,2974,2979,2983,2987,2992,2996,3000,3004],{"type":993,"tag":1021,"props":2966,"children":2967},{"style":1036},[2968],{"type":998,"value":2969},"all_passing ",{"type":993,"tag":1021,"props":2971,"children":2972},{"style":1042},[2973],{"type":998,"value":1045},{"type":993,"tag":1021,"props":2975,"children":2976},{"style":1086},[2977],{"type":998,"value":2978}," all",{"type":993,"tag":1021,"props":2980,"children":2981},{"style":1036},[2982],{"type":998,"value":2899},{"type":993,"tag":1021,"props":2984,"children":2985},{"style":1042},[2986],{"type":998,"value":2762},{"type":993,"tag":1021,"props":2988,"children":2989},{"style":1086},[2990],{"type":998,"value":2991}," 70",{"type":993,"tag":1021,"props":2993,"children":2994},{"style":1042},[2995],{"type":998,"value":1935},{"type":993,"tag":1021,"props":2997,"children":2998},{"style":1036},[2999],{"type":998,"value":2916},{"type":993,"tag":1021,"props":3001,"children":3002},{"style":1042},[3003],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3005,"children":3006},{"style":1036},[3007],{"type":998,"value":2925},{"type":993,"tag":1021,"props":3009,"children":3010},{"class":1023,"line":91},[3011,3015,3019,3024],{"type":993,"tag":1021,"props":3012,"children":3013},{"style":1086},[3014],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3016,"children":3017},{"style":1036},[3018],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3020,"children":3021},{"style":1053},[3022],{"type":998,"value":3023},"\"All grades passing:\"",{"type":993,"tag":1021,"props":3025,"children":3026},{"style":1036},[3027],{"type":998,"value":3028},", all_passing)\n",{"type":993,"tag":1021,"props":3030,"children":3031},{"class":1023,"line":100},[3032],{"type":993,"tag":1021,"props":3033,"children":3034},{"emptyLinePlaceholder":13},[3035],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3037,"children":3038},{"class":1023,"line":109},[3039],{"type":993,"tag":1021,"props":3040,"children":3041},{"style":1027},[3042],{"type":998,"value":3043},"# Check if any grade is failing\n",{"type":993,"tag":1021,"props":3045,"children":3046},{"class":1023,"line":118},[3047,3052,3056,3060,3064,3069,3073,3077,3081,3085],{"type":993,"tag":1021,"props":3048,"children":3049},{"style":1036},[3050],{"type":998,"value":3051},"has_failing ",{"type":993,"tag":1021,"props":3053,"children":3054},{"style":1042},[3055],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3057,"children":3058},{"style":1086},[3059],{"type":998,"value":2894},{"type":993,"tag":1021,"props":3061,"children":3062},{"style":1036},[3063],{"type":998,"value":2899},{"type":993,"tag":1021,"props":3065,"children":3066},{"style":1042},[3067],{"type":998,"value":3068},"\u003C",{"type":993,"tag":1021,"props":3070,"children":3071},{"style":1086},[3072],{"type":998,"value":2991},{"type":993,"tag":1021,"props":3074,"children":3075},{"style":1042},[3076],{"type":998,"value":1935},{"type":993,"tag":1021,"props":3078,"children":3079},{"style":1036},[3080],{"type":998,"value":2916},{"type":993,"tag":1021,"props":3082,"children":3083},{"style":1042},[3084],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3086,"children":3087},{"style":1036},[3088],{"type":998,"value":2925},{"type":993,"tag":1021,"props":3090,"children":3091},{"class":1023,"line":127},[3092,3096,3100,3105],{"type":993,"tag":1021,"props":3093,"children":3094},{"style":1086},[3095],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3097,"children":3098},{"style":1036},[3099],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3101,"children":3102},{"style":1053},[3103],{"type":998,"value":3104},"\"Has failing grade:\"",{"type":993,"tag":1021,"props":3106,"children":3107},{"style":1036},[3108],{"type":998,"value":3109},", has_failing)\n",{"type":993,"tag":1175,"props":3111,"children":3113},{"id":3112},"filtering-during-iteration",[3114],{"type":998,"value":3115},"🌟 Filtering During Iteration",{"type":993,"tag":1001,"props":3117,"children":3118},{},[3119],{"type":998,"value":3120},"Conditional iteration processes only elements that meet specific criteria, reducing unnecessary operations on irrelevant data.",{"type":993,"tag":1007,"props":3122,"children":3123},{},[3124],{"type":993,"tag":1011,"props":3125,"children":3127},{"className":1013,"code":3126,"language":6,"meta":8,"style":8},"mixed_data = {1, 2, 'hello', 3.14, 'world', 42}\n\n# Process only numbers\nprint(\"Numbers in set:\")\nfor item in mixed_data:\n    if isinstance(item, (int, float)):\n        print(f\"Number: {item}\")\n\n# Process only strings\nprint(\"\\nStrings in set:\")\nfor item in mixed_data:\n    if isinstance(item, str):\n        print(f\"String: '{item}'\")\n\n# Create filtered sets\nnumbers_only = {item for item in mixed_data if isinstance(item, (int, float))}\nstrings_only = {item for item in mixed_data if isinstance(item, str)}\n\nprint(f\"\\nFiltered numbers: {numbers_only}\")\nprint(f\"Filtered strings: {strings_only}\")\n",[3128],{"type":993,"tag":1017,"props":3129,"children":3130},{"__ignoreMap":8},[3131,3199,3206,3214,3234,3255,3291,3332,3339,3347,3375,3394,3420,3461,3468,3476,3539,3592,3599,3648],{"type":993,"tag":1021,"props":3132,"children":3133},{"class":1023,"line":12},[3134,3139,3143,3147,3151,3155,3159,3163,3168,3172,3177,3181,3186,3190,3195],{"type":993,"tag":1021,"props":3135,"children":3136},{"style":1036},[3137],{"type":998,"value":3138},"mixed_data ",{"type":993,"tag":1021,"props":3140,"children":3141},{"style":1042},[3142],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3144,"children":3145},{"style":1036},[3146],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3148,"children":3149},{"style":1086},[3150],{"type":998,"value":1849},{"type":993,"tag":1021,"props":3152,"children":3153},{"style":1036},[3154],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3156,"children":3157},{"style":1086},[3158],{"type":998,"value":1858},{"type":993,"tag":1021,"props":3160,"children":3161},{"style":1036},[3162],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3164,"children":3165},{"style":1053},[3166],{"type":998,"value":3167},"'hello'",{"type":993,"tag":1021,"props":3169,"children":3170},{"style":1036},[3171],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3173,"children":3174},{"style":1086},[3175],{"type":998,"value":3176},"3.14",{"type":993,"tag":1021,"props":3178,"children":3179},{"style":1036},[3180],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3182,"children":3183},{"style":1053},[3184],{"type":998,"value":3185},"'world'",{"type":993,"tag":1021,"props":3187,"children":3188},{"style":1036},[3189],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3191,"children":3192},{"style":1086},[3193],{"type":998,"value":3194},"42",{"type":993,"tag":1021,"props":3196,"children":3197},{"style":1036},[3198],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3200,"children":3201},{"class":1023,"line":27},[3202],{"type":993,"tag":1021,"props":3203,"children":3204},{"emptyLinePlaceholder":13},[3205],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3207,"children":3208},{"class":1023,"line":36},[3209],{"type":993,"tag":1021,"props":3210,"children":3211},{"style":1027},[3212],{"type":998,"value":3213},"# Process only numbers\n",{"type":993,"tag":1021,"props":3215,"children":3216},{"class":1023,"line":45},[3217,3221,3225,3230],{"type":993,"tag":1021,"props":3218,"children":3219},{"style":1086},[3220],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3222,"children":3223},{"style":1036},[3224],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3226,"children":3227},{"style":1053},[3228],{"type":998,"value":3229},"\"Numbers in set:\"",{"type":993,"tag":1021,"props":3231,"children":3232},{"style":1036},[3233],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3235,"children":3236},{"class":1023,"line":54},[3237,3241,3246,3250],{"type":993,"tag":1021,"props":3238,"children":3239},{"style":1042},[3240],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3242,"children":3243},{"style":1036},[3244],{"type":998,"value":3245}," item ",{"type":993,"tag":1021,"props":3247,"children":3248},{"style":1042},[3249],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3251,"children":3252},{"style":1036},[3253],{"type":998,"value":3254}," mixed_data:\n",{"type":993,"tag":1021,"props":3256,"children":3257},{"class":1023,"line":63},[3258,3262,3267,3272,3277,3281,3286],{"type":993,"tag":1021,"props":3259,"children":3260},{"style":1042},[3261],{"type":998,"value":1379},{"type":993,"tag":1021,"props":3263,"children":3264},{"style":1086},[3265],{"type":998,"value":3266}," isinstance",{"type":993,"tag":1021,"props":3268,"children":3269},{"style":1036},[3270],{"type":998,"value":3271},"(item, (",{"type":993,"tag":1021,"props":3273,"children":3274},{"style":1086},[3275],{"type":998,"value":3276},"int",{"type":993,"tag":1021,"props":3278,"children":3279},{"style":1036},[3280],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3282,"children":3283},{"style":1086},[3284],{"type":998,"value":3285},"float",{"type":993,"tag":1021,"props":3287,"children":3288},{"style":1036},[3289],{"type":998,"value":3290},")):\n",{"type":993,"tag":1021,"props":3292,"children":3293},{"class":1023,"line":72},[3294,3298,3302,3306,3311,3315,3320,3324,3328],{"type":993,"tag":1021,"props":3295,"children":3296},{"style":1086},[3297],{"type":998,"value":1412},{"type":993,"tag":1021,"props":3299,"children":3300},{"style":1036},[3301],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3303,"children":3304},{"style":1042},[3305],{"type":998,"value":1144},{"type":993,"tag":1021,"props":3307,"children":3308},{"style":1053},[3309],{"type":998,"value":3310},"\"Number: ",{"type":993,"tag":1021,"props":3312,"children":3313},{"style":1086},[3314],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3316,"children":3317},{"style":1036},[3318],{"type":998,"value":3319},"item",{"type":993,"tag":1021,"props":3321,"children":3322},{"style":1086},[3323],{"type":998,"value":1164},{"type":993,"tag":1021,"props":3325,"children":3326},{"style":1053},[3327],{"type":998,"value":1169},{"type":993,"tag":1021,"props":3329,"children":3330},{"style":1036},[3331],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3333,"children":3334},{"class":1023,"line":81},[3335],{"type":993,"tag":1021,"props":3336,"children":3337},{"emptyLinePlaceholder":13},[3338],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3340,"children":3341},{"class":1023,"line":91},[3342],{"type":993,"tag":1021,"props":3343,"children":3344},{"style":1027},[3345],{"type":998,"value":3346},"# Process only strings\n",{"type":993,"tag":1021,"props":3348,"children":3349},{"class":1023,"line":100},[3350,3354,3358,3362,3366,3371],{"type":993,"tag":1021,"props":3351,"children":3352},{"style":1086},[3353],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3355,"children":3356},{"style":1036},[3357],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3359,"children":3360},{"style":1053},[3361],{"type":998,"value":1169},{"type":993,"tag":1021,"props":3363,"children":3364},{"style":1086},[3365],{"type":998,"value":1343},{"type":993,"tag":1021,"props":3367,"children":3368},{"style":1053},[3369],{"type":998,"value":3370},"Strings in set:\"",{"type":993,"tag":1021,"props":3372,"children":3373},{"style":1036},[3374],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3376,"children":3377},{"class":1023,"line":109},[3378,3382,3386,3390],{"type":993,"tag":1021,"props":3379,"children":3380},{"style":1042},[3381],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3383,"children":3384},{"style":1036},[3385],{"type":998,"value":3245},{"type":993,"tag":1021,"props":3387,"children":3388},{"style":1042},[3389],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3391,"children":3392},{"style":1036},[3393],{"type":998,"value":3254},{"type":993,"tag":1021,"props":3395,"children":3396},{"class":1023,"line":118},[3397,3401,3405,3410,3415],{"type":993,"tag":1021,"props":3398,"children":3399},{"style":1042},[3400],{"type":998,"value":1379},{"type":993,"tag":1021,"props":3402,"children":3403},{"style":1086},[3404],{"type":998,"value":3266},{"type":993,"tag":1021,"props":3406,"children":3407},{"style":1036},[3408],{"type":998,"value":3409},"(item, ",{"type":993,"tag":1021,"props":3411,"children":3412},{"style":1086},[3413],{"type":998,"value":3414},"str",{"type":993,"tag":1021,"props":3416,"children":3417},{"style":1036},[3418],{"type":998,"value":3419},"):\n",{"type":993,"tag":1021,"props":3421,"children":3422},{"class":1023,"line":127},[3423,3427,3431,3435,3440,3444,3448,3452,3457],{"type":993,"tag":1021,"props":3424,"children":3425},{"style":1086},[3426],{"type":998,"value":1412},{"type":993,"tag":1021,"props":3428,"children":3429},{"style":1036},[3430],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3432,"children":3433},{"style":1042},[3434],{"type":998,"value":1144},{"type":993,"tag":1021,"props":3436,"children":3437},{"style":1053},[3438],{"type":998,"value":3439},"\"String: '",{"type":993,"tag":1021,"props":3441,"children":3442},{"style":1086},[3443],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3445,"children":3446},{"style":1036},[3447],{"type":998,"value":3319},{"type":993,"tag":1021,"props":3449,"children":3450},{"style":1086},[3451],{"type":998,"value":1164},{"type":993,"tag":1021,"props":3453,"children":3454},{"style":1053},[3455],{"type":998,"value":3456},"'\"",{"type":993,"tag":1021,"props":3458,"children":3459},{"style":1036},[3460],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3462,"children":3463},{"class":1023,"line":136},[3464],{"type":993,"tag":1021,"props":3465,"children":3466},{"emptyLinePlaceholder":13},[3467],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3469,"children":3470},{"class":1023,"line":146},[3471],{"type":993,"tag":1021,"props":3472,"children":3473},{"style":1027},[3474],{"type":998,"value":3475},"# Create filtered sets\n",{"type":993,"tag":1021,"props":3477,"children":3478},{"class":1023,"line":155},[3479,3484,3488,3493,3497,3501,3505,3510,3514,3518,3522,3526,3530,3534],{"type":993,"tag":1021,"props":3480,"children":3481},{"style":1036},[3482],{"type":998,"value":3483},"numbers_only ",{"type":993,"tag":1021,"props":3485,"children":3486},{"style":1042},[3487],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3489,"children":3490},{"style":1036},[3491],{"type":998,"value":3492}," {item ",{"type":993,"tag":1021,"props":3494,"children":3495},{"style":1042},[3496],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3498,"children":3499},{"style":1036},[3500],{"type":998,"value":3245},{"type":993,"tag":1021,"props":3502,"children":3503},{"style":1042},[3504],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3506,"children":3507},{"style":1036},[3508],{"type":998,"value":3509}," mixed_data ",{"type":993,"tag":1021,"props":3511,"children":3512},{"style":1042},[3513],{"type":998,"value":2031},{"type":993,"tag":1021,"props":3515,"children":3516},{"style":1086},[3517],{"type":998,"value":3266},{"type":993,"tag":1021,"props":3519,"children":3520},{"style":1036},[3521],{"type":998,"value":3271},{"type":993,"tag":1021,"props":3523,"children":3524},{"style":1086},[3525],{"type":998,"value":3276},{"type":993,"tag":1021,"props":3527,"children":3528},{"style":1036},[3529],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3531,"children":3532},{"style":1086},[3533],{"type":998,"value":3285},{"type":993,"tag":1021,"props":3535,"children":3536},{"style":1036},[3537],{"type":998,"value":3538},"))}\n",{"type":993,"tag":1021,"props":3540,"children":3541},{"class":1023,"line":164},[3542,3547,3551,3555,3559,3563,3567,3571,3575,3579,3583,3587],{"type":993,"tag":1021,"props":3543,"children":3544},{"style":1036},[3545],{"type":998,"value":3546},"strings_only ",{"type":993,"tag":1021,"props":3548,"children":3549},{"style":1042},[3550],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3552,"children":3553},{"style":1036},[3554],{"type":998,"value":3492},{"type":993,"tag":1021,"props":3556,"children":3557},{"style":1042},[3558],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3560,"children":3561},{"style":1036},[3562],{"type":998,"value":3245},{"type":993,"tag":1021,"props":3564,"children":3565},{"style":1042},[3566],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3568,"children":3569},{"style":1036},[3570],{"type":998,"value":3509},{"type":993,"tag":1021,"props":3572,"children":3573},{"style":1042},[3574],{"type":998,"value":2031},{"type":993,"tag":1021,"props":3576,"children":3577},{"style":1086},[3578],{"type":998,"value":3266},{"type":993,"tag":1021,"props":3580,"children":3581},{"style":1036},[3582],{"type":998,"value":3409},{"type":993,"tag":1021,"props":3584,"children":3585},{"style":1086},[3586],{"type":998,"value":3414},{"type":993,"tag":1021,"props":3588,"children":3589},{"style":1036},[3590],{"type":998,"value":3591},")}\n",{"type":993,"tag":1021,"props":3593,"children":3594},{"class":1023,"line":173},[3595],{"type":993,"tag":1021,"props":3596,"children":3597},{"emptyLinePlaceholder":13},[3598],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3600,"children":3601},{"class":1023,"line":182},[3602,3606,3610,3614,3618,3622,3627,3631,3636,3640,3644],{"type":993,"tag":1021,"props":3603,"children":3604},{"style":1086},[3605],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3607,"children":3608},{"style":1036},[3609],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3611,"children":3612},{"style":1042},[3613],{"type":998,"value":1144},{"type":993,"tag":1021,"props":3615,"children":3616},{"style":1053},[3617],{"type":998,"value":1169},{"type":993,"tag":1021,"props":3619,"children":3620},{"style":1086},[3621],{"type":998,"value":1343},{"type":993,"tag":1021,"props":3623,"children":3624},{"style":1053},[3625],{"type":998,"value":3626},"Filtered numbers: ",{"type":993,"tag":1021,"props":3628,"children":3629},{"style":1086},[3630],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3632,"children":3633},{"style":1036},[3634],{"type":998,"value":3635},"numbers_only",{"type":993,"tag":1021,"props":3637,"children":3638},{"style":1086},[3639],{"type":998,"value":1164},{"type":993,"tag":1021,"props":3641,"children":3642},{"style":1053},[3643],{"type":998,"value":1169},{"type":993,"tag":1021,"props":3645,"children":3646},{"style":1036},[3647],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3649,"children":3650},{"class":1023,"line":191},[3651,3655,3659,3663,3668,3672,3677,3681,3685],{"type":993,"tag":1021,"props":3652,"children":3653},{"style":1086},[3654],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3656,"children":3657},{"style":1036},[3658],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3660,"children":3661},{"style":1042},[3662],{"type":998,"value":1144},{"type":993,"tag":1021,"props":3664,"children":3665},{"style":1053},[3666],{"type":998,"value":3667},"\"Filtered strings: ",{"type":993,"tag":1021,"props":3669,"children":3670},{"style":1086},[3671],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3673,"children":3674},{"style":1036},[3675],{"type":998,"value":3676},"strings_only",{"type":993,"tag":1021,"props":3678,"children":3679},{"style":1086},[3680],{"type":998,"value":1164},{"type":993,"tag":1021,"props":3682,"children":3683},{"style":1053},[3684],{"type":998,"value":1169},{"type":993,"tag":1021,"props":3686,"children":3687},{"style":1036},[3688],{"type":998,"value":1104},{"type":993,"tag":1175,"props":3690,"children":3692},{"id":3691},"working-with-multiple-sets",[3693],{"type":998,"value":3694},"💡 Working with Multiple Sets",{"type":993,"tag":1001,"props":3696,"children":3697},{},[3698],{"type":998,"value":3699},"Multi-set iteration enables complex data operations by combining and processing multiple collections simultaneously.",{"type":993,"tag":1007,"props":3701,"children":3702},{},[3703],{"type":993,"tag":1011,"props":3704,"children":3706},{"className":1013,"code":3705,"language":6,"meta":8,"style":8},"set1 = {'a', 'b', 'c'}\nset2 = {'x', 'y', 'z'}\n\n# Combine sets and iterate\ncombined = set1.union(set2)\nprint(\"Combined elements:\")\nfor item in combined:\n    print(f\"Element: {item}\")\n\n# Create pairs using nested iteration\npairs = {(x, y) for x in set1 for y in set2}\nprint(\"Pairs:\", pairs)\n\n# Process intersecting elements\ncommon_letters = {'a', 'c', 'x'}\nintersection = set1 & common_letters\nprint(\"Common with set1:\", intersection)\n",[3707],{"type":993,"tag":1017,"props":3708,"children":3709},{"__ignoreMap":8},[3710,3753,3796,3803,3811,3828,3848,3868,3908,3915,3923,3975,3996,4003,4011,4051,4077],{"type":993,"tag":1021,"props":3711,"children":3712},{"class":1023,"line":12},[3713,3718,3722,3726,3731,3735,3740,3744,3749],{"type":993,"tag":1021,"props":3714,"children":3715},{"style":1036},[3716],{"type":998,"value":3717},"set1 ",{"type":993,"tag":1021,"props":3719,"children":3720},{"style":1042},[3721],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3723,"children":3724},{"style":1036},[3725],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3727,"children":3728},{"style":1053},[3729],{"type":998,"value":3730},"'a'",{"type":993,"tag":1021,"props":3732,"children":3733},{"style":1036},[3734],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3736,"children":3737},{"style":1053},[3738],{"type":998,"value":3739},"'b'",{"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":3748},"'c'",{"type":993,"tag":1021,"props":3750,"children":3751},{"style":1036},[3752],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3754,"children":3755},{"class":1023,"line":27},[3756,3761,3765,3769,3774,3778,3783,3787,3792],{"type":993,"tag":1021,"props":3757,"children":3758},{"style":1036},[3759],{"type":998,"value":3760},"set2 ",{"type":993,"tag":1021,"props":3762,"children":3763},{"style":1042},[3764],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3766,"children":3767},{"style":1036},[3768],{"type":998,"value":1050},{"type":993,"tag":1021,"props":3770,"children":3771},{"style":1053},[3772],{"type":998,"value":3773},"'x'",{"type":993,"tag":1021,"props":3775,"children":3776},{"style":1036},[3777],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3779,"children":3780},{"style":1053},[3781],{"type":998,"value":3782},"'y'",{"type":993,"tag":1021,"props":3784,"children":3785},{"style":1036},[3786],{"type":998,"value":1061},{"type":993,"tag":1021,"props":3788,"children":3789},{"style":1053},[3790],{"type":998,"value":3791},"'z'",{"type":993,"tag":1021,"props":3793,"children":3794},{"style":1036},[3795],{"type":998,"value":1080},{"type":993,"tag":1021,"props":3797,"children":3798},{"class":1023,"line":36},[3799],{"type":993,"tag":1021,"props":3800,"children":3801},{"emptyLinePlaceholder":13},[3802],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3804,"children":3805},{"class":1023,"line":45},[3806],{"type":993,"tag":1021,"props":3807,"children":3808},{"style":1027},[3809],{"type":998,"value":3810},"# Combine sets and iterate\n",{"type":993,"tag":1021,"props":3812,"children":3813},{"class":1023,"line":54},[3814,3819,3823],{"type":993,"tag":1021,"props":3815,"children":3816},{"style":1036},[3817],{"type":998,"value":3818},"combined ",{"type":993,"tag":1021,"props":3820,"children":3821},{"style":1042},[3822],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3824,"children":3825},{"style":1036},[3826],{"type":998,"value":3827}," set1.union(set2)\n",{"type":993,"tag":1021,"props":3829,"children":3830},{"class":1023,"line":63},[3831,3835,3839,3844],{"type":993,"tag":1021,"props":3832,"children":3833},{"style":1086},[3834],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3836,"children":3837},{"style":1036},[3838],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3840,"children":3841},{"style":1053},[3842],{"type":998,"value":3843},"\"Combined elements:\"",{"type":993,"tag":1021,"props":3845,"children":3846},{"style":1036},[3847],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3849,"children":3850},{"class":1023,"line":72},[3851,3855,3859,3863],{"type":993,"tag":1021,"props":3852,"children":3853},{"style":1042},[3854],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3856,"children":3857},{"style":1036},[3858],{"type":998,"value":3245},{"type":993,"tag":1021,"props":3860,"children":3861},{"style":1042},[3862],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3864,"children":3865},{"style":1036},[3866],{"type":998,"value":3867}," combined:\n",{"type":993,"tag":1021,"props":3869,"children":3870},{"class":1023,"line":81},[3871,3875,3879,3883,3888,3892,3896,3900,3904],{"type":993,"tag":1021,"props":3872,"children":3873},{"style":1086},[3874],{"type":998,"value":1135},{"type":993,"tag":1021,"props":3876,"children":3877},{"style":1036},[3878],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3880,"children":3881},{"style":1042},[3882],{"type":998,"value":1144},{"type":993,"tag":1021,"props":3884,"children":3885},{"style":1053},[3886],{"type":998,"value":3887},"\"Element: ",{"type":993,"tag":1021,"props":3889,"children":3890},{"style":1086},[3891],{"type":998,"value":1154},{"type":993,"tag":1021,"props":3893,"children":3894},{"style":1036},[3895],{"type":998,"value":3319},{"type":993,"tag":1021,"props":3897,"children":3898},{"style":1086},[3899],{"type":998,"value":1164},{"type":993,"tag":1021,"props":3901,"children":3902},{"style":1053},[3903],{"type":998,"value":1169},{"type":993,"tag":1021,"props":3905,"children":3906},{"style":1036},[3907],{"type":998,"value":1104},{"type":993,"tag":1021,"props":3909,"children":3910},{"class":1023,"line":91},[3911],{"type":993,"tag":1021,"props":3912,"children":3913},{"emptyLinePlaceholder":13},[3914],{"type":998,"value":1246},{"type":993,"tag":1021,"props":3916,"children":3917},{"class":1023,"line":100},[3918],{"type":993,"tag":1021,"props":3919,"children":3920},{"style":1027},[3921],{"type":998,"value":3922},"# Create pairs using nested iteration\n",{"type":993,"tag":1021,"props":3924,"children":3925},{"class":1023,"line":109},[3926,3931,3935,3940,3944,3948,3952,3957,3961,3966,3970],{"type":993,"tag":1021,"props":3927,"children":3928},{"style":1036},[3929],{"type":998,"value":3930},"pairs ",{"type":993,"tag":1021,"props":3932,"children":3933},{"style":1042},[3934],{"type":998,"value":1045},{"type":993,"tag":1021,"props":3936,"children":3937},{"style":1036},[3938],{"type":998,"value":3939}," {(x, y) ",{"type":993,"tag":1021,"props":3941,"children":3942},{"style":1042},[3943],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3945,"children":3946},{"style":1036},[3947],{"type":998,"value":1940},{"type":993,"tag":1021,"props":3949,"children":3950},{"style":1042},[3951],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3953,"children":3954},{"style":1036},[3955],{"type":998,"value":3956}," set1 ",{"type":993,"tag":1021,"props":3958,"children":3959},{"style":1042},[3960],{"type":998,"value":1112},{"type":993,"tag":1021,"props":3962,"children":3963},{"style":1036},[3964],{"type":998,"value":3965}," y ",{"type":993,"tag":1021,"props":3967,"children":3968},{"style":1042},[3969],{"type":998,"value":1122},{"type":993,"tag":1021,"props":3971,"children":3972},{"style":1036},[3973],{"type":998,"value":3974}," set2}\n",{"type":993,"tag":1021,"props":3976,"children":3977},{"class":1023,"line":118},[3978,3982,3986,3991],{"type":993,"tag":1021,"props":3979,"children":3980},{"style":1086},[3981],{"type":998,"value":1089},{"type":993,"tag":1021,"props":3983,"children":3984},{"style":1036},[3985],{"type":998,"value":1094},{"type":993,"tag":1021,"props":3987,"children":3988},{"style":1053},[3989],{"type":998,"value":3990},"\"Pairs:\"",{"type":993,"tag":1021,"props":3992,"children":3993},{"style":1036},[3994],{"type":998,"value":3995},", pairs)\n",{"type":993,"tag":1021,"props":3997,"children":3998},{"class":1023,"line":127},[3999],{"type":993,"tag":1021,"props":4000,"children":4001},{"emptyLinePlaceholder":13},[4002],{"type":998,"value":1246},{"type":993,"tag":1021,"props":4004,"children":4005},{"class":1023,"line":136},[4006],{"type":993,"tag":1021,"props":4007,"children":4008},{"style":1027},[4009],{"type":998,"value":4010},"# Process intersecting elements\n",{"type":993,"tag":1021,"props":4012,"children":4013},{"class":1023,"line":146},[4014,4019,4023,4027,4031,4035,4039,4043,4047],{"type":993,"tag":1021,"props":4015,"children":4016},{"style":1036},[4017],{"type":998,"value":4018},"common_letters ",{"type":993,"tag":1021,"props":4020,"children":4021},{"style":1042},[4022],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4024,"children":4025},{"style":1036},[4026],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4028,"children":4029},{"style":1053},[4030],{"type":998,"value":3730},{"type":993,"tag":1021,"props":4032,"children":4033},{"style":1036},[4034],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4036,"children":4037},{"style":1053},[4038],{"type":998,"value":3748},{"type":993,"tag":1021,"props":4040,"children":4041},{"style":1036},[4042],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4044,"children":4045},{"style":1053},[4046],{"type":998,"value":3773},{"type":993,"tag":1021,"props":4048,"children":4049},{"style":1036},[4050],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4052,"children":4053},{"class":1023,"line":155},[4054,4059,4063,4067,4072],{"type":993,"tag":1021,"props":4055,"children":4056},{"style":1036},[4057],{"type":998,"value":4058},"intersection ",{"type":993,"tag":1021,"props":4060,"children":4061},{"style":1042},[4062],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4064,"children":4065},{"style":1036},[4066],{"type":998,"value":3956},{"type":993,"tag":1021,"props":4068,"children":4069},{"style":1042},[4070],{"type":998,"value":4071},"&",{"type":993,"tag":1021,"props":4073,"children":4074},{"style":1036},[4075],{"type":998,"value":4076}," common_letters\n",{"type":993,"tag":1021,"props":4078,"children":4079},{"class":1023,"line":164},[4080,4084,4088,4093],{"type":993,"tag":1021,"props":4081,"children":4082},{"style":1086},[4083],{"type":998,"value":1089},{"type":993,"tag":1021,"props":4085,"children":4086},{"style":1036},[4087],{"type":998,"value":1094},{"type":993,"tag":1021,"props":4089,"children":4090},{"style":1053},[4091],{"type":998,"value":4092},"\"Common with set1:\"",{"type":993,"tag":1021,"props":4094,"children":4095},{"style":1036},[4096],{"type":998,"value":4097},", intersection)\n",{"type":993,"tag":1175,"props":4099,"children":4101},{"id":4100},"iteration-methods-comparison",[4102],{"type":998,"value":4103},"📚 Iteration Methods Comparison",{"type":993,"tag":4105,"props":4106,"children":4107},"table",{},[4108,4137],{"type":993,"tag":4109,"props":4110,"children":4111},"thead",{},[4112],{"type":993,"tag":4113,"props":4114,"children":4115},"tr",{},[4116,4122,4127,4132],{"type":993,"tag":4117,"props":4118,"children":4119},"th",{},[4120],{"type":998,"value":4121},"Method",{"type":993,"tag":4117,"props":4123,"children":4124},{},[4125],{"type":998,"value":4126},"Use Case",{"type":993,"tag":4117,"props":4128,"children":4129},{},[4130],{"type":998,"value":4131},"Example",{"type":993,"tag":4117,"props":4133,"children":4134},{},[4135],{"type":998,"value":4136},"Result Type",{"type":993,"tag":4138,"props":4139,"children":4140},"tbody",{},[4141,4173,4204,4235],{"type":993,"tag":4113,"props":4142,"children":4143},{},[4144,4154,4159,4168],{"type":993,"tag":4145,"props":4146,"children":4147},"td",{},[4148],{"type":993,"tag":1017,"props":4149,"children":4151},{"className":4150},[],[4152],{"type":998,"value":4153},"for item in set",{"type":993,"tag":4145,"props":4155,"children":4156},{},[4157],{"type":998,"value":4158},"Basic processing",{"type":993,"tag":4145,"props":4160,"children":4161},{},[4162],{"type":993,"tag":1017,"props":4163,"children":4165},{"className":4164},[],[4166],{"type":998,"value":4167},"for x in {1,2,3}",{"type":993,"tag":4145,"props":4169,"children":4170},{},[4171],{"type":998,"value":4172},"Individual elements",{"type":993,"tag":4113,"props":4174,"children":4175},{},[4176,4185,4190,4199],{"type":993,"tag":4145,"props":4177,"children":4178},{},[4179],{"type":993,"tag":1017,"props":4180,"children":4182},{"className":4181},[],[4183],{"type":998,"value":4184},"enumerate(set)",{"type":993,"tag":4145,"props":4186,"children":4187},{},[4188],{"type":998,"value":4189},"Need index/position",{"type":993,"tag":4145,"props":4191,"children":4192},{},[4193],{"type":993,"tag":1017,"props":4194,"children":4196},{"className":4195},[],[4197],{"type":998,"value":4198},"enumerate({1,2,3})",{"type":993,"tag":4145,"props":4200,"children":4201},{},[4202],{"type":998,"value":4203},"(index, element) pairs",{"type":993,"tag":4113,"props":4205,"children":4206},{},[4207,4216,4221,4230],{"type":993,"tag":4145,"props":4208,"children":4209},{},[4210],{"type":993,"tag":1017,"props":4211,"children":4213},{"className":4212},[],[4214],{"type":998,"value":4215},"{expr for x in set}",{"type":993,"tag":4145,"props":4217,"children":4218},{},[4219],{"type":998,"value":4220},"Create new set",{"type":993,"tag":4145,"props":4222,"children":4223},{},[4224],{"type":993,"tag":1017,"props":4225,"children":4227},{"className":4226},[],[4228],{"type":998,"value":4229},"{x*2 for x in {1,2,3}}",{"type":993,"tag":4145,"props":4231,"children":4232},{},[4233],{"type":998,"value":4234},"New set",{"type":993,"tag":4113,"props":4236,"children":4237},{},[4238,4247,4252,4261],{"type":993,"tag":4145,"props":4239,"children":4240},{},[4241],{"type":993,"tag":1017,"props":4242,"children":4244},{"className":4243},[],[4245],{"type":998,"value":4246},"[expr for x in set]",{"type":993,"tag":4145,"props":4248,"children":4249},{},[4250],{"type":998,"value":4251},"Create list",{"type":993,"tag":4145,"props":4253,"children":4254},{},[4255],{"type":993,"tag":1017,"props":4256,"children":4258},{"className":4257},[],[4259],{"type":998,"value":4260},"[x*2 for x in {1,2,3}]",{"type":993,"tag":4145,"props":4262,"children":4263},{},[4264],{"type":998,"value":4265},"New list",{"type":993,"tag":1447,"props":4267,"children":4271},{"emoji":4268,"title":4269,"type":4270},"💡","Iteration Best Practices","success",[4272,4282,4292,4302],{"type":993,"tag":1001,"props":4273,"children":4274},{},[4275,4280],{"type":993,"tag":1457,"props":4276,"children":4277},{},[4278],{"type":998,"value":4279},"Memory Efficiency:",{"type":998,"value":4281}," Use generator expressions for large datasets to minimize memory usage.",{"type":993,"tag":1001,"props":4283,"children":4284},{},[4285,4290],{"type":993,"tag":1457,"props":4286,"children":4287},{},[4288],{"type":998,"value":4289},"Filtering Strategy:",{"type":998,"value":4291}," Combine iteration with conditions for efficient filtering operations.",{"type":993,"tag":1001,"props":4293,"children":4294},{},[4295,4300],{"type":993,"tag":1457,"props":4296,"children":4297},{},[4298],{"type":998,"value":4299},"Type Safety:",{"type":998,"value":4301}," Check types when working with mixed-type sets.",{"type":993,"tag":1001,"props":4303,"children":4304},{},[4305,4310,4312,4318,4319,4325,4326,4332],{"type":993,"tag":1457,"props":4306,"children":4307},{},[4308],{"type":998,"value":4309},"Performance:",{"type":998,"value":4311}," Use built-in functions like ",{"type":993,"tag":1017,"props":4313,"children":4315},{"className":4314},[],[4316],{"type":998,"value":4317},"sum()",{"type":998,"value":1061},{"type":993,"tag":1017,"props":4320,"children":4322},{"className":4321},[],[4323],{"type":998,"value":4324},"any()",{"type":998,"value":1061},{"type":993,"tag":1017,"props":4327,"children":4329},{"className":4328},[],[4330],{"type":998,"value":4331},"all()",{"type":998,"value":4333}," for better performance.",{"type":993,"tag":4335,"props":4336,"children":4338},"content-exercise",{":widget-view":4337,"category":6,"id":492},"true",[],{"type":993,"tag":1001,"props":4340,"children":4341},{},[4342,4344,4350,4352,4357],{"type":998,"value":4343},"Learn more about ",{"type":993,"tag":4345,"props":4346,"children":4347},"a",{"href":498},[4348],{"type":998,"value":4349},"combining sets",{"type":998,"value":4351}," and ",{"type":993,"tag":4345,"props":4353,"children":4354},{"href":507},[4355],{"type":998,"value":4356},"set operations",{"type":998,"value":4358}," to master advanced set manipulation techniques.",{"type":993,"tag":4360,"props":4361,"children":4364},"exercise",{"hint":4362,"prompt":4363},"Use a for loop to iterate through scores and keep track of the highest score found","Create a function that finds the highest score from a set of test scores. Use iteration to go through all scores and find the maximum.",[4365],{"type":993,"tag":1011,"props":4366,"children":4368},{"className":1013,"code":4367,"language":6,"meta":8,"style":8},"def find_highest_score(scores):\n    # TODO: Iterate through scores to find the highest one\n    # TODO: Return the highest score\n    pass\n\n# Test data\ntest_scores = {85, 92, 78, 96, 88}\n\nhighest = find_highest_score(test_scores)\nprint(f\"Test scores: {test_scores}\")\nprint(f\"Highest score: {highest}\")\n",[4369],{"type":993,"tag":1017,"props":4370,"children":4371},{"__ignoreMap":8},[4372,4391,4409,4425,4433,4440,4448,4504,4511,4528,4569],{"type":993,"tag":1021,"props":4373,"children":4374},{"class":1023,"line":12},[4375,4380,4386],{"type":993,"tag":1021,"props":4376,"children":4377},{"style":1042},[4378],{"type":998,"value":4379},"def",{"type":993,"tag":1021,"props":4381,"children":4383},{"style":4382},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[4384],{"type":998,"value":4385}," find_highest_score",{"type":993,"tag":1021,"props":4387,"children":4388},{"style":1036},[4389],{"type":998,"value":4390},"(scores):\n",{"type":993,"tag":1021,"props":4392,"children":4393},{"class":1023,"line":27},[4394,4399,4404],{"type":993,"tag":1021,"props":4395,"children":4396},{"style":1027},[4397],{"type":998,"value":4398},"    # ",{"type":993,"tag":1021,"props":4400,"children":4401},{"style":1042},[4402],{"type":998,"value":4403},"TODO",{"type":993,"tag":1021,"props":4405,"children":4406},{"style":1027},[4407],{"type":998,"value":4408},": Iterate through scores to find the highest one\n",{"type":993,"tag":1021,"props":4410,"children":4411},{"class":1023,"line":36},[4412,4416,4420],{"type":993,"tag":1021,"props":4413,"children":4414},{"style":1027},[4415],{"type":998,"value":4398},{"type":993,"tag":1021,"props":4417,"children":4418},{"style":1042},[4419],{"type":998,"value":4403},{"type":993,"tag":1021,"props":4421,"children":4422},{"style":1027},[4423],{"type":998,"value":4424},": Return the highest score\n",{"type":993,"tag":1021,"props":4426,"children":4427},{"class":1023,"line":45},[4428],{"type":993,"tag":1021,"props":4429,"children":4430},{"style":1042},[4431],{"type":998,"value":4432},"    pass\n",{"type":993,"tag":1021,"props":4434,"children":4435},{"class":1023,"line":54},[4436],{"type":993,"tag":1021,"props":4437,"children":4438},{"emptyLinePlaceholder":13},[4439],{"type":998,"value":1246},{"type":993,"tag":1021,"props":4441,"children":4442},{"class":1023,"line":63},[4443],{"type":993,"tag":1021,"props":4444,"children":4445},{"style":1027},[4446],{"type":998,"value":4447},"# Test data\n",{"type":993,"tag":1021,"props":4449,"children":4450},{"class":1023,"line":72},[4451,4456,4460,4464,4468,4472,4476,4480,4484,4488,4492,4496,4500],{"type":993,"tag":1021,"props":4452,"children":4453},{"style":1036},[4454],{"type":998,"value":4455},"test_scores ",{"type":993,"tag":1021,"props":4457,"children":4458},{"style":1042},[4459],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4461,"children":4462},{"style":1036},[4463],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4465,"children":4466},{"style":1086},[4467],{"type":998,"value":2515},{"type":993,"tag":1021,"props":4469,"children":4470},{"style":1036},[4471],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4473,"children":4474},{"style":1086},[4475],{"type":998,"value":2524},{"type":993,"tag":1021,"props":4477,"children":4478},{"style":1036},[4479],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4481,"children":4482},{"style":1086},[4483],{"type":998,"value":2533},{"type":993,"tag":1021,"props":4485,"children":4486},{"style":1036},[4487],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4489,"children":4490},{"style":1086},[4491],{"type":998,"value":2542},{"type":993,"tag":1021,"props":4493,"children":4494},{"style":1036},[4495],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4497,"children":4498},{"style":1086},[4499],{"type":998,"value":2551},{"type":993,"tag":1021,"props":4501,"children":4502},{"style":1036},[4503],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4505,"children":4506},{"class":1023,"line":81},[4507],{"type":993,"tag":1021,"props":4508,"children":4509},{"emptyLinePlaceholder":13},[4510],{"type":998,"value":1246},{"type":993,"tag":1021,"props":4512,"children":4513},{"class":1023,"line":91},[4514,4519,4523],{"type":993,"tag":1021,"props":4515,"children":4516},{"style":1036},[4517],{"type":998,"value":4518},"highest ",{"type":993,"tag":1021,"props":4520,"children":4521},{"style":1042},[4522],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4524,"children":4525},{"style":1036},[4526],{"type":998,"value":4527}," find_highest_score(test_scores)\n",{"type":993,"tag":1021,"props":4529,"children":4530},{"class":1023,"line":100},[4531,4535,4539,4543,4548,4552,4557,4561,4565],{"type":993,"tag":1021,"props":4532,"children":4533},{"style":1086},[4534],{"type":998,"value":1089},{"type":993,"tag":1021,"props":4536,"children":4537},{"style":1036},[4538],{"type":998,"value":1094},{"type":993,"tag":1021,"props":4540,"children":4541},{"style":1042},[4542],{"type":998,"value":1144},{"type":993,"tag":1021,"props":4544,"children":4545},{"style":1053},[4546],{"type":998,"value":4547},"\"Test scores: ",{"type":993,"tag":1021,"props":4549,"children":4550},{"style":1086},[4551],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4553,"children":4554},{"style":1036},[4555],{"type":998,"value":4556},"test_scores",{"type":993,"tag":1021,"props":4558,"children":4559},{"style":1086},[4560],{"type":998,"value":1164},{"type":993,"tag":1021,"props":4562,"children":4563},{"style":1053},[4564],{"type":998,"value":1169},{"type":993,"tag":1021,"props":4566,"children":4567},{"style":1036},[4568],{"type":998,"value":1104},{"type":993,"tag":1021,"props":4570,"children":4571},{"class":1023,"line":109},[4572,4576,4580,4584,4589,4593,4598,4602,4606],{"type":993,"tag":1021,"props":4573,"children":4574},{"style":1086},[4575],{"type":998,"value":1089},{"type":993,"tag":1021,"props":4577,"children":4578},{"style":1036},[4579],{"type":998,"value":1094},{"type":993,"tag":1021,"props":4581,"children":4582},{"style":1042},[4583],{"type":998,"value":1144},{"type":993,"tag":1021,"props":4585,"children":4586},{"style":1053},[4587],{"type":998,"value":4588},"\"Highest score: ",{"type":993,"tag":1021,"props":4590,"children":4591},{"style":1086},[4592],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4594,"children":4595},{"style":1036},[4596],{"type":998,"value":4597},"highest",{"type":993,"tag":1021,"props":4599,"children":4600},{"style":1086},[4601],{"type":998,"value":1164},{"type":993,"tag":1021,"props":4603,"children":4604},{"style":1053},[4605],{"type":998,"value":1169},{"type":993,"tag":1021,"props":4607,"children":4608},{"style":1036},[4609],{"type":998,"value":1104},{"type":993,"tag":2474,"props":4611,"children":4613},{"id":4612},"solution-and-explanation",[4614],{"type":998,"value":4615},"Solution and Explanation 💡",{"type":993,"tag":4617,"props":4618,"children":4619},"details",{},[4620,4628,4962,4970],{"type":993,"tag":4621,"props":4622,"children":4625},"summary",{"className":4623},[4624],"cursor-pointer",[4626],{"type":998,"value":4627},"Click to see the complete solution",{"type":993,"tag":1007,"props":4629,"children":4630},{},[4631],{"type":993,"tag":1011,"props":4632,"children":4634},{"className":1013,"code":4633,"language":6,"meta":8,"style":8},"def find_highest_score(scores):\n    # Start with the first score as highest\n    highest = None\n    \n    # Iterate through scores to find the highest one\n    for score in scores:\n        if highest is None or score > highest:\n            highest = score\n    \n    return highest\n\n# Test data\ntest_scores = {85, 92, 78, 96, 88}\n\nhighest = find_highest_score(test_scores)\nprint(f\"Test scores: {test_scores}\")\nprint(f\"Highest score: {highest}\")\n",[4635],{"type":993,"tag":1017,"props":4636,"children":4637},{"__ignoreMap":8},[4638,4653,4661,4678,4686,4694,4715,4756,4773,4780,4793,4800,4807,4862,4869,4884,4923],{"type":993,"tag":1021,"props":4639,"children":4640},{"class":1023,"line":12},[4641,4645,4649],{"type":993,"tag":1021,"props":4642,"children":4643},{"style":1042},[4644],{"type":998,"value":4379},{"type":993,"tag":1021,"props":4646,"children":4647},{"style":4382},[4648],{"type":998,"value":4385},{"type":993,"tag":1021,"props":4650,"children":4651},{"style":1036},[4652],{"type":998,"value":4390},{"type":993,"tag":1021,"props":4654,"children":4655},{"class":1023,"line":27},[4656],{"type":993,"tag":1021,"props":4657,"children":4658},{"style":1027},[4659],{"type":998,"value":4660},"    # Start with the first score as highest\n",{"type":993,"tag":1021,"props":4662,"children":4663},{"class":1023,"line":36},[4664,4669,4673],{"type":993,"tag":1021,"props":4665,"children":4666},{"style":1036},[4667],{"type":998,"value":4668},"    highest ",{"type":993,"tag":1021,"props":4670,"children":4671},{"style":1042},[4672],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4674,"children":4675},{"style":1086},[4676],{"type":998,"value":4677}," None\n",{"type":993,"tag":1021,"props":4679,"children":4680},{"class":1023,"line":45},[4681],{"type":993,"tag":1021,"props":4682,"children":4683},{"style":1036},[4684],{"type":998,"value":4685},"    \n",{"type":993,"tag":1021,"props":4687,"children":4688},{"class":1023,"line":54},[4689],{"type":993,"tag":1021,"props":4690,"children":4691},{"style":1027},[4692],{"type":998,"value":4693},"    # Iterate through scores to find the highest one\n",{"type":993,"tag":1021,"props":4695,"children":4696},{"class":1023,"line":63},[4697,4702,4706,4710],{"type":993,"tag":1021,"props":4698,"children":4699},{"style":1042},[4700],{"type":998,"value":4701},"    for",{"type":993,"tag":1021,"props":4703,"children":4704},{"style":1036},[4705],{"type":998,"value":2740},{"type":993,"tag":1021,"props":4707,"children":4708},{"style":1042},[4709],{"type":998,"value":1122},{"type":993,"tag":1021,"props":4711,"children":4712},{"style":1036},[4713],{"type":998,"value":4714}," scores:\n",{"type":993,"tag":1021,"props":4716,"children":4717},{"class":1023,"line":72},[4718,4723,4728,4733,4738,4743,4747,4751],{"type":993,"tag":1021,"props":4719,"children":4720},{"style":1042},[4721],{"type":998,"value":4722},"        if",{"type":993,"tag":1021,"props":4724,"children":4725},{"style":1036},[4726],{"type":998,"value":4727}," highest ",{"type":993,"tag":1021,"props":4729,"children":4730},{"style":1042},[4731],{"type":998,"value":4732},"is",{"type":993,"tag":1021,"props":4734,"children":4735},{"style":1086},[4736],{"type":998,"value":4737}," None",{"type":993,"tag":1021,"props":4739,"children":4740},{"style":1042},[4741],{"type":998,"value":4742}," or",{"type":993,"tag":1021,"props":4744,"children":4745},{"style":1036},[4746],{"type":998,"value":2740},{"type":993,"tag":1021,"props":4748,"children":4749},{"style":1042},[4750],{"type":998,"value":1394},{"type":993,"tag":1021,"props":4752,"children":4753},{"style":1036},[4754],{"type":998,"value":4755}," highest:\n",{"type":993,"tag":1021,"props":4757,"children":4758},{"class":1023,"line":81},[4759,4764,4768],{"type":993,"tag":1021,"props":4760,"children":4761},{"style":1036},[4762],{"type":998,"value":4763},"            highest ",{"type":993,"tag":1021,"props":4765,"children":4766},{"style":1042},[4767],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4769,"children":4770},{"style":1036},[4771],{"type":998,"value":4772}," score\n",{"type":993,"tag":1021,"props":4774,"children":4775},{"class":1023,"line":91},[4776],{"type":993,"tag":1021,"props":4777,"children":4778},{"style":1036},[4779],{"type":998,"value":4685},{"type":993,"tag":1021,"props":4781,"children":4782},{"class":1023,"line":100},[4783,4788],{"type":993,"tag":1021,"props":4784,"children":4785},{"style":1042},[4786],{"type":998,"value":4787},"    return",{"type":993,"tag":1021,"props":4789,"children":4790},{"style":1036},[4791],{"type":998,"value":4792}," highest\n",{"type":993,"tag":1021,"props":4794,"children":4795},{"class":1023,"line":109},[4796],{"type":993,"tag":1021,"props":4797,"children":4798},{"emptyLinePlaceholder":13},[4799],{"type":998,"value":1246},{"type":993,"tag":1021,"props":4801,"children":4802},{"class":1023,"line":118},[4803],{"type":993,"tag":1021,"props":4804,"children":4805},{"style":1027},[4806],{"type":998,"value":4447},{"type":993,"tag":1021,"props":4808,"children":4809},{"class":1023,"line":127},[4810,4814,4818,4822,4826,4830,4834,4838,4842,4846,4850,4854,4858],{"type":993,"tag":1021,"props":4811,"children":4812},{"style":1036},[4813],{"type":998,"value":4455},{"type":993,"tag":1021,"props":4815,"children":4816},{"style":1042},[4817],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4819,"children":4820},{"style":1036},[4821],{"type":998,"value":1050},{"type":993,"tag":1021,"props":4823,"children":4824},{"style":1086},[4825],{"type":998,"value":2515},{"type":993,"tag":1021,"props":4827,"children":4828},{"style":1036},[4829],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4831,"children":4832},{"style":1086},[4833],{"type":998,"value":2524},{"type":993,"tag":1021,"props":4835,"children":4836},{"style":1036},[4837],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4839,"children":4840},{"style":1086},[4841],{"type":998,"value":2533},{"type":993,"tag":1021,"props":4843,"children":4844},{"style":1036},[4845],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4847,"children":4848},{"style":1086},[4849],{"type":998,"value":2542},{"type":993,"tag":1021,"props":4851,"children":4852},{"style":1036},[4853],{"type":998,"value":1061},{"type":993,"tag":1021,"props":4855,"children":4856},{"style":1086},[4857],{"type":998,"value":2551},{"type":993,"tag":1021,"props":4859,"children":4860},{"style":1036},[4861],{"type":998,"value":1080},{"type":993,"tag":1021,"props":4863,"children":4864},{"class":1023,"line":136},[4865],{"type":993,"tag":1021,"props":4866,"children":4867},{"emptyLinePlaceholder":13},[4868],{"type":998,"value":1246},{"type":993,"tag":1021,"props":4870,"children":4871},{"class":1023,"line":146},[4872,4876,4880],{"type":993,"tag":1021,"props":4873,"children":4874},{"style":1036},[4875],{"type":998,"value":4518},{"type":993,"tag":1021,"props":4877,"children":4878},{"style":1042},[4879],{"type":998,"value":1045},{"type":993,"tag":1021,"props":4881,"children":4882},{"style":1036},[4883],{"type":998,"value":4527},{"type":993,"tag":1021,"props":4885,"children":4886},{"class":1023,"line":155},[4887,4891,4895,4899,4903,4907,4911,4915,4919],{"type":993,"tag":1021,"props":4888,"children":4889},{"style":1086},[4890],{"type":998,"value":1089},{"type":993,"tag":1021,"props":4892,"children":4893},{"style":1036},[4894],{"type":998,"value":1094},{"type":993,"tag":1021,"props":4896,"children":4897},{"style":1042},[4898],{"type":998,"value":1144},{"type":993,"tag":1021,"props":4900,"children":4901},{"style":1053},[4902],{"type":998,"value":4547},{"type":993,"tag":1021,"props":4904,"children":4905},{"style":1086},[4906],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4908,"children":4909},{"style":1036},[4910],{"type":998,"value":4556},{"type":993,"tag":1021,"props":4912,"children":4913},{"style":1086},[4914],{"type":998,"value":1164},{"type":993,"tag":1021,"props":4916,"children":4917},{"style":1053},[4918],{"type":998,"value":1169},{"type":993,"tag":1021,"props":4920,"children":4921},{"style":1036},[4922],{"type":998,"value":1104},{"type":993,"tag":1021,"props":4924,"children":4925},{"class":1023,"line":164},[4926,4930,4934,4938,4942,4946,4950,4954,4958],{"type":993,"tag":1021,"props":4927,"children":4928},{"style":1086},[4929],{"type":998,"value":1089},{"type":993,"tag":1021,"props":4931,"children":4932},{"style":1036},[4933],{"type":998,"value":1094},{"type":993,"tag":1021,"props":4935,"children":4936},{"style":1042},[4937],{"type":998,"value":1144},{"type":993,"tag":1021,"props":4939,"children":4940},{"style":1053},[4941],{"type":998,"value":4588},{"type":993,"tag":1021,"props":4943,"children":4944},{"style":1086},[4945],{"type":998,"value":1154},{"type":993,"tag":1021,"props":4947,"children":4948},{"style":1036},[4949],{"type":998,"value":4597},{"type":993,"tag":1021,"props":4951,"children":4952},{"style":1086},[4953],{"type":998,"value":1164},{"type":993,"tag":1021,"props":4955,"children":4956},{"style":1053},[4957],{"type":998,"value":1169},{"type":993,"tag":1021,"props":4959,"children":4960},{"style":1036},[4961],{"type":998,"value":1104},{"type":993,"tag":1001,"props":4963,"children":4964},{},[4965],{"type":993,"tag":1457,"props":4966,"children":4967},{},[4968],{"type":998,"value":4969},"Key Learning Points:",{"type":993,"tag":4971,"props":4972,"children":4973},"ul",{},[4974,4995,5006,5017],{"type":993,"tag":4975,"props":4976,"children":4977},"li",{},[4978,4980,4985,4987,4993],{"type":998,"value":4979},"📌 ",{"type":993,"tag":1457,"props":4981,"children":4982},{},[4983],{"type":998,"value":4984},"for loop",{"type":998,"value":4986},": Use ",{"type":993,"tag":1017,"props":4988,"children":4990},{"className":4989},[],[4991],{"type":998,"value":4992},"for score in scores",{"type":998,"value":4994}," to iterate through all set elements",{"type":993,"tag":4975,"props":4996,"children":4997},{},[4998,4999,5004],{"type":998,"value":4979},{"type":993,"tag":1457,"props":5000,"children":5001},{},[5002],{"type":998,"value":5003},"Comparison tracking",{"type":998,"value":5005},": Keep track of the highest value found so far",{"type":993,"tag":4975,"props":5007,"children":5008},{},[5009,5010,5015],{"type":998,"value":4979},{"type":993,"tag":1457,"props":5011,"children":5012},{},[5013],{"type":998,"value":5014},"Initialization",{"type":998,"value":5016},": Start with None and update when finding first element",{"type":993,"tag":4975,"props":5018,"children":5019},{},[5020,5021,5026,5028,5034],{"type":998,"value":4979},{"type":993,"tag":1457,"props":5022,"children":5023},{},[5024],{"type":998,"value":5025},"Built-in alternative",{"type":998,"value":5027},": You could also use ",{"type":993,"tag":1017,"props":5029,"children":5031},{"className":5030},[],[5032],{"type":998,"value":5033},"max(scores)",{"type":998,"value":5035}," for the same result",{"type":993,"tag":1175,"props":5037,"children":5039},{"id":5038},"test-your-knowledge",[5040],{"type":998,"value":5041},"Test Your Knowledge",{"type":993,"tag":1001,"props":5043,"children":5044},{},[5045],{"type":998,"value":5046},"Test what you've learned about iterating through sets:",{"type":993,"tag":5048,"props":5049,"children":5053},"redirect-button",{"icon":5050,"label":5051,"url":5052},"pi pi-send","Take Quiz","/tutorial-quiz/python/iterating-sets",[],{"type":993,"tag":1175,"props":5055,"children":5057},{"id":5056},"whats-next",[5058],{"type":998,"value":5059},"What's Next?",{"type":993,"tag":1001,"props":5061,"children":5062},{},[5063],{"type":998,"value":5064},"Now that you can iterate through sets effectively, you're ready to learn about combining multiple sets using mathematical operations. This will complete your understanding of set manipulation.",{"type":993,"tag":1001,"props":5066,"children":5067},{},[5068,5070,5074],{"type":998,"value":5069},"Ready to continue? Check out our lesson on ",{"type":993,"tag":4345,"props":5071,"children":5072},{"href":498},[5073],{"type":998,"value":499},{"type":998,"value":5075},".",{"type":993,"tag":5077,"props":5078,"children":5079},"style",{},[5080],{"type":998,"value":5081},"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":5083},[5084,5085,5086,5087,5088,5092,5093,5094,5097,5098],{"id":1177,"depth":27,"text":1180},{"id":1486,"depth":27,"text":1489},{"id":1810,"depth":27,"text":1813},{"id":2197,"depth":27,"text":2200},{"id":2464,"depth":27,"text":2467,"children":5089},[5090,5091],{"id":2476,"depth":36,"text":2479},{"id":2795,"depth":36,"text":2798},{"id":3112,"depth":27,"text":3115},{"id":3691,"depth":27,"text":3694},{"id":4100,"depth":27,"text":4103,"children":5095},[5096],{"id":4612,"depth":36,"text":4615},{"id":5038,"depth":27,"text":5041},{"id":5056,"depth":27,"text":5059},1782373741670]