[{"data":1,"prerenderedAt":7257},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/loop-control":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},"/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},"/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},"/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",[251],{"_path":252,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":253,"description":254,"slug":255,"parentId":224,"order":256,"body":989,"_type":15,"_id":257,"_source":17,"_file":258,"_stem":259,"_extension":20},{"type":990,"children":991,"toc":7223},"root",[992,999,1027,1032,1492,1499,1504,1595,1600,1607,1612,1889,1895,1900,2165,2171,2176,2264,2269,2275,2280,2560,2566,2571,2878,2883,2889,2894,3068,3074,3464,3470,3475,3562,3568,3573,3941,3947,3952,4350,4356,4361,4448,4453,4459,4464,4758,4764,4769,5060,5066,5071,5369,5375,5380,5486,5491,5497,5502,5738,5744,5749,5959,5965,5970,6280,6286,6291,6591,6597,6602,6767,6772,6778,6783,6870,6875,6881,6886,7171,7177,7182,7187,7193,7205,7217],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":255},[997],{"type":998,"value":253},"text",{"type":993,"tag":1000,"props":1001,"children":1002},"p",{},[1003,1005,1011,1013,1018,1020,1025],{"type":998,"value":1004},"Loop control statements give you precise control over how your loops execute. Beyond basic iteration, Python provides powerful mechanisms to modify loop behavior: ",{"type":993,"tag":1006,"props":1007,"children":1008},"strong",{},[1009],{"type":998,"value":1010},"break",{"type":998,"value":1012}," to exit loops early, ",{"type":993,"tag":1006,"props":1014,"children":1015},{},[1016],{"type":998,"value":1017},"continue",{"type":998,"value":1019}," to skip iterations, and ",{"type":993,"tag":1006,"props":1021,"children":1022},{},[1023],{"type":998,"value":1024},"else",{"type":998,"value":1026}," clauses to handle completion scenarios. These tools transform simple loops into sophisticated control structures.",{"type":993,"tag":1000,"props":1028,"children":1029},{},[1030],{"type":998,"value":1031},"Mastering loop control allows you to write more efficient, readable code that handles complex logic elegantly. Instead of using complicated nested conditions, you can express your intent clearly with the right control statements.",{"type":993,"tag":1033,"props":1034,"children":1035},"code-try",{},[1036],{"type":993,"tag":1037,"props":1038,"children":1041},"pre",{"className":1039,"code":1040,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Loop control in action\nnumbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n\n# Finding first even number with break\nfor num in numbers:\n    if num % 2 == 0:\n        print(f\"First even number: {num}\")\n        break\n    print(f\"Checking: {num}\")\n\n# Processing only odd numbers with continue\nprint(\"\\nOdd numbers only:\")\nfor num in numbers:\n    if num % 2 == 0:\n        continue  # Skip even numbers\n    print(f\"Odd: {num}\")\n",[1042],{"type":993,"tag":1043,"props":1044,"children":1045},"code",{"__ignoreMap":8},[1046,1057,1170,1178,1186,1209,1246,1295,1303,1344,1351,1359,1389,1408,1439,1452],{"type":993,"tag":1047,"props":1048,"children":1050},"span",{"class":1049,"line":12},"line",[1051],{"type":993,"tag":1047,"props":1052,"children":1054},{"style":1053},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1055],{"type":998,"value":1056},"# Loop control in action\n",{"type":993,"tag":1047,"props":1058,"children":1059},{"class":1049,"line":27},[1060,1066,1072,1077,1083,1088,1093,1097,1102,1106,1111,1115,1120,1124,1129,1133,1138,1142,1147,1151,1156,1160,1165],{"type":993,"tag":1047,"props":1061,"children":1063},{"style":1062},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1064],{"type":998,"value":1065},"numbers ",{"type":993,"tag":1047,"props":1067,"children":1069},{"style":1068},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1070],{"type":998,"value":1071},"=",{"type":993,"tag":1047,"props":1073,"children":1074},{"style":1062},[1075],{"type":998,"value":1076}," [",{"type":993,"tag":1047,"props":1078,"children":1080},{"style":1079},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1081],{"type":998,"value":1082},"1",{"type":993,"tag":1047,"props":1084,"children":1085},{"style":1062},[1086],{"type":998,"value":1087},", ",{"type":993,"tag":1047,"props":1089,"children":1090},{"style":1079},[1091],{"type":998,"value":1092},"2",{"type":993,"tag":1047,"props":1094,"children":1095},{"style":1062},[1096],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1098,"children":1099},{"style":1079},[1100],{"type":998,"value":1101},"3",{"type":993,"tag":1047,"props":1103,"children":1104},{"style":1062},[1105],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1107,"children":1108},{"style":1079},[1109],{"type":998,"value":1110},"4",{"type":993,"tag":1047,"props":1112,"children":1113},{"style":1062},[1114],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1116,"children":1117},{"style":1079},[1118],{"type":998,"value":1119},"5",{"type":993,"tag":1047,"props":1121,"children":1122},{"style":1062},[1123],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1125,"children":1126},{"style":1079},[1127],{"type":998,"value":1128},"6",{"type":993,"tag":1047,"props":1130,"children":1131},{"style":1062},[1132],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1134,"children":1135},{"style":1079},[1136],{"type":998,"value":1137},"7",{"type":993,"tag":1047,"props":1139,"children":1140},{"style":1062},[1141],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1143,"children":1144},{"style":1079},[1145],{"type":998,"value":1146},"8",{"type":993,"tag":1047,"props":1148,"children":1149},{"style":1062},[1150],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1152,"children":1153},{"style":1079},[1154],{"type":998,"value":1155},"9",{"type":993,"tag":1047,"props":1157,"children":1158},{"style":1062},[1159],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1161,"children":1162},{"style":1079},[1163],{"type":998,"value":1164},"10",{"type":993,"tag":1047,"props":1166,"children":1167},{"style":1062},[1168],{"type":998,"value":1169},"]\n",{"type":993,"tag":1047,"props":1171,"children":1172},{"class":1049,"line":36},[1173],{"type":993,"tag":1047,"props":1174,"children":1175},{"emptyLinePlaceholder":13},[1176],{"type":998,"value":1177},"\n",{"type":993,"tag":1047,"props":1179,"children":1180},{"class":1049,"line":45},[1181],{"type":993,"tag":1047,"props":1182,"children":1183},{"style":1053},[1184],{"type":998,"value":1185},"# Finding first even number with break\n",{"type":993,"tag":1047,"props":1187,"children":1188},{"class":1049,"line":54},[1189,1194,1199,1204],{"type":993,"tag":1047,"props":1190,"children":1191},{"style":1068},[1192],{"type":998,"value":1193},"for",{"type":993,"tag":1047,"props":1195,"children":1196},{"style":1062},[1197],{"type":998,"value":1198}," num ",{"type":993,"tag":1047,"props":1200,"children":1201},{"style":1068},[1202],{"type":998,"value":1203},"in",{"type":993,"tag":1047,"props":1205,"children":1206},{"style":1062},[1207],{"type":998,"value":1208}," numbers:\n",{"type":993,"tag":1047,"props":1210,"children":1211},{"class":1049,"line":63},[1212,1217,1221,1226,1231,1236,1241],{"type":993,"tag":1047,"props":1213,"children":1214},{"style":1068},[1215],{"type":998,"value":1216},"    if",{"type":993,"tag":1047,"props":1218,"children":1219},{"style":1062},[1220],{"type":998,"value":1198},{"type":993,"tag":1047,"props":1222,"children":1223},{"style":1068},[1224],{"type":998,"value":1225},"%",{"type":993,"tag":1047,"props":1227,"children":1228},{"style":1079},[1229],{"type":998,"value":1230}," 2",{"type":993,"tag":1047,"props":1232,"children":1233},{"style":1068},[1234],{"type":998,"value":1235}," ==",{"type":993,"tag":1047,"props":1237,"children":1238},{"style":1079},[1239],{"type":998,"value":1240}," 0",{"type":993,"tag":1047,"props":1242,"children":1243},{"style":1062},[1244],{"type":998,"value":1245},":\n",{"type":993,"tag":1047,"props":1247,"children":1248},{"class":1049,"line":72},[1249,1254,1259,1264,1270,1275,1280,1285,1290],{"type":993,"tag":1047,"props":1250,"children":1251},{"style":1079},[1252],{"type":998,"value":1253},"        print",{"type":993,"tag":1047,"props":1255,"children":1256},{"style":1062},[1257],{"type":998,"value":1258},"(",{"type":993,"tag":1047,"props":1260,"children":1261},{"style":1068},[1262],{"type":998,"value":1263},"f",{"type":993,"tag":1047,"props":1265,"children":1267},{"style":1266},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1268],{"type":998,"value":1269},"\"First even number: ",{"type":993,"tag":1047,"props":1271,"children":1272},{"style":1079},[1273],{"type":998,"value":1274},"{",{"type":993,"tag":1047,"props":1276,"children":1277},{"style":1062},[1278],{"type":998,"value":1279},"num",{"type":993,"tag":1047,"props":1281,"children":1282},{"style":1079},[1283],{"type":998,"value":1284},"}",{"type":993,"tag":1047,"props":1286,"children":1287},{"style":1266},[1288],{"type":998,"value":1289},"\"",{"type":993,"tag":1047,"props":1291,"children":1292},{"style":1062},[1293],{"type":998,"value":1294},")\n",{"type":993,"tag":1047,"props":1296,"children":1297},{"class":1049,"line":81},[1298],{"type":993,"tag":1047,"props":1299,"children":1300},{"style":1068},[1301],{"type":998,"value":1302},"        break\n",{"type":993,"tag":1047,"props":1304,"children":1305},{"class":1049,"line":91},[1306,1311,1315,1319,1324,1328,1332,1336,1340],{"type":993,"tag":1047,"props":1307,"children":1308},{"style":1079},[1309],{"type":998,"value":1310},"    print",{"type":993,"tag":1047,"props":1312,"children":1313},{"style":1062},[1314],{"type":998,"value":1258},{"type":993,"tag":1047,"props":1316,"children":1317},{"style":1068},[1318],{"type":998,"value":1263},{"type":993,"tag":1047,"props":1320,"children":1321},{"style":1266},[1322],{"type":998,"value":1323},"\"Checking: ",{"type":993,"tag":1047,"props":1325,"children":1326},{"style":1079},[1327],{"type":998,"value":1274},{"type":993,"tag":1047,"props":1329,"children":1330},{"style":1062},[1331],{"type":998,"value":1279},{"type":993,"tag":1047,"props":1333,"children":1334},{"style":1079},[1335],{"type":998,"value":1284},{"type":993,"tag":1047,"props":1337,"children":1338},{"style":1266},[1339],{"type":998,"value":1289},{"type":993,"tag":1047,"props":1341,"children":1342},{"style":1062},[1343],{"type":998,"value":1294},{"type":993,"tag":1047,"props":1345,"children":1346},{"class":1049,"line":100},[1347],{"type":993,"tag":1047,"props":1348,"children":1349},{"emptyLinePlaceholder":13},[1350],{"type":998,"value":1177},{"type":993,"tag":1047,"props":1352,"children":1353},{"class":1049,"line":109},[1354],{"type":993,"tag":1047,"props":1355,"children":1356},{"style":1053},[1357],{"type":998,"value":1358},"# Processing only odd numbers with continue\n",{"type":993,"tag":1047,"props":1360,"children":1361},{"class":1049,"line":118},[1362,1367,1371,1375,1380,1385],{"type":993,"tag":1047,"props":1363,"children":1364},{"style":1079},[1365],{"type":998,"value":1366},"print",{"type":993,"tag":1047,"props":1368,"children":1369},{"style":1062},[1370],{"type":998,"value":1258},{"type":993,"tag":1047,"props":1372,"children":1373},{"style":1266},[1374],{"type":998,"value":1289},{"type":993,"tag":1047,"props":1376,"children":1377},{"style":1079},[1378],{"type":998,"value":1379},"\\n",{"type":993,"tag":1047,"props":1381,"children":1382},{"style":1266},[1383],{"type":998,"value":1384},"Odd numbers only:\"",{"type":993,"tag":1047,"props":1386,"children":1387},{"style":1062},[1388],{"type":998,"value":1294},{"type":993,"tag":1047,"props":1390,"children":1391},{"class":1049,"line":127},[1392,1396,1400,1404],{"type":993,"tag":1047,"props":1393,"children":1394},{"style":1068},[1395],{"type":998,"value":1193},{"type":993,"tag":1047,"props":1397,"children":1398},{"style":1062},[1399],{"type":998,"value":1198},{"type":993,"tag":1047,"props":1401,"children":1402},{"style":1068},[1403],{"type":998,"value":1203},{"type":993,"tag":1047,"props":1405,"children":1406},{"style":1062},[1407],{"type":998,"value":1208},{"type":993,"tag":1047,"props":1409,"children":1410},{"class":1049,"line":136},[1411,1415,1419,1423,1427,1431,1435],{"type":993,"tag":1047,"props":1412,"children":1413},{"style":1068},[1414],{"type":998,"value":1216},{"type":993,"tag":1047,"props":1416,"children":1417},{"style":1062},[1418],{"type":998,"value":1198},{"type":993,"tag":1047,"props":1420,"children":1421},{"style":1068},[1422],{"type":998,"value":1225},{"type":993,"tag":1047,"props":1424,"children":1425},{"style":1079},[1426],{"type":998,"value":1230},{"type":993,"tag":1047,"props":1428,"children":1429},{"style":1068},[1430],{"type":998,"value":1235},{"type":993,"tag":1047,"props":1432,"children":1433},{"style":1079},[1434],{"type":998,"value":1240},{"type":993,"tag":1047,"props":1436,"children":1437},{"style":1062},[1438],{"type":998,"value":1245},{"type":993,"tag":1047,"props":1440,"children":1441},{"class":1049,"line":146},[1442,1447],{"type":993,"tag":1047,"props":1443,"children":1444},{"style":1068},[1445],{"type":998,"value":1446},"        continue",{"type":993,"tag":1047,"props":1448,"children":1449},{"style":1053},[1450],{"type":998,"value":1451},"  # Skip even numbers\n",{"type":993,"tag":1047,"props":1453,"children":1454},{"class":1049,"line":155},[1455,1459,1463,1467,1472,1476,1480,1484,1488],{"type":993,"tag":1047,"props":1456,"children":1457},{"style":1079},[1458],{"type":998,"value":1310},{"type":993,"tag":1047,"props":1460,"children":1461},{"style":1062},[1462],{"type":998,"value":1258},{"type":993,"tag":1047,"props":1464,"children":1465},{"style":1068},[1466],{"type":998,"value":1263},{"type":993,"tag":1047,"props":1468,"children":1469},{"style":1266},[1470],{"type":998,"value":1471},"\"Odd: ",{"type":993,"tag":1047,"props":1473,"children":1474},{"style":1079},[1475],{"type":998,"value":1274},{"type":993,"tag":1047,"props":1477,"children":1478},{"style":1062},[1479],{"type":998,"value":1279},{"type":993,"tag":1047,"props":1481,"children":1482},{"style":1079},[1483],{"type":998,"value":1284},{"type":993,"tag":1047,"props":1485,"children":1486},{"style":1266},[1487],{"type":998,"value":1289},{"type":993,"tag":1047,"props":1489,"children":1490},{"style":1062},[1491],{"type":998,"value":1294},{"type":993,"tag":1493,"props":1494,"children":1496},"h2",{"id":1495},"the-break-statement",[1497],{"type":998,"value":1498},"The Break Statement",{"type":993,"tag":1000,"props":1500,"children":1501},{},[1502],{"type":998,"value":1503},"The break statement immediately terminates the current loop and continues execution with the code after the loop. It's perfect for search operations, early termination conditions, and implementing \"find first\" patterns.",{"type":993,"tag":1505,"props":1506,"children":1510},"info-box",{"emoji":1507,"title":1508,"type":1509},"🛑","Break Statement Power","warning",[1511,1519,1544,1552,1575,1585],{"type":993,"tag":1000,"props":1512,"children":1513},{},[1514],{"type":993,"tag":1006,"props":1515,"children":1516},{},[1517],{"type":998,"value":1518},"Immediate Termination:",{"type":993,"tag":1520,"props":1521,"children":1522},"ul",{},[1523,1529,1534,1539],{"type":993,"tag":1524,"props":1525,"children":1526},"li",{},[1527],{"type":998,"value":1528},"Exits current loop instantly",{"type":993,"tag":1524,"props":1530,"children":1531},{},[1532],{"type":998,"value":1533},"Skips remaining iterations",{"type":993,"tag":1524,"props":1535,"children":1536},{},[1537],{"type":998,"value":1538},"Continues execution after loop",{"type":993,"tag":1524,"props":1540,"children":1541},{},[1542],{"type":998,"value":1543},"Only affects innermost loop in nested structures",{"type":993,"tag":1000,"props":1545,"children":1546},{},[1547],{"type":993,"tag":1006,"props":1548,"children":1549},{},[1550],{"type":998,"value":1551},"Optimal Use Cases:",{"type":993,"tag":1520,"props":1553,"children":1554},{},[1555,1560,1565,1570],{"type":993,"tag":1524,"props":1556,"children":1557},{},[1558],{"type":998,"value":1559},"Search operations (find first match)",{"type":993,"tag":1524,"props":1561,"children":1562},{},[1563],{"type":998,"value":1564},"Early termination conditions",{"type":993,"tag":1524,"props":1566,"children":1567},{},[1568],{"type":998,"value":1569},"Error detection and handling",{"type":993,"tag":1524,"props":1571,"children":1572},{},[1573],{"type":998,"value":1574},"Resource conservation in large datasets",{"type":993,"tag":1000,"props":1576,"children":1577},{},[1578,1583],{"type":993,"tag":1006,"props":1579,"children":1580},{},[1581],{"type":998,"value":1582},"Performance Benefit:",{"type":998,"value":1584}," Avoids unnecessary iterations when condition is met",{"type":993,"tag":1000,"props":1586,"children":1587},{},[1588,1593],{"type":993,"tag":1006,"props":1589,"children":1590},{},[1591],{"type":998,"value":1592},"Code Clarity:",{"type":998,"value":1594}," Makes early exit intentions explicit and readable",{"type":993,"tag":1000,"props":1596,"children":1597},{},[1598],{"type":998,"value":1599},"Break provides a clean way to exit loops when you've found what you're looking for or when a termination condition is met, avoiding unnecessary iterations.",{"type":993,"tag":1601,"props":1602,"children":1604},"h3",{"id":1603},"target-search-implementation",[1605],{"type":998,"value":1606},"Target Search Implementation",{"type":993,"tag":1000,"props":1608,"children":1609},{},[1610],{"type":998,"value":1611},"Efficient search pattern with immediate termination upon finding target:",{"type":993,"tag":1033,"props":1613,"children":1614},{},[1615],{"type":993,"tag":1037,"props":1616,"children":1618},{"className":1039,"code":1617,"language":6,"meta":8,"style":8},"# Search for target value\ntarget = \"python\"\nwords = [\"hello\", \"world\", \"python\", \"programming\"]\n\nfor word in words:\n    print(f\"Checking: {word}\")\n    if word == target:\n        print(f\"Found '{target}'!\")\n        break\nelse:\n    print(f\"'{target}' not found\")\n",[1619],{"type":993,"tag":1043,"props":1620,"children":1621},{"__ignoreMap":8},[1622,1630,1647,1699,1706,1727,1767,1788,1830,1837,1848],{"type":993,"tag":1047,"props":1623,"children":1624},{"class":1049,"line":12},[1625],{"type":993,"tag":1047,"props":1626,"children":1627},{"style":1053},[1628],{"type":998,"value":1629},"# Search for target value\n",{"type":993,"tag":1047,"props":1631,"children":1632},{"class":1049,"line":27},[1633,1638,1642],{"type":993,"tag":1047,"props":1634,"children":1635},{"style":1062},[1636],{"type":998,"value":1637},"target ",{"type":993,"tag":1047,"props":1639,"children":1640},{"style":1068},[1641],{"type":998,"value":1071},{"type":993,"tag":1047,"props":1643,"children":1644},{"style":1266},[1645],{"type":998,"value":1646}," \"python\"\n",{"type":993,"tag":1047,"props":1648,"children":1649},{"class":1049,"line":36},[1650,1655,1659,1663,1668,1672,1677,1681,1686,1690,1695],{"type":993,"tag":1047,"props":1651,"children":1652},{"style":1062},[1653],{"type":998,"value":1654},"words ",{"type":993,"tag":1047,"props":1656,"children":1657},{"style":1068},[1658],{"type":998,"value":1071},{"type":993,"tag":1047,"props":1660,"children":1661},{"style":1062},[1662],{"type":998,"value":1076},{"type":993,"tag":1047,"props":1664,"children":1665},{"style":1266},[1666],{"type":998,"value":1667},"\"hello\"",{"type":993,"tag":1047,"props":1669,"children":1670},{"style":1062},[1671],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1673,"children":1674},{"style":1266},[1675],{"type":998,"value":1676},"\"world\"",{"type":993,"tag":1047,"props":1678,"children":1679},{"style":1062},[1680],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1682,"children":1683},{"style":1266},[1684],{"type":998,"value":1685},"\"python\"",{"type":993,"tag":1047,"props":1687,"children":1688},{"style":1062},[1689],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1691,"children":1692},{"style":1266},[1693],{"type":998,"value":1694},"\"programming\"",{"type":993,"tag":1047,"props":1696,"children":1697},{"style":1062},[1698],{"type":998,"value":1169},{"type":993,"tag":1047,"props":1700,"children":1701},{"class":1049,"line":45},[1702],{"type":993,"tag":1047,"props":1703,"children":1704},{"emptyLinePlaceholder":13},[1705],{"type":998,"value":1177},{"type":993,"tag":1047,"props":1707,"children":1708},{"class":1049,"line":54},[1709,1713,1718,1722],{"type":993,"tag":1047,"props":1710,"children":1711},{"style":1068},[1712],{"type":998,"value":1193},{"type":993,"tag":1047,"props":1714,"children":1715},{"style":1062},[1716],{"type":998,"value":1717}," word ",{"type":993,"tag":1047,"props":1719,"children":1720},{"style":1068},[1721],{"type":998,"value":1203},{"type":993,"tag":1047,"props":1723,"children":1724},{"style":1062},[1725],{"type":998,"value":1726}," words:\n",{"type":993,"tag":1047,"props":1728,"children":1729},{"class":1049,"line":63},[1730,1734,1738,1742,1746,1750,1755,1759,1763],{"type":993,"tag":1047,"props":1731,"children":1732},{"style":1079},[1733],{"type":998,"value":1310},{"type":993,"tag":1047,"props":1735,"children":1736},{"style":1062},[1737],{"type":998,"value":1258},{"type":993,"tag":1047,"props":1739,"children":1740},{"style":1068},[1741],{"type":998,"value":1263},{"type":993,"tag":1047,"props":1743,"children":1744},{"style":1266},[1745],{"type":998,"value":1323},{"type":993,"tag":1047,"props":1747,"children":1748},{"style":1079},[1749],{"type":998,"value":1274},{"type":993,"tag":1047,"props":1751,"children":1752},{"style":1062},[1753],{"type":998,"value":1754},"word",{"type":993,"tag":1047,"props":1756,"children":1757},{"style":1079},[1758],{"type":998,"value":1284},{"type":993,"tag":1047,"props":1760,"children":1761},{"style":1266},[1762],{"type":998,"value":1289},{"type":993,"tag":1047,"props":1764,"children":1765},{"style":1062},[1766],{"type":998,"value":1294},{"type":993,"tag":1047,"props":1768,"children":1769},{"class":1049,"line":72},[1770,1774,1778,1783],{"type":993,"tag":1047,"props":1771,"children":1772},{"style":1068},[1773],{"type":998,"value":1216},{"type":993,"tag":1047,"props":1775,"children":1776},{"style":1062},[1777],{"type":998,"value":1717},{"type":993,"tag":1047,"props":1779,"children":1780},{"style":1068},[1781],{"type":998,"value":1782},"==",{"type":993,"tag":1047,"props":1784,"children":1785},{"style":1062},[1786],{"type":998,"value":1787}," target:\n",{"type":993,"tag":1047,"props":1789,"children":1790},{"class":1049,"line":81},[1791,1795,1799,1803,1808,1812,1817,1821,1826],{"type":993,"tag":1047,"props":1792,"children":1793},{"style":1079},[1794],{"type":998,"value":1253},{"type":993,"tag":1047,"props":1796,"children":1797},{"style":1062},[1798],{"type":998,"value":1258},{"type":993,"tag":1047,"props":1800,"children":1801},{"style":1068},[1802],{"type":998,"value":1263},{"type":993,"tag":1047,"props":1804,"children":1805},{"style":1266},[1806],{"type":998,"value":1807},"\"Found '",{"type":993,"tag":1047,"props":1809,"children":1810},{"style":1079},[1811],{"type":998,"value":1274},{"type":993,"tag":1047,"props":1813,"children":1814},{"style":1062},[1815],{"type":998,"value":1816},"target",{"type":993,"tag":1047,"props":1818,"children":1819},{"style":1079},[1820],{"type":998,"value":1284},{"type":993,"tag":1047,"props":1822,"children":1823},{"style":1266},[1824],{"type":998,"value":1825},"'!\"",{"type":993,"tag":1047,"props":1827,"children":1828},{"style":1062},[1829],{"type":998,"value":1294},{"type":993,"tag":1047,"props":1831,"children":1832},{"class":1049,"line":91},[1833],{"type":993,"tag":1047,"props":1834,"children":1835},{"style":1068},[1836],{"type":998,"value":1302},{"type":993,"tag":1047,"props":1838,"children":1839},{"class":1049,"line":100},[1840,1844],{"type":993,"tag":1047,"props":1841,"children":1842},{"style":1068},[1843],{"type":998,"value":1024},{"type":993,"tag":1047,"props":1845,"children":1846},{"style":1062},[1847],{"type":998,"value":1245},{"type":993,"tag":1047,"props":1849,"children":1850},{"class":1049,"line":109},[1851,1855,1859,1863,1868,1872,1876,1880,1885],{"type":993,"tag":1047,"props":1852,"children":1853},{"style":1079},[1854],{"type":998,"value":1310},{"type":993,"tag":1047,"props":1856,"children":1857},{"style":1062},[1858],{"type":998,"value":1258},{"type":993,"tag":1047,"props":1860,"children":1861},{"style":1068},[1862],{"type":998,"value":1263},{"type":993,"tag":1047,"props":1864,"children":1865},{"style":1266},[1866],{"type":998,"value":1867},"\"'",{"type":993,"tag":1047,"props":1869,"children":1870},{"style":1079},[1871],{"type":998,"value":1274},{"type":993,"tag":1047,"props":1873,"children":1874},{"style":1062},[1875],{"type":998,"value":1816},{"type":993,"tag":1047,"props":1877,"children":1878},{"style":1079},[1879],{"type":998,"value":1284},{"type":993,"tag":1047,"props":1881,"children":1882},{"style":1266},[1883],{"type":998,"value":1884},"' not found\"",{"type":993,"tag":1047,"props":1886,"children":1887},{"style":1062},[1888],{"type":998,"value":1294},{"type":993,"tag":1601,"props":1890,"children":1892},{"id":1891},"validation-with-early-exit",[1893],{"type":998,"value":1894},"Validation with Early Exit",{"type":993,"tag":1000,"props":1896,"children":1897},{},[1898],{"type":998,"value":1899},"Quality control processing with immediate failure detection:",{"type":993,"tag":1033,"props":1901,"children":1902},{},[1903],{"type":993,"tag":1037,"props":1904,"children":1906},{"className":1039,"code":1905,"language":6,"meta":8,"style":8},"# Early termination with validation\nscores = [85, 92, 78, 45, 96]\nfor score in scores:\n    if score \u003C 50:\n        print(f\"Found failing score: {score}\")\n        print(\"Validation failed!\")\n        break\n    print(f\"Score {score}: PASS\")\nelse:\n    print(\"All scores are passing!\")\n",[1907],{"type":993,"tag":1043,"props":1908,"children":1909},{"__ignoreMap":8},[1910,1918,1979,2000,2025,2066,2086,2093,2134,2145],{"type":993,"tag":1047,"props":1911,"children":1912},{"class":1049,"line":12},[1913],{"type":993,"tag":1047,"props":1914,"children":1915},{"style":1053},[1916],{"type":998,"value":1917},"# Early termination with validation\n",{"type":993,"tag":1047,"props":1919,"children":1920},{"class":1049,"line":27},[1921,1926,1930,1934,1939,1943,1948,1952,1957,1961,1966,1970,1975],{"type":993,"tag":1047,"props":1922,"children":1923},{"style":1062},[1924],{"type":998,"value":1925},"scores ",{"type":993,"tag":1047,"props":1927,"children":1928},{"style":1068},[1929],{"type":998,"value":1071},{"type":993,"tag":1047,"props":1931,"children":1932},{"style":1062},[1933],{"type":998,"value":1076},{"type":993,"tag":1047,"props":1935,"children":1936},{"style":1079},[1937],{"type":998,"value":1938},"85",{"type":993,"tag":1047,"props":1940,"children":1941},{"style":1062},[1942],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1944,"children":1945},{"style":1079},[1946],{"type":998,"value":1947},"92",{"type":993,"tag":1047,"props":1949,"children":1950},{"style":1062},[1951],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1953,"children":1954},{"style":1079},[1955],{"type":998,"value":1956},"78",{"type":993,"tag":1047,"props":1958,"children":1959},{"style":1062},[1960],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1962,"children":1963},{"style":1079},[1964],{"type":998,"value":1965},"45",{"type":993,"tag":1047,"props":1967,"children":1968},{"style":1062},[1969],{"type":998,"value":1087},{"type":993,"tag":1047,"props":1971,"children":1972},{"style":1079},[1973],{"type":998,"value":1974},"96",{"type":993,"tag":1047,"props":1976,"children":1977},{"style":1062},[1978],{"type":998,"value":1169},{"type":993,"tag":1047,"props":1980,"children":1981},{"class":1049,"line":36},[1982,1986,1991,1995],{"type":993,"tag":1047,"props":1983,"children":1984},{"style":1068},[1985],{"type":998,"value":1193},{"type":993,"tag":1047,"props":1987,"children":1988},{"style":1062},[1989],{"type":998,"value":1990}," score ",{"type":993,"tag":1047,"props":1992,"children":1993},{"style":1068},[1994],{"type":998,"value":1203},{"type":993,"tag":1047,"props":1996,"children":1997},{"style":1062},[1998],{"type":998,"value":1999}," scores:\n",{"type":993,"tag":1047,"props":2001,"children":2002},{"class":1049,"line":45},[2003,2007,2011,2016,2021],{"type":993,"tag":1047,"props":2004,"children":2005},{"style":1068},[2006],{"type":998,"value":1216},{"type":993,"tag":1047,"props":2008,"children":2009},{"style":1062},[2010],{"type":998,"value":1990},{"type":993,"tag":1047,"props":2012,"children":2013},{"style":1068},[2014],{"type":998,"value":2015},"\u003C",{"type":993,"tag":1047,"props":2017,"children":2018},{"style":1079},[2019],{"type":998,"value":2020}," 50",{"type":993,"tag":1047,"props":2022,"children":2023},{"style":1062},[2024],{"type":998,"value":1245},{"type":993,"tag":1047,"props":2026,"children":2027},{"class":1049,"line":54},[2028,2032,2036,2040,2045,2049,2054,2058,2062],{"type":993,"tag":1047,"props":2029,"children":2030},{"style":1079},[2031],{"type":998,"value":1253},{"type":993,"tag":1047,"props":2033,"children":2034},{"style":1062},[2035],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2037,"children":2038},{"style":1068},[2039],{"type":998,"value":1263},{"type":993,"tag":1047,"props":2041,"children":2042},{"style":1266},[2043],{"type":998,"value":2044},"\"Found failing score: ",{"type":993,"tag":1047,"props":2046,"children":2047},{"style":1079},[2048],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2050,"children":2051},{"style":1062},[2052],{"type":998,"value":2053},"score",{"type":993,"tag":1047,"props":2055,"children":2056},{"style":1079},[2057],{"type":998,"value":1284},{"type":993,"tag":1047,"props":2059,"children":2060},{"style":1266},[2061],{"type":998,"value":1289},{"type":993,"tag":1047,"props":2063,"children":2064},{"style":1062},[2065],{"type":998,"value":1294},{"type":993,"tag":1047,"props":2067,"children":2068},{"class":1049,"line":63},[2069,2073,2077,2082],{"type":993,"tag":1047,"props":2070,"children":2071},{"style":1079},[2072],{"type":998,"value":1253},{"type":993,"tag":1047,"props":2074,"children":2075},{"style":1062},[2076],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2078,"children":2079},{"style":1266},[2080],{"type":998,"value":2081},"\"Validation failed!\"",{"type":993,"tag":1047,"props":2083,"children":2084},{"style":1062},[2085],{"type":998,"value":1294},{"type":993,"tag":1047,"props":2087,"children":2088},{"class":1049,"line":72},[2089],{"type":993,"tag":1047,"props":2090,"children":2091},{"style":1068},[2092],{"type":998,"value":1302},{"type":993,"tag":1047,"props":2094,"children":2095},{"class":1049,"line":81},[2096,2100,2104,2108,2113,2117,2121,2125,2130],{"type":993,"tag":1047,"props":2097,"children":2098},{"style":1079},[2099],{"type":998,"value":1310},{"type":993,"tag":1047,"props":2101,"children":2102},{"style":1062},[2103],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2105,"children":2106},{"style":1068},[2107],{"type":998,"value":1263},{"type":993,"tag":1047,"props":2109,"children":2110},{"style":1266},[2111],{"type":998,"value":2112},"\"Score ",{"type":993,"tag":1047,"props":2114,"children":2115},{"style":1079},[2116],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2118,"children":2119},{"style":1062},[2120],{"type":998,"value":2053},{"type":993,"tag":1047,"props":2122,"children":2123},{"style":1079},[2124],{"type":998,"value":1284},{"type":993,"tag":1047,"props":2126,"children":2127},{"style":1266},[2128],{"type":998,"value":2129},": PASS\"",{"type":993,"tag":1047,"props":2131,"children":2132},{"style":1062},[2133],{"type":998,"value":1294},{"type":993,"tag":1047,"props":2135,"children":2136},{"class":1049,"line":91},[2137,2141],{"type":993,"tag":1047,"props":2138,"children":2139},{"style":1068},[2140],{"type":998,"value":1024},{"type":993,"tag":1047,"props":2142,"children":2143},{"style":1062},[2144],{"type":998,"value":1245},{"type":993,"tag":1047,"props":2146,"children":2147},{"class":1049,"line":100},[2148,2152,2156,2161],{"type":993,"tag":1047,"props":2149,"children":2150},{"style":1079},[2151],{"type":998,"value":1310},{"type":993,"tag":1047,"props":2153,"children":2154},{"style":1062},[2155],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2157,"children":2158},{"style":1266},[2159],{"type":998,"value":2160},"\"All scores are passing!\"",{"type":993,"tag":1047,"props":2162,"children":2163},{"style":1062},[2164],{"type":998,"value":1294},{"type":993,"tag":1493,"props":2166,"children":2168},{"id":2167},"the-continue-statement",[2169],{"type":998,"value":2170},"The Continue Statement",{"type":993,"tag":1000,"props":2172,"children":2173},{},[2174],{"type":998,"value":2175},"The continue statement skips the rest of the current iteration and moves directly to the next iteration of the loop. It's ideal for filtering data, skipping invalid items, and processing only items that meet specific criteria.",{"type":993,"tag":1505,"props":2177,"children":2181},{"emoji":2178,"title":2179,"type":2180},"⏭️","Continue Statement Benefits","success",[2182,2190,2213,2221,2244,2254],{"type":993,"tag":1000,"props":2183,"children":2184},{},[2185],{"type":993,"tag":1006,"props":2186,"children":2187},{},[2188],{"type":998,"value":2189},"Iteration Control:",{"type":993,"tag":1520,"props":2191,"children":2192},{},[2193,2198,2203,2208],{"type":993,"tag":1524,"props":2194,"children":2195},{},[2196],{"type":998,"value":2197},"Skips remaining code in current iteration",{"type":993,"tag":1524,"props":2199,"children":2200},{},[2201],{"type":998,"value":2202},"Proceeds directly to next iteration",{"type":993,"tag":1524,"props":2204,"children":2205},{},[2206],{"type":998,"value":2207},"Maintains loop structure and flow",{"type":993,"tag":1524,"props":2209,"children":2210},{},[2211],{"type":998,"value":2212},"Avoids deeply nested conditional logic",{"type":993,"tag":1000,"props":2214,"children":2215},{},[2216],{"type":993,"tag":1006,"props":2217,"children":2218},{},[2219],{"type":998,"value":2220},"Filtering Applications:",{"type":993,"tag":1520,"props":2222,"children":2223},{},[2224,2229,2234,2239],{"type":993,"tag":1524,"props":2225,"children":2226},{},[2227],{"type":998,"value":2228},"Data validation and cleaning",{"type":993,"tag":1524,"props":2230,"children":2231},{},[2232],{"type":998,"value":2233},"Conditional processing",{"type":993,"tag":1524,"props":2235,"children":2236},{},[2237],{"type":998,"value":2238},"Error handling and recovery",{"type":993,"tag":1524,"props":2240,"children":2241},{},[2242],{"type":998,"value":2243},"Selective item processing",{"type":993,"tag":1000,"props":2245,"children":2246},{},[2247,2252],{"type":993,"tag":1006,"props":2248,"children":2249},{},[2250],{"type":998,"value":2251},"Code Organization:",{"type":998,"value":2253}," Keeps main logic clean by handling exceptions early",{"type":993,"tag":1000,"props":2255,"children":2256},{},[2257,2262],{"type":993,"tag":1006,"props":2258,"children":2259},{},[2260],{"type":998,"value":2261},"Readability:",{"type":998,"value":2263}," Reduces nesting levels and improves code clarity",{"type":993,"tag":1000,"props":2265,"children":2266},{},[2267],{"type":998,"value":2268},"Continue helps you avoid deeply nested if statements by handling exceptions and special cases at the top of your loop.",{"type":993,"tag":1601,"props":2270,"children":2272},{"id":2271},"selective-data-processing",[2273],{"type":998,"value":2274},"Selective Data Processing",{"type":993,"tag":1000,"props":2276,"children":2277},{},[2278],{"type":998,"value":2279},"Filtering mechanism for processing only items meeting specific criteria:",{"type":993,"tag":1033,"props":2281,"children":2282},{},[2283],{"type":993,"tag":1037,"props":2284,"children":2286},{"className":1039,"code":2285,"language":6,"meta":8,"style":8},"# Process only odd numbers\nnumbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n\nfor num in numbers:\n    if num % 2 == 0:\n        continue  # Skip even numbers\n    \n    # Process odd numbers\n    square = num ** 2\n    print(f\"{num} squared = {square}\")\n",[2287],{"type":993,"tag":1043,"props":2288,"children":2289},{"__ignoreMap":8},[2290,2298,2393,2400,2419,2450,2461,2469,2477,2503],{"type":993,"tag":1047,"props":2291,"children":2292},{"class":1049,"line":12},[2293],{"type":993,"tag":1047,"props":2294,"children":2295},{"style":1053},[2296],{"type":998,"value":2297},"# Process only odd numbers\n",{"type":993,"tag":1047,"props":2299,"children":2300},{"class":1049,"line":27},[2301,2305,2309,2313,2317,2321,2325,2329,2333,2337,2341,2345,2349,2353,2357,2361,2365,2369,2373,2377,2381,2385,2389],{"type":993,"tag":1047,"props":2302,"children":2303},{"style":1062},[2304],{"type":998,"value":1065},{"type":993,"tag":1047,"props":2306,"children":2307},{"style":1068},[2308],{"type":998,"value":1071},{"type":993,"tag":1047,"props":2310,"children":2311},{"style":1062},[2312],{"type":998,"value":1076},{"type":993,"tag":1047,"props":2314,"children":2315},{"style":1079},[2316],{"type":998,"value":1082},{"type":993,"tag":1047,"props":2318,"children":2319},{"style":1062},[2320],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2322,"children":2323},{"style":1079},[2324],{"type":998,"value":1092},{"type":993,"tag":1047,"props":2326,"children":2327},{"style":1062},[2328],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2330,"children":2331},{"style":1079},[2332],{"type":998,"value":1101},{"type":993,"tag":1047,"props":2334,"children":2335},{"style":1062},[2336],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2338,"children":2339},{"style":1079},[2340],{"type":998,"value":1110},{"type":993,"tag":1047,"props":2342,"children":2343},{"style":1062},[2344],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2346,"children":2347},{"style":1079},[2348],{"type":998,"value":1119},{"type":993,"tag":1047,"props":2350,"children":2351},{"style":1062},[2352],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2354,"children":2355},{"style":1079},[2356],{"type":998,"value":1128},{"type":993,"tag":1047,"props":2358,"children":2359},{"style":1062},[2360],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2362,"children":2363},{"style":1079},[2364],{"type":998,"value":1137},{"type":993,"tag":1047,"props":2366,"children":2367},{"style":1062},[2368],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2370,"children":2371},{"style":1079},[2372],{"type":998,"value":1146},{"type":993,"tag":1047,"props":2374,"children":2375},{"style":1062},[2376],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2378,"children":2379},{"style":1079},[2380],{"type":998,"value":1155},{"type":993,"tag":1047,"props":2382,"children":2383},{"style":1062},[2384],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2386,"children":2387},{"style":1079},[2388],{"type":998,"value":1164},{"type":993,"tag":1047,"props":2390,"children":2391},{"style":1062},[2392],{"type":998,"value":1169},{"type":993,"tag":1047,"props":2394,"children":2395},{"class":1049,"line":36},[2396],{"type":993,"tag":1047,"props":2397,"children":2398},{"emptyLinePlaceholder":13},[2399],{"type":998,"value":1177},{"type":993,"tag":1047,"props":2401,"children":2402},{"class":1049,"line":45},[2403,2407,2411,2415],{"type":993,"tag":1047,"props":2404,"children":2405},{"style":1068},[2406],{"type":998,"value":1193},{"type":993,"tag":1047,"props":2408,"children":2409},{"style":1062},[2410],{"type":998,"value":1198},{"type":993,"tag":1047,"props":2412,"children":2413},{"style":1068},[2414],{"type":998,"value":1203},{"type":993,"tag":1047,"props":2416,"children":2417},{"style":1062},[2418],{"type":998,"value":1208},{"type":993,"tag":1047,"props":2420,"children":2421},{"class":1049,"line":54},[2422,2426,2430,2434,2438,2442,2446],{"type":993,"tag":1047,"props":2423,"children":2424},{"style":1068},[2425],{"type":998,"value":1216},{"type":993,"tag":1047,"props":2427,"children":2428},{"style":1062},[2429],{"type":998,"value":1198},{"type":993,"tag":1047,"props":2431,"children":2432},{"style":1068},[2433],{"type":998,"value":1225},{"type":993,"tag":1047,"props":2435,"children":2436},{"style":1079},[2437],{"type":998,"value":1230},{"type":993,"tag":1047,"props":2439,"children":2440},{"style":1068},[2441],{"type":998,"value":1235},{"type":993,"tag":1047,"props":2443,"children":2444},{"style":1079},[2445],{"type":998,"value":1240},{"type":993,"tag":1047,"props":2447,"children":2448},{"style":1062},[2449],{"type":998,"value":1245},{"type":993,"tag":1047,"props":2451,"children":2452},{"class":1049,"line":63},[2453,2457],{"type":993,"tag":1047,"props":2454,"children":2455},{"style":1068},[2456],{"type":998,"value":1446},{"type":993,"tag":1047,"props":2458,"children":2459},{"style":1053},[2460],{"type":998,"value":1451},{"type":993,"tag":1047,"props":2462,"children":2463},{"class":1049,"line":72},[2464],{"type":993,"tag":1047,"props":2465,"children":2466},{"style":1062},[2467],{"type":998,"value":2468},"    \n",{"type":993,"tag":1047,"props":2470,"children":2471},{"class":1049,"line":81},[2472],{"type":993,"tag":1047,"props":2473,"children":2474},{"style":1053},[2475],{"type":998,"value":2476},"    # Process odd numbers\n",{"type":993,"tag":1047,"props":2478,"children":2479},{"class":1049,"line":91},[2480,2485,2489,2493,2498],{"type":993,"tag":1047,"props":2481,"children":2482},{"style":1062},[2483],{"type":998,"value":2484},"    square ",{"type":993,"tag":1047,"props":2486,"children":2487},{"style":1068},[2488],{"type":998,"value":1071},{"type":993,"tag":1047,"props":2490,"children":2491},{"style":1062},[2492],{"type":998,"value":1198},{"type":993,"tag":1047,"props":2494,"children":2495},{"style":1068},[2496],{"type":998,"value":2497},"**",{"type":993,"tag":1047,"props":2499,"children":2500},{"style":1079},[2501],{"type":998,"value":2502}," 2\n",{"type":993,"tag":1047,"props":2504,"children":2505},{"class":1049,"line":100},[2506,2510,2514,2518,2522,2526,2530,2534,2539,2543,2548,2552,2556],{"type":993,"tag":1047,"props":2507,"children":2508},{"style":1079},[2509],{"type":998,"value":1310},{"type":993,"tag":1047,"props":2511,"children":2512},{"style":1062},[2513],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2515,"children":2516},{"style":1068},[2517],{"type":998,"value":1263},{"type":993,"tag":1047,"props":2519,"children":2520},{"style":1266},[2521],{"type":998,"value":1289},{"type":993,"tag":1047,"props":2523,"children":2524},{"style":1079},[2525],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2527,"children":2528},{"style":1062},[2529],{"type":998,"value":1279},{"type":993,"tag":1047,"props":2531,"children":2532},{"style":1079},[2533],{"type":998,"value":1284},{"type":993,"tag":1047,"props":2535,"children":2536},{"style":1266},[2537],{"type":998,"value":2538}," squared = ",{"type":993,"tag":1047,"props":2540,"children":2541},{"style":1079},[2542],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2544,"children":2545},{"style":1062},[2546],{"type":998,"value":2547},"square",{"type":993,"tag":1047,"props":2549,"children":2550},{"style":1079},[2551],{"type":998,"value":1284},{"type":993,"tag":1047,"props":2553,"children":2554},{"style":1266},[2555],{"type":998,"value":1289},{"type":993,"tag":1047,"props":2557,"children":2558},{"style":1062},[2559],{"type":998,"value":1294},{"type":993,"tag":1601,"props":2561,"children":2563},{"id":2562},"robust-error-handling",[2564],{"type":998,"value":2565},"Robust Error Handling",{"type":993,"tag":1000,"props":2567,"children":2568},{},[2569],{"type":998,"value":2570},"Exception management with graceful recovery and continued processing:",{"type":993,"tag":1033,"props":2572,"children":2573},{},[2574],{"type":993,"tag":1037,"props":2575,"children":2577},{"className":1039,"code":2576,"language":6,"meta":8,"style":8},"# Error handling with continue\ndata = [\"123\", \"abc\", \"456\", \"def\", \"789\"]\nprint(\"Processing numeric strings:\")\n\nfor item in data:\n    try:\n        number = int(item)\n    except ValueError:\n        print(f\"Skipping non-numeric: {item}\")\n        continue\n    \n    # Process valid numbers\n    print(f\"Number: {number}, Double: {number * 2}\")\n",[2578],{"type":993,"tag":1043,"props":2579,"children":2580},{"__ignoreMap":8},[2581,2589,2650,2670,2677,2698,2710,2732,2749,2790,2798,2805,2813],{"type":993,"tag":1047,"props":2582,"children":2583},{"class":1049,"line":12},[2584],{"type":993,"tag":1047,"props":2585,"children":2586},{"style":1053},[2587],{"type":998,"value":2588},"# Error handling with continue\n",{"type":993,"tag":1047,"props":2590,"children":2591},{"class":1049,"line":27},[2592,2597,2601,2605,2610,2614,2619,2623,2628,2632,2637,2641,2646],{"type":993,"tag":1047,"props":2593,"children":2594},{"style":1062},[2595],{"type":998,"value":2596},"data ",{"type":993,"tag":1047,"props":2598,"children":2599},{"style":1068},[2600],{"type":998,"value":1071},{"type":993,"tag":1047,"props":2602,"children":2603},{"style":1062},[2604],{"type":998,"value":1076},{"type":993,"tag":1047,"props":2606,"children":2607},{"style":1266},[2608],{"type":998,"value":2609},"\"123\"",{"type":993,"tag":1047,"props":2611,"children":2612},{"style":1062},[2613],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2615,"children":2616},{"style":1266},[2617],{"type":998,"value":2618},"\"abc\"",{"type":993,"tag":1047,"props":2620,"children":2621},{"style":1062},[2622],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2624,"children":2625},{"style":1266},[2626],{"type":998,"value":2627},"\"456\"",{"type":993,"tag":1047,"props":2629,"children":2630},{"style":1062},[2631],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2633,"children":2634},{"style":1266},[2635],{"type":998,"value":2636},"\"def\"",{"type":993,"tag":1047,"props":2638,"children":2639},{"style":1062},[2640],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2642,"children":2643},{"style":1266},[2644],{"type":998,"value":2645},"\"789\"",{"type":993,"tag":1047,"props":2647,"children":2648},{"style":1062},[2649],{"type":998,"value":1169},{"type":993,"tag":1047,"props":2651,"children":2652},{"class":1049,"line":36},[2653,2657,2661,2666],{"type":993,"tag":1047,"props":2654,"children":2655},{"style":1079},[2656],{"type":998,"value":1366},{"type":993,"tag":1047,"props":2658,"children":2659},{"style":1062},[2660],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2662,"children":2663},{"style":1266},[2664],{"type":998,"value":2665},"\"Processing numeric strings:\"",{"type":993,"tag":1047,"props":2667,"children":2668},{"style":1062},[2669],{"type":998,"value":1294},{"type":993,"tag":1047,"props":2671,"children":2672},{"class":1049,"line":45},[2673],{"type":993,"tag":1047,"props":2674,"children":2675},{"emptyLinePlaceholder":13},[2676],{"type":998,"value":1177},{"type":993,"tag":1047,"props":2678,"children":2679},{"class":1049,"line":54},[2680,2684,2689,2693],{"type":993,"tag":1047,"props":2681,"children":2682},{"style":1068},[2683],{"type":998,"value":1193},{"type":993,"tag":1047,"props":2685,"children":2686},{"style":1062},[2687],{"type":998,"value":2688}," item ",{"type":993,"tag":1047,"props":2690,"children":2691},{"style":1068},[2692],{"type":998,"value":1203},{"type":993,"tag":1047,"props":2694,"children":2695},{"style":1062},[2696],{"type":998,"value":2697}," data:\n",{"type":993,"tag":1047,"props":2699,"children":2700},{"class":1049,"line":63},[2701,2706],{"type":993,"tag":1047,"props":2702,"children":2703},{"style":1068},[2704],{"type":998,"value":2705},"    try",{"type":993,"tag":1047,"props":2707,"children":2708},{"style":1062},[2709],{"type":998,"value":1245},{"type":993,"tag":1047,"props":2711,"children":2712},{"class":1049,"line":72},[2713,2718,2722,2727],{"type":993,"tag":1047,"props":2714,"children":2715},{"style":1062},[2716],{"type":998,"value":2717},"        number ",{"type":993,"tag":1047,"props":2719,"children":2720},{"style":1068},[2721],{"type":998,"value":1071},{"type":993,"tag":1047,"props":2723,"children":2724},{"style":1079},[2725],{"type":998,"value":2726}," int",{"type":993,"tag":1047,"props":2728,"children":2729},{"style":1062},[2730],{"type":998,"value":2731},"(item)\n",{"type":993,"tag":1047,"props":2733,"children":2734},{"class":1049,"line":81},[2735,2740,2745],{"type":993,"tag":1047,"props":2736,"children":2737},{"style":1068},[2738],{"type":998,"value":2739},"    except",{"type":993,"tag":1047,"props":2741,"children":2742},{"style":1079},[2743],{"type":998,"value":2744}," ValueError",{"type":993,"tag":1047,"props":2746,"children":2747},{"style":1062},[2748],{"type":998,"value":1245},{"type":993,"tag":1047,"props":2750,"children":2751},{"class":1049,"line":91},[2752,2756,2760,2764,2769,2773,2778,2782,2786],{"type":993,"tag":1047,"props":2753,"children":2754},{"style":1079},[2755],{"type":998,"value":1253},{"type":993,"tag":1047,"props":2757,"children":2758},{"style":1062},[2759],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2761,"children":2762},{"style":1068},[2763],{"type":998,"value":1263},{"type":993,"tag":1047,"props":2765,"children":2766},{"style":1266},[2767],{"type":998,"value":2768},"\"Skipping non-numeric: ",{"type":993,"tag":1047,"props":2770,"children":2771},{"style":1079},[2772],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2774,"children":2775},{"style":1062},[2776],{"type":998,"value":2777},"item",{"type":993,"tag":1047,"props":2779,"children":2780},{"style":1079},[2781],{"type":998,"value":1284},{"type":993,"tag":1047,"props":2783,"children":2784},{"style":1266},[2785],{"type":998,"value":1289},{"type":993,"tag":1047,"props":2787,"children":2788},{"style":1062},[2789],{"type":998,"value":1294},{"type":993,"tag":1047,"props":2791,"children":2792},{"class":1049,"line":100},[2793],{"type":993,"tag":1047,"props":2794,"children":2795},{"style":1068},[2796],{"type":998,"value":2797},"        continue\n",{"type":993,"tag":1047,"props":2799,"children":2800},{"class":1049,"line":109},[2801],{"type":993,"tag":1047,"props":2802,"children":2803},{"style":1062},[2804],{"type":998,"value":2468},{"type":993,"tag":1047,"props":2806,"children":2807},{"class":1049,"line":118},[2808],{"type":993,"tag":1047,"props":2809,"children":2810},{"style":1053},[2811],{"type":998,"value":2812},"    # Process valid numbers\n",{"type":993,"tag":1047,"props":2814,"children":2815},{"class":1049,"line":127},[2816,2820,2824,2828,2833,2837,2842,2846,2851,2855,2860,2865,2870,2874],{"type":993,"tag":1047,"props":2817,"children":2818},{"style":1079},[2819],{"type":998,"value":1310},{"type":993,"tag":1047,"props":2821,"children":2822},{"style":1062},[2823],{"type":998,"value":1258},{"type":993,"tag":1047,"props":2825,"children":2826},{"style":1068},[2827],{"type":998,"value":1263},{"type":993,"tag":1047,"props":2829,"children":2830},{"style":1266},[2831],{"type":998,"value":2832},"\"Number: ",{"type":993,"tag":1047,"props":2834,"children":2835},{"style":1079},[2836],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2838,"children":2839},{"style":1062},[2840],{"type":998,"value":2841},"number",{"type":993,"tag":1047,"props":2843,"children":2844},{"style":1079},[2845],{"type":998,"value":1284},{"type":993,"tag":1047,"props":2847,"children":2848},{"style":1266},[2849],{"type":998,"value":2850},", Double: ",{"type":993,"tag":1047,"props":2852,"children":2853},{"style":1079},[2854],{"type":998,"value":1274},{"type":993,"tag":1047,"props":2856,"children":2857},{"style":1062},[2858],{"type":998,"value":2859},"number ",{"type":993,"tag":1047,"props":2861,"children":2862},{"style":1068},[2863],{"type":998,"value":2864},"*",{"type":993,"tag":1047,"props":2866,"children":2867},{"style":1079},[2868],{"type":998,"value":2869}," 2}",{"type":993,"tag":1047,"props":2871,"children":2872},{"style":1266},[2873],{"type":998,"value":1289},{"type":993,"tag":1047,"props":2875,"children":2876},{"style":1062},[2877],{"type":998,"value":1294},{"type":993,"tag":2879,"props":2880,"children":2882},"content-exercise",{":widget-view":2881,"category":6,"id":255},"true",[],{"type":993,"tag":1493,"props":2884,"children":2886},{"id":2885},"quick-loop-control-practice",[2887],{"type":998,"value":2888},"Quick Loop Control Practice ⚡",{"type":993,"tag":1000,"props":2890,"children":2891},{},[2892],{"type":998,"value":2893},"Let's practice using both break and continue in the same loop!",{"type":993,"tag":2895,"props":2896,"children":2899},"exercise",{"hint":2897,"prompt":2898},"Use 'continue' to skip odd numbers and 'break' to exit when you find a number > 10!","Use both break and continue to process only even numbers, but stop at the first number greater than 10.",[2900],{"type":993,"tag":1037,"props":2901,"children":2903},{"className":1039,"code":2902,"language":6,"meta":8,"style":8},"# Loop Control Practice - Break and continue together!\n\nnumbers = [1, 2, 3, 6, 8, 15, 4, 7, 12, 9]\n\n# TODO: Your code here: \n# - Skip odd numbers (use continue)\n# - Print even numbers that are \u003C= 10\n# - Stop completely when you find an even number > 10 (use break)\n",[2904],{"type":993,"tag":1043,"props":2905,"children":2906},{"__ignoreMap":8},[2907,2915,2922,3019,3026,3044,3052,3060],{"type":993,"tag":1047,"props":2908,"children":2909},{"class":1049,"line":12},[2910],{"type":993,"tag":1047,"props":2911,"children":2912},{"style":1053},[2913],{"type":998,"value":2914},"# Loop Control Practice - Break and continue together!\n",{"type":993,"tag":1047,"props":2916,"children":2917},{"class":1049,"line":27},[2918],{"type":993,"tag":1047,"props":2919,"children":2920},{"emptyLinePlaceholder":13},[2921],{"type":998,"value":1177},{"type":993,"tag":1047,"props":2923,"children":2924},{"class":1049,"line":36},[2925,2929,2933,2937,2941,2945,2949,2953,2957,2961,2965,2969,2973,2977,2982,2986,2990,2994,2998,3002,3007,3011,3015],{"type":993,"tag":1047,"props":2926,"children":2927},{"style":1062},[2928],{"type":998,"value":1065},{"type":993,"tag":1047,"props":2930,"children":2931},{"style":1068},[2932],{"type":998,"value":1071},{"type":993,"tag":1047,"props":2934,"children":2935},{"style":1062},[2936],{"type":998,"value":1076},{"type":993,"tag":1047,"props":2938,"children":2939},{"style":1079},[2940],{"type":998,"value":1082},{"type":993,"tag":1047,"props":2942,"children":2943},{"style":1062},[2944],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2946,"children":2947},{"style":1079},[2948],{"type":998,"value":1092},{"type":993,"tag":1047,"props":2950,"children":2951},{"style":1062},[2952],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2954,"children":2955},{"style":1079},[2956],{"type":998,"value":1101},{"type":993,"tag":1047,"props":2958,"children":2959},{"style":1062},[2960],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2962,"children":2963},{"style":1079},[2964],{"type":998,"value":1128},{"type":993,"tag":1047,"props":2966,"children":2967},{"style":1062},[2968],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2970,"children":2971},{"style":1079},[2972],{"type":998,"value":1146},{"type":993,"tag":1047,"props":2974,"children":2975},{"style":1062},[2976],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2978,"children":2979},{"style":1079},[2980],{"type":998,"value":2981},"15",{"type":993,"tag":1047,"props":2983,"children":2984},{"style":1062},[2985],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2987,"children":2988},{"style":1079},[2989],{"type":998,"value":1110},{"type":993,"tag":1047,"props":2991,"children":2992},{"style":1062},[2993],{"type":998,"value":1087},{"type":993,"tag":1047,"props":2995,"children":2996},{"style":1079},[2997],{"type":998,"value":1137},{"type":993,"tag":1047,"props":2999,"children":3000},{"style":1062},[3001],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3003,"children":3004},{"style":1079},[3005],{"type":998,"value":3006},"12",{"type":993,"tag":1047,"props":3008,"children":3009},{"style":1062},[3010],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3012,"children":3013},{"style":1079},[3014],{"type":998,"value":1155},{"type":993,"tag":1047,"props":3016,"children":3017},{"style":1062},[3018],{"type":998,"value":1169},{"type":993,"tag":1047,"props":3020,"children":3021},{"class":1049,"line":45},[3022],{"type":993,"tag":1047,"props":3023,"children":3024},{"emptyLinePlaceholder":13},[3025],{"type":998,"value":1177},{"type":993,"tag":1047,"props":3027,"children":3028},{"class":1049,"line":54},[3029,3034,3039],{"type":993,"tag":1047,"props":3030,"children":3031},{"style":1053},[3032],{"type":998,"value":3033},"# ",{"type":993,"tag":1047,"props":3035,"children":3036},{"style":1068},[3037],{"type":998,"value":3038},"TODO",{"type":993,"tag":1047,"props":3040,"children":3041},{"style":1053},[3042],{"type":998,"value":3043},": Your code here: \n",{"type":993,"tag":1047,"props":3045,"children":3046},{"class":1049,"line":63},[3047],{"type":993,"tag":1047,"props":3048,"children":3049},{"style":1053},[3050],{"type":998,"value":3051},"# - Skip odd numbers (use continue)\n",{"type":993,"tag":1047,"props":3053,"children":3054},{"class":1049,"line":72},[3055],{"type":993,"tag":1047,"props":3056,"children":3057},{"style":1053},[3058],{"type":998,"value":3059},"# - Print even numbers that are \u003C= 10\n",{"type":993,"tag":1047,"props":3061,"children":3062},{"class":1049,"line":81},[3063],{"type":993,"tag":1047,"props":3064,"children":3065},{"style":1053},[3066],{"type":998,"value":3067},"# - Stop completely when you find an even number > 10 (use break)\n",{"type":993,"tag":1601,"props":3069,"children":3071},{"id":3070},"solution-and-explanation",[3072],{"type":998,"value":3073},"Solution and Explanation 💡",{"type":993,"tag":3075,"props":3076,"children":3077},"details",{},[3078,3086,3408,3416],{"type":993,"tag":3079,"props":3080,"children":3083},"summary",{"className":3081},[3082],"cursor-pointer",[3084],{"type":998,"value":3085},"Click to see the complete solution",{"type":993,"tag":1033,"props":3087,"children":3088},{},[3089],{"type":993,"tag":1037,"props":3090,"children":3092},{"className":1039,"code":3091,"language":6,"meta":8,"style":8},"# Loop Control Practice - Solution\n\nnumbers = [1, 2, 3, 6, 8, 15, 4, 7, 12, 9]\n\nfor num in numbers:\n    if num % 2 != 0:  # Skip odd numbers\n        continue\n    \n    if num > 10:  # Stop at first even number > 10\n        print(f\"Stopping at {num}\")\n        break\n    \n    print(f\"Processing even number: {num}\")\n",[3093],{"type":993,"tag":1043,"props":3094,"children":3095},{"__ignoreMap":8},[3096,3104,3111,3206,3213,3232,3270,3277,3284,3314,3354,3361,3368],{"type":993,"tag":1047,"props":3097,"children":3098},{"class":1049,"line":12},[3099],{"type":993,"tag":1047,"props":3100,"children":3101},{"style":1053},[3102],{"type":998,"value":3103},"# Loop Control Practice - Solution\n",{"type":993,"tag":1047,"props":3105,"children":3106},{"class":1049,"line":27},[3107],{"type":993,"tag":1047,"props":3108,"children":3109},{"emptyLinePlaceholder":13},[3110],{"type":998,"value":1177},{"type":993,"tag":1047,"props":3112,"children":3113},{"class":1049,"line":36},[3114,3118,3122,3126,3130,3134,3138,3142,3146,3150,3154,3158,3162,3166,3170,3174,3178,3182,3186,3190,3194,3198,3202],{"type":993,"tag":1047,"props":3115,"children":3116},{"style":1062},[3117],{"type":998,"value":1065},{"type":993,"tag":1047,"props":3119,"children":3120},{"style":1068},[3121],{"type":998,"value":1071},{"type":993,"tag":1047,"props":3123,"children":3124},{"style":1062},[3125],{"type":998,"value":1076},{"type":993,"tag":1047,"props":3127,"children":3128},{"style":1079},[3129],{"type":998,"value":1082},{"type":993,"tag":1047,"props":3131,"children":3132},{"style":1062},[3133],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3135,"children":3136},{"style":1079},[3137],{"type":998,"value":1092},{"type":993,"tag":1047,"props":3139,"children":3140},{"style":1062},[3141],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3143,"children":3144},{"style":1079},[3145],{"type":998,"value":1101},{"type":993,"tag":1047,"props":3147,"children":3148},{"style":1062},[3149],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3151,"children":3152},{"style":1079},[3153],{"type":998,"value":1128},{"type":993,"tag":1047,"props":3155,"children":3156},{"style":1062},[3157],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3159,"children":3160},{"style":1079},[3161],{"type":998,"value":1146},{"type":993,"tag":1047,"props":3163,"children":3164},{"style":1062},[3165],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3167,"children":3168},{"style":1079},[3169],{"type":998,"value":2981},{"type":993,"tag":1047,"props":3171,"children":3172},{"style":1062},[3173],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3175,"children":3176},{"style":1079},[3177],{"type":998,"value":1110},{"type":993,"tag":1047,"props":3179,"children":3180},{"style":1062},[3181],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3183,"children":3184},{"style":1079},[3185],{"type":998,"value":1137},{"type":993,"tag":1047,"props":3187,"children":3188},{"style":1062},[3189],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3191,"children":3192},{"style":1079},[3193],{"type":998,"value":3006},{"type":993,"tag":1047,"props":3195,"children":3196},{"style":1062},[3197],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3199,"children":3200},{"style":1079},[3201],{"type":998,"value":1155},{"type":993,"tag":1047,"props":3203,"children":3204},{"style":1062},[3205],{"type":998,"value":1169},{"type":993,"tag":1047,"props":3207,"children":3208},{"class":1049,"line":45},[3209],{"type":993,"tag":1047,"props":3210,"children":3211},{"emptyLinePlaceholder":13},[3212],{"type":998,"value":1177},{"type":993,"tag":1047,"props":3214,"children":3215},{"class":1049,"line":54},[3216,3220,3224,3228],{"type":993,"tag":1047,"props":3217,"children":3218},{"style":1068},[3219],{"type":998,"value":1193},{"type":993,"tag":1047,"props":3221,"children":3222},{"style":1062},[3223],{"type":998,"value":1198},{"type":993,"tag":1047,"props":3225,"children":3226},{"style":1068},[3227],{"type":998,"value":1203},{"type":993,"tag":1047,"props":3229,"children":3230},{"style":1062},[3231],{"type":998,"value":1208},{"type":993,"tag":1047,"props":3233,"children":3234},{"class":1049,"line":63},[3235,3239,3243,3247,3251,3256,3260,3265],{"type":993,"tag":1047,"props":3236,"children":3237},{"style":1068},[3238],{"type":998,"value":1216},{"type":993,"tag":1047,"props":3240,"children":3241},{"style":1062},[3242],{"type":998,"value":1198},{"type":993,"tag":1047,"props":3244,"children":3245},{"style":1068},[3246],{"type":998,"value":1225},{"type":993,"tag":1047,"props":3248,"children":3249},{"style":1079},[3250],{"type":998,"value":1230},{"type":993,"tag":1047,"props":3252,"children":3253},{"style":1068},[3254],{"type":998,"value":3255}," !=",{"type":993,"tag":1047,"props":3257,"children":3258},{"style":1079},[3259],{"type":998,"value":1240},{"type":993,"tag":1047,"props":3261,"children":3262},{"style":1062},[3263],{"type":998,"value":3264},":  ",{"type":993,"tag":1047,"props":3266,"children":3267},{"style":1053},[3268],{"type":998,"value":3269},"# Skip odd numbers\n",{"type":993,"tag":1047,"props":3271,"children":3272},{"class":1049,"line":72},[3273],{"type":993,"tag":1047,"props":3274,"children":3275},{"style":1068},[3276],{"type":998,"value":2797},{"type":993,"tag":1047,"props":3278,"children":3279},{"class":1049,"line":81},[3280],{"type":993,"tag":1047,"props":3281,"children":3282},{"style":1062},[3283],{"type":998,"value":2468},{"type":993,"tag":1047,"props":3285,"children":3286},{"class":1049,"line":91},[3287,3291,3295,3300,3305,3309],{"type":993,"tag":1047,"props":3288,"children":3289},{"style":1068},[3290],{"type":998,"value":1216},{"type":993,"tag":1047,"props":3292,"children":3293},{"style":1062},[3294],{"type":998,"value":1198},{"type":993,"tag":1047,"props":3296,"children":3297},{"style":1068},[3298],{"type":998,"value":3299},">",{"type":993,"tag":1047,"props":3301,"children":3302},{"style":1079},[3303],{"type":998,"value":3304}," 10",{"type":993,"tag":1047,"props":3306,"children":3307},{"style":1062},[3308],{"type":998,"value":3264},{"type":993,"tag":1047,"props":3310,"children":3311},{"style":1053},[3312],{"type":998,"value":3313},"# Stop at first even number > 10\n",{"type":993,"tag":1047,"props":3315,"children":3316},{"class":1049,"line":100},[3317,3321,3325,3329,3334,3338,3342,3346,3350],{"type":993,"tag":1047,"props":3318,"children":3319},{"style":1079},[3320],{"type":998,"value":1253},{"type":993,"tag":1047,"props":3322,"children":3323},{"style":1062},[3324],{"type":998,"value":1258},{"type":993,"tag":1047,"props":3326,"children":3327},{"style":1068},[3328],{"type":998,"value":1263},{"type":993,"tag":1047,"props":3330,"children":3331},{"style":1266},[3332],{"type":998,"value":3333},"\"Stopping at ",{"type":993,"tag":1047,"props":3335,"children":3336},{"style":1079},[3337],{"type":998,"value":1274},{"type":993,"tag":1047,"props":3339,"children":3340},{"style":1062},[3341],{"type":998,"value":1279},{"type":993,"tag":1047,"props":3343,"children":3344},{"style":1079},[3345],{"type":998,"value":1284},{"type":993,"tag":1047,"props":3347,"children":3348},{"style":1266},[3349],{"type":998,"value":1289},{"type":993,"tag":1047,"props":3351,"children":3352},{"style":1062},[3353],{"type":998,"value":1294},{"type":993,"tag":1047,"props":3355,"children":3356},{"class":1049,"line":109},[3357],{"type":993,"tag":1047,"props":3358,"children":3359},{"style":1068},[3360],{"type":998,"value":1302},{"type":993,"tag":1047,"props":3362,"children":3363},{"class":1049,"line":118},[3364],{"type":993,"tag":1047,"props":3365,"children":3366},{"style":1062},[3367],{"type":998,"value":2468},{"type":993,"tag":1047,"props":3369,"children":3370},{"class":1049,"line":127},[3371,3375,3379,3383,3388,3392,3396,3400,3404],{"type":993,"tag":1047,"props":3372,"children":3373},{"style":1079},[3374],{"type":998,"value":1310},{"type":993,"tag":1047,"props":3376,"children":3377},{"style":1062},[3378],{"type":998,"value":1258},{"type":993,"tag":1047,"props":3380,"children":3381},{"style":1068},[3382],{"type":998,"value":1263},{"type":993,"tag":1047,"props":3384,"children":3385},{"style":1266},[3386],{"type":998,"value":3387},"\"Processing even number: ",{"type":993,"tag":1047,"props":3389,"children":3390},{"style":1079},[3391],{"type":998,"value":1274},{"type":993,"tag":1047,"props":3393,"children":3394},{"style":1062},[3395],{"type":998,"value":1279},{"type":993,"tag":1047,"props":3397,"children":3398},{"style":1079},[3399],{"type":998,"value":1284},{"type":993,"tag":1047,"props":3401,"children":3402},{"style":1266},[3403],{"type":998,"value":1289},{"type":993,"tag":1047,"props":3405,"children":3406},{"style":1062},[3407],{"type":998,"value":1294},{"type":993,"tag":1000,"props":3409,"children":3410},{},[3411],{"type":993,"tag":1006,"props":3412,"children":3413},{},[3414],{"type":998,"value":3415},"Key Learning Points:",{"type":993,"tag":1520,"props":3417,"children":3418},{},[3419,3431,3442,3453],{"type":993,"tag":1524,"props":3420,"children":3421},{},[3422,3424,3429],{"type":998,"value":3423},"📌 ",{"type":993,"tag":1006,"props":3425,"children":3426},{},[3427],{"type":998,"value":3428},"continue first",{"type":998,"value":3430},": Check continue conditions before break conditions",{"type":993,"tag":1524,"props":3432,"children":3433},{},[3434,3435,3440],{"type":998,"value":3423},{"type":993,"tag":1006,"props":3436,"children":3437},{},[3438],{"type":998,"value":3439},"Multiple conditions",{"type":998,"value":3441},": You can use both break and continue in the same loop",{"type":993,"tag":1524,"props":3443,"children":3444},{},[3445,3446,3451],{"type":998,"value":3423},{"type":993,"tag":1006,"props":3447,"children":3448},{},[3449],{"type":998,"value":3450},"Control flow",{"type":998,"value":3452},": continue skips remaining code, break exits completely",{"type":993,"tag":1524,"props":3454,"children":3455},{},[3456,3457,3462],{"type":998,"value":3423},{"type":993,"tag":1006,"props":3458,"children":3459},{},[3460],{"type":998,"value":3461},"Logic order",{"type":998,"value":3463},": Structure your if statements carefully for correct behavior",{"type":993,"tag":1493,"props":3465,"children":3467},{"id":3466},"loop-else-clauses",[3468],{"type":998,"value":3469},"Loop Else Clauses",{"type":993,"tag":1000,"props":3471,"children":3472},{},[3473],{"type":998,"value":3474},"Python's unique else clause for loops executes only when the loop completes normally (without encountering a break statement). This feature provides elegant solutions for search patterns and validation scenarios.",{"type":993,"tag":1505,"props":3476,"children":3480},{"emoji":3477,"title":3478,"type":3479},"✨","Loop Else Clause Magic","info",[3481,3489,3512,3520,3543,3553],{"type":993,"tag":1000,"props":3482,"children":3483},{},[3484],{"type":993,"tag":1006,"props":3485,"children":3486},{},[3487],{"type":998,"value":3488},"Execution Conditions:",{"type":993,"tag":1520,"props":3490,"children":3491},{},[3492,3497,3502,3507],{"type":993,"tag":1524,"props":3493,"children":3494},{},[3495],{"type":998,"value":3496},"Runs only when loop completes normally",{"type":993,"tag":1524,"props":3498,"children":3499},{},[3500],{"type":998,"value":3501},"Skipped if break statement terminates loop",{"type":993,"tag":1524,"props":3503,"children":3504},{},[3505],{"type":998,"value":3506},"Available for both for and while loops",{"type":993,"tag":1524,"props":3508,"children":3509},{},[3510],{"type":998,"value":3511},"Unique feature not found in most languages",{"type":993,"tag":1000,"props":3513,"children":3514},{},[3515],{"type":993,"tag":1006,"props":3516,"children":3517},{},[3518],{"type":998,"value":3519},"Common Applications:",{"type":993,"tag":1520,"props":3521,"children":3522},{},[3523,3528,3533,3538],{"type":993,"tag":1524,"props":3524,"children":3525},{},[3526],{"type":998,"value":3527},"\"Not found\" scenarios in searches",{"type":993,"tag":1524,"props":3529,"children":3530},{},[3531],{"type":998,"value":3532},"Validation success confirmation",{"type":993,"tag":1524,"props":3534,"children":3535},{},[3536],{"type":998,"value":3537},"Default actions after complete iteration",{"type":993,"tag":1524,"props":3539,"children":3540},{},[3541],{"type":998,"value":3542},"Clean alternative to flag variables",{"type":993,"tag":1000,"props":3544,"children":3545},{},[3546,3551],{"type":993,"tag":1006,"props":3547,"children":3548},{},[3549],{"type":998,"value":3550},"Elegant Solution:",{"type":998,"value":3552}," Eliminates need for additional boolean variables",{"type":993,"tag":1000,"props":3554,"children":3555},{},[3556,3560],{"type":993,"tag":1006,"props":3557,"children":3558},{},[3559],{"type":998,"value":1592},{"type":998,"value":3561}," Makes completion vs. early exit distinction explicit",{"type":993,"tag":1601,"props":3563,"children":3565},{"id":3564},"prime-number-verification",[3566],{"type":998,"value":3567},"Prime Number Verification",{"type":993,"tag":1000,"props":3569,"children":3570},{},[3571],{"type":998,"value":3572},"Mathematical property testing with automatic result reporting:",{"type":993,"tag":1033,"props":3574,"children":3575},{},[3576],{"type":993,"tag":1037,"props":3577,"children":3579},{"className":1039,"code":3578,"language":6,"meta":8,"style":8},"# Prime number checking with else\ndef check_prime(n):\n    if n \u003C 2:\n        return False\n    \n    for i in range(2, int(n ** 0.5) + 1):\n        if n % i == 0:\n            print(f\"{n} is divisible by {i}\")\n            return False\n    else:\n        print(f\"{n} is prime\")\n        return True\n\n# Test prime checking\ncheck_prime(17)\ncheck_prime(15)\n",[3580],{"type":993,"tag":1043,"props":3581,"children":3582},{"__ignoreMap":8},[3583,3591,3610,3634,3647,3654,3727,3759,3818,3830,3842,3882,3894,3901,3909,3926],{"type":993,"tag":1047,"props":3584,"children":3585},{"class":1049,"line":12},[3586],{"type":993,"tag":1047,"props":3587,"children":3588},{"style":1053},[3589],{"type":998,"value":3590},"# Prime number checking with else\n",{"type":993,"tag":1047,"props":3592,"children":3593},{"class":1049,"line":27},[3594,3599,3605],{"type":993,"tag":1047,"props":3595,"children":3596},{"style":1068},[3597],{"type":998,"value":3598},"def",{"type":993,"tag":1047,"props":3600,"children":3602},{"style":3601},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[3603],{"type":998,"value":3604}," check_prime",{"type":993,"tag":1047,"props":3606,"children":3607},{"style":1062},[3608],{"type":998,"value":3609},"(n):\n",{"type":993,"tag":1047,"props":3611,"children":3612},{"class":1049,"line":36},[3613,3617,3622,3626,3630],{"type":993,"tag":1047,"props":3614,"children":3615},{"style":1068},[3616],{"type":998,"value":1216},{"type":993,"tag":1047,"props":3618,"children":3619},{"style":1062},[3620],{"type":998,"value":3621}," n ",{"type":993,"tag":1047,"props":3623,"children":3624},{"style":1068},[3625],{"type":998,"value":2015},{"type":993,"tag":1047,"props":3627,"children":3628},{"style":1079},[3629],{"type":998,"value":1230},{"type":993,"tag":1047,"props":3631,"children":3632},{"style":1062},[3633],{"type":998,"value":1245},{"type":993,"tag":1047,"props":3635,"children":3636},{"class":1049,"line":45},[3637,3642],{"type":993,"tag":1047,"props":3638,"children":3639},{"style":1068},[3640],{"type":998,"value":3641},"        return",{"type":993,"tag":1047,"props":3643,"children":3644},{"style":1079},[3645],{"type":998,"value":3646}," False\n",{"type":993,"tag":1047,"props":3648,"children":3649},{"class":1049,"line":54},[3650],{"type":993,"tag":1047,"props":3651,"children":3652},{"style":1062},[3653],{"type":998,"value":2468},{"type":993,"tag":1047,"props":3655,"children":3656},{"class":1049,"line":63},[3657,3662,3667,3671,3676,3680,3684,3688,3693,3698,3702,3707,3712,3717,3722],{"type":993,"tag":1047,"props":3658,"children":3659},{"style":1068},[3660],{"type":998,"value":3661},"    for",{"type":993,"tag":1047,"props":3663,"children":3664},{"style":1062},[3665],{"type":998,"value":3666}," i ",{"type":993,"tag":1047,"props":3668,"children":3669},{"style":1068},[3670],{"type":998,"value":1203},{"type":993,"tag":1047,"props":3672,"children":3673},{"style":1079},[3674],{"type":998,"value":3675}," range",{"type":993,"tag":1047,"props":3677,"children":3678},{"style":1062},[3679],{"type":998,"value":1258},{"type":993,"tag":1047,"props":3681,"children":3682},{"style":1079},[3683],{"type":998,"value":1092},{"type":993,"tag":1047,"props":3685,"children":3686},{"style":1062},[3687],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3689,"children":3690},{"style":1079},[3691],{"type":998,"value":3692},"int",{"type":993,"tag":1047,"props":3694,"children":3695},{"style":1062},[3696],{"type":998,"value":3697},"(n ",{"type":993,"tag":1047,"props":3699,"children":3700},{"style":1068},[3701],{"type":998,"value":2497},{"type":993,"tag":1047,"props":3703,"children":3704},{"style":1079},[3705],{"type":998,"value":3706}," 0.5",{"type":993,"tag":1047,"props":3708,"children":3709},{"style":1062},[3710],{"type":998,"value":3711},") ",{"type":993,"tag":1047,"props":3713,"children":3714},{"style":1068},[3715],{"type":998,"value":3716},"+",{"type":993,"tag":1047,"props":3718,"children":3719},{"style":1079},[3720],{"type":998,"value":3721}," 1",{"type":993,"tag":1047,"props":3723,"children":3724},{"style":1062},[3725],{"type":998,"value":3726},"):\n",{"type":993,"tag":1047,"props":3728,"children":3729},{"class":1049,"line":72},[3730,3735,3739,3743,3747,3751,3755],{"type":993,"tag":1047,"props":3731,"children":3732},{"style":1068},[3733],{"type":998,"value":3734},"        if",{"type":993,"tag":1047,"props":3736,"children":3737},{"style":1062},[3738],{"type":998,"value":3621},{"type":993,"tag":1047,"props":3740,"children":3741},{"style":1068},[3742],{"type":998,"value":1225},{"type":993,"tag":1047,"props":3744,"children":3745},{"style":1062},[3746],{"type":998,"value":3666},{"type":993,"tag":1047,"props":3748,"children":3749},{"style":1068},[3750],{"type":998,"value":1782},{"type":993,"tag":1047,"props":3752,"children":3753},{"style":1079},[3754],{"type":998,"value":1240},{"type":993,"tag":1047,"props":3756,"children":3757},{"style":1062},[3758],{"type":998,"value":1245},{"type":993,"tag":1047,"props":3760,"children":3761},{"class":1049,"line":81},[3762,3767,3771,3775,3779,3783,3788,3792,3797,3801,3806,3810,3814],{"type":993,"tag":1047,"props":3763,"children":3764},{"style":1079},[3765],{"type":998,"value":3766},"            print",{"type":993,"tag":1047,"props":3768,"children":3769},{"style":1062},[3770],{"type":998,"value":1258},{"type":993,"tag":1047,"props":3772,"children":3773},{"style":1068},[3774],{"type":998,"value":1263},{"type":993,"tag":1047,"props":3776,"children":3777},{"style":1266},[3778],{"type":998,"value":1289},{"type":993,"tag":1047,"props":3780,"children":3781},{"style":1079},[3782],{"type":998,"value":1274},{"type":993,"tag":1047,"props":3784,"children":3785},{"style":1062},[3786],{"type":998,"value":3787},"n",{"type":993,"tag":1047,"props":3789,"children":3790},{"style":1079},[3791],{"type":998,"value":1284},{"type":993,"tag":1047,"props":3793,"children":3794},{"style":1266},[3795],{"type":998,"value":3796}," is divisible by ",{"type":993,"tag":1047,"props":3798,"children":3799},{"style":1079},[3800],{"type":998,"value":1274},{"type":993,"tag":1047,"props":3802,"children":3803},{"style":1062},[3804],{"type":998,"value":3805},"i",{"type":993,"tag":1047,"props":3807,"children":3808},{"style":1079},[3809],{"type":998,"value":1284},{"type":993,"tag":1047,"props":3811,"children":3812},{"style":1266},[3813],{"type":998,"value":1289},{"type":993,"tag":1047,"props":3815,"children":3816},{"style":1062},[3817],{"type":998,"value":1294},{"type":993,"tag":1047,"props":3819,"children":3820},{"class":1049,"line":91},[3821,3826],{"type":993,"tag":1047,"props":3822,"children":3823},{"style":1068},[3824],{"type":998,"value":3825},"            return",{"type":993,"tag":1047,"props":3827,"children":3828},{"style":1079},[3829],{"type":998,"value":3646},{"type":993,"tag":1047,"props":3831,"children":3832},{"class":1049,"line":100},[3833,3838],{"type":993,"tag":1047,"props":3834,"children":3835},{"style":1068},[3836],{"type":998,"value":3837},"    else",{"type":993,"tag":1047,"props":3839,"children":3840},{"style":1062},[3841],{"type":998,"value":1245},{"type":993,"tag":1047,"props":3843,"children":3844},{"class":1049,"line":109},[3845,3849,3853,3857,3861,3865,3869,3873,3878],{"type":993,"tag":1047,"props":3846,"children":3847},{"style":1079},[3848],{"type":998,"value":1253},{"type":993,"tag":1047,"props":3850,"children":3851},{"style":1062},[3852],{"type":998,"value":1258},{"type":993,"tag":1047,"props":3854,"children":3855},{"style":1068},[3856],{"type":998,"value":1263},{"type":993,"tag":1047,"props":3858,"children":3859},{"style":1266},[3860],{"type":998,"value":1289},{"type":993,"tag":1047,"props":3862,"children":3863},{"style":1079},[3864],{"type":998,"value":1274},{"type":993,"tag":1047,"props":3866,"children":3867},{"style":1062},[3868],{"type":998,"value":3787},{"type":993,"tag":1047,"props":3870,"children":3871},{"style":1079},[3872],{"type":998,"value":1284},{"type":993,"tag":1047,"props":3874,"children":3875},{"style":1266},[3876],{"type":998,"value":3877}," is prime\"",{"type":993,"tag":1047,"props":3879,"children":3880},{"style":1062},[3881],{"type":998,"value":1294},{"type":993,"tag":1047,"props":3883,"children":3884},{"class":1049,"line":118},[3885,3889],{"type":993,"tag":1047,"props":3886,"children":3887},{"style":1068},[3888],{"type":998,"value":3641},{"type":993,"tag":1047,"props":3890,"children":3891},{"style":1079},[3892],{"type":998,"value":3893}," True\n",{"type":993,"tag":1047,"props":3895,"children":3896},{"class":1049,"line":127},[3897],{"type":993,"tag":1047,"props":3898,"children":3899},{"emptyLinePlaceholder":13},[3900],{"type":998,"value":1177},{"type":993,"tag":1047,"props":3902,"children":3903},{"class":1049,"line":136},[3904],{"type":993,"tag":1047,"props":3905,"children":3906},{"style":1053},[3907],{"type":998,"value":3908},"# Test prime checking\n",{"type":993,"tag":1047,"props":3910,"children":3911},{"class":1049,"line":146},[3912,3917,3922],{"type":993,"tag":1047,"props":3913,"children":3914},{"style":1062},[3915],{"type":998,"value":3916},"check_prime(",{"type":993,"tag":1047,"props":3918,"children":3919},{"style":1079},[3920],{"type":998,"value":3921},"17",{"type":993,"tag":1047,"props":3923,"children":3924},{"style":1062},[3925],{"type":998,"value":1294},{"type":993,"tag":1047,"props":3927,"children":3928},{"class":1049,"line":155},[3929,3933,3937],{"type":993,"tag":1047,"props":3930,"children":3931},{"style":1062},[3932],{"type":998,"value":3916},{"type":993,"tag":1047,"props":3934,"children":3935},{"style":1079},[3936],{"type":998,"value":2981},{"type":993,"tag":1047,"props":3938,"children":3939},{"style":1062},[3940],{"type":998,"value":1294},{"type":993,"tag":1601,"props":3942,"children":3944},{"id":3943},"comprehensive-validation",[3945],{"type":998,"value":3946},"Comprehensive Validation",{"type":993,"tag":1000,"props":3948,"children":3949},{},[3950],{"type":998,"value":3951},"Multi-criteria validation with success confirmation:",{"type":993,"tag":1033,"props":3953,"children":3954},{},[3955],{"type":993,"tag":1037,"props":3956,"children":3958},{"className":1039,"code":3957,"language":6,"meta":8,"style":8},"# Password validation with else\npasswords = [\"weak\", \"12345\", \"StrongPass123!\"]\n\nfor password in passwords:\n    print(f\"\\nChecking password: {password}\")\n    \n    if len(password) \u003C 8:\n        print(\"Too short\")\n        continue\n    if not any(c.isupper() for c in password):\n        print(\"No uppercase letters\")\n        continue\n    if not any(c.isdigit() for c in password):\n        print(\"No digits\")\n        continue\n    \n    print(\"Password is strong!\")\n    break\nelse:\n    print(\"No strong passwords found!\")\n",[3959],{"type":993,"tag":1043,"props":3960,"children":3961},{"__ignoreMap":8},[3962,3970,4013,4020,4041,4090,4097,4127,4147,4154,4194,4214,4221,4257,4277,4284,4291,4311,4319,4330],{"type":993,"tag":1047,"props":3963,"children":3964},{"class":1049,"line":12},[3965],{"type":993,"tag":1047,"props":3966,"children":3967},{"style":1053},[3968],{"type":998,"value":3969},"# Password validation with else\n",{"type":993,"tag":1047,"props":3971,"children":3972},{"class":1049,"line":27},[3973,3978,3982,3986,3991,3995,4000,4004,4009],{"type":993,"tag":1047,"props":3974,"children":3975},{"style":1062},[3976],{"type":998,"value":3977},"passwords ",{"type":993,"tag":1047,"props":3979,"children":3980},{"style":1068},[3981],{"type":998,"value":1071},{"type":993,"tag":1047,"props":3983,"children":3984},{"style":1062},[3985],{"type":998,"value":1076},{"type":993,"tag":1047,"props":3987,"children":3988},{"style":1266},[3989],{"type":998,"value":3990},"\"weak\"",{"type":993,"tag":1047,"props":3992,"children":3993},{"style":1062},[3994],{"type":998,"value":1087},{"type":993,"tag":1047,"props":3996,"children":3997},{"style":1266},[3998],{"type":998,"value":3999},"\"12345\"",{"type":993,"tag":1047,"props":4001,"children":4002},{"style":1062},[4003],{"type":998,"value":1087},{"type":993,"tag":1047,"props":4005,"children":4006},{"style":1266},[4007],{"type":998,"value":4008},"\"StrongPass123!\"",{"type":993,"tag":1047,"props":4010,"children":4011},{"style":1062},[4012],{"type":998,"value":1169},{"type":993,"tag":1047,"props":4014,"children":4015},{"class":1049,"line":36},[4016],{"type":993,"tag":1047,"props":4017,"children":4018},{"emptyLinePlaceholder":13},[4019],{"type":998,"value":1177},{"type":993,"tag":1047,"props":4021,"children":4022},{"class":1049,"line":45},[4023,4027,4032,4036],{"type":993,"tag":1047,"props":4024,"children":4025},{"style":1068},[4026],{"type":998,"value":1193},{"type":993,"tag":1047,"props":4028,"children":4029},{"style":1062},[4030],{"type":998,"value":4031}," password ",{"type":993,"tag":1047,"props":4033,"children":4034},{"style":1068},[4035],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4037,"children":4038},{"style":1062},[4039],{"type":998,"value":4040}," passwords:\n",{"type":993,"tag":1047,"props":4042,"children":4043},{"class":1049,"line":54},[4044,4048,4052,4056,4060,4064,4069,4073,4078,4082,4086],{"type":993,"tag":1047,"props":4045,"children":4046},{"style":1079},[4047],{"type":998,"value":1310},{"type":993,"tag":1047,"props":4049,"children":4050},{"style":1062},[4051],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4053,"children":4054},{"style":1068},[4055],{"type":998,"value":1263},{"type":993,"tag":1047,"props":4057,"children":4058},{"style":1266},[4059],{"type":998,"value":1289},{"type":993,"tag":1047,"props":4061,"children":4062},{"style":1079},[4063],{"type":998,"value":1379},{"type":993,"tag":1047,"props":4065,"children":4066},{"style":1266},[4067],{"type":998,"value":4068},"Checking password: ",{"type":993,"tag":1047,"props":4070,"children":4071},{"style":1079},[4072],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4074,"children":4075},{"style":1062},[4076],{"type":998,"value":4077},"password",{"type":993,"tag":1047,"props":4079,"children":4080},{"style":1079},[4081],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4083,"children":4084},{"style":1266},[4085],{"type":998,"value":1289},{"type":993,"tag":1047,"props":4087,"children":4088},{"style":1062},[4089],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4091,"children":4092},{"class":1049,"line":63},[4093],{"type":993,"tag":1047,"props":4094,"children":4095},{"style":1062},[4096],{"type":998,"value":2468},{"type":993,"tag":1047,"props":4098,"children":4099},{"class":1049,"line":72},[4100,4104,4109,4114,4118,4123],{"type":993,"tag":1047,"props":4101,"children":4102},{"style":1068},[4103],{"type":998,"value":1216},{"type":993,"tag":1047,"props":4105,"children":4106},{"style":1079},[4107],{"type":998,"value":4108}," len",{"type":993,"tag":1047,"props":4110,"children":4111},{"style":1062},[4112],{"type":998,"value":4113},"(password) ",{"type":993,"tag":1047,"props":4115,"children":4116},{"style":1068},[4117],{"type":998,"value":2015},{"type":993,"tag":1047,"props":4119,"children":4120},{"style":1079},[4121],{"type":998,"value":4122}," 8",{"type":993,"tag":1047,"props":4124,"children":4125},{"style":1062},[4126],{"type":998,"value":1245},{"type":993,"tag":1047,"props":4128,"children":4129},{"class":1049,"line":81},[4130,4134,4138,4143],{"type":993,"tag":1047,"props":4131,"children":4132},{"style":1079},[4133],{"type":998,"value":1253},{"type":993,"tag":1047,"props":4135,"children":4136},{"style":1062},[4137],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4139,"children":4140},{"style":1266},[4141],{"type":998,"value":4142},"\"Too short\"",{"type":993,"tag":1047,"props":4144,"children":4145},{"style":1062},[4146],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4148,"children":4149},{"class":1049,"line":91},[4150],{"type":993,"tag":1047,"props":4151,"children":4152},{"style":1068},[4153],{"type":998,"value":2797},{"type":993,"tag":1047,"props":4155,"children":4156},{"class":1049,"line":100},[4157,4161,4166,4171,4176,4180,4185,4189],{"type":993,"tag":1047,"props":4158,"children":4159},{"style":1068},[4160],{"type":998,"value":1216},{"type":993,"tag":1047,"props":4162,"children":4163},{"style":1068},[4164],{"type":998,"value":4165}," not",{"type":993,"tag":1047,"props":4167,"children":4168},{"style":1079},[4169],{"type":998,"value":4170}," any",{"type":993,"tag":1047,"props":4172,"children":4173},{"style":1062},[4174],{"type":998,"value":4175},"(c.isupper() ",{"type":993,"tag":1047,"props":4177,"children":4178},{"style":1068},[4179],{"type":998,"value":1193},{"type":993,"tag":1047,"props":4181,"children":4182},{"style":1062},[4183],{"type":998,"value":4184}," c ",{"type":993,"tag":1047,"props":4186,"children":4187},{"style":1068},[4188],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4190,"children":4191},{"style":1062},[4192],{"type":998,"value":4193}," password):\n",{"type":993,"tag":1047,"props":4195,"children":4196},{"class":1049,"line":109},[4197,4201,4205,4210],{"type":993,"tag":1047,"props":4198,"children":4199},{"style":1079},[4200],{"type":998,"value":1253},{"type":993,"tag":1047,"props":4202,"children":4203},{"style":1062},[4204],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4206,"children":4207},{"style":1266},[4208],{"type":998,"value":4209},"\"No uppercase letters\"",{"type":993,"tag":1047,"props":4211,"children":4212},{"style":1062},[4213],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4215,"children":4216},{"class":1049,"line":118},[4217],{"type":993,"tag":1047,"props":4218,"children":4219},{"style":1068},[4220],{"type":998,"value":2797},{"type":993,"tag":1047,"props":4222,"children":4223},{"class":1049,"line":127},[4224,4228,4232,4236,4241,4245,4249,4253],{"type":993,"tag":1047,"props":4225,"children":4226},{"style":1068},[4227],{"type":998,"value":1216},{"type":993,"tag":1047,"props":4229,"children":4230},{"style":1068},[4231],{"type":998,"value":4165},{"type":993,"tag":1047,"props":4233,"children":4234},{"style":1079},[4235],{"type":998,"value":4170},{"type":993,"tag":1047,"props":4237,"children":4238},{"style":1062},[4239],{"type":998,"value":4240},"(c.isdigit() ",{"type":993,"tag":1047,"props":4242,"children":4243},{"style":1068},[4244],{"type":998,"value":1193},{"type":993,"tag":1047,"props":4246,"children":4247},{"style":1062},[4248],{"type":998,"value":4184},{"type":993,"tag":1047,"props":4250,"children":4251},{"style":1068},[4252],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4254,"children":4255},{"style":1062},[4256],{"type":998,"value":4193},{"type":993,"tag":1047,"props":4258,"children":4259},{"class":1049,"line":136},[4260,4264,4268,4273],{"type":993,"tag":1047,"props":4261,"children":4262},{"style":1079},[4263],{"type":998,"value":1253},{"type":993,"tag":1047,"props":4265,"children":4266},{"style":1062},[4267],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4269,"children":4270},{"style":1266},[4271],{"type":998,"value":4272},"\"No digits\"",{"type":993,"tag":1047,"props":4274,"children":4275},{"style":1062},[4276],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4278,"children":4279},{"class":1049,"line":146},[4280],{"type":993,"tag":1047,"props":4281,"children":4282},{"style":1068},[4283],{"type":998,"value":2797},{"type":993,"tag":1047,"props":4285,"children":4286},{"class":1049,"line":155},[4287],{"type":993,"tag":1047,"props":4288,"children":4289},{"style":1062},[4290],{"type":998,"value":2468},{"type":993,"tag":1047,"props":4292,"children":4293},{"class":1049,"line":164},[4294,4298,4302,4307],{"type":993,"tag":1047,"props":4295,"children":4296},{"style":1079},[4297],{"type":998,"value":1310},{"type":993,"tag":1047,"props":4299,"children":4300},{"style":1062},[4301],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4303,"children":4304},{"style":1266},[4305],{"type":998,"value":4306},"\"Password is strong!\"",{"type":993,"tag":1047,"props":4308,"children":4309},{"style":1062},[4310],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4312,"children":4313},{"class":1049,"line":173},[4314],{"type":993,"tag":1047,"props":4315,"children":4316},{"style":1068},[4317],{"type":998,"value":4318},"    break\n",{"type":993,"tag":1047,"props":4320,"children":4321},{"class":1049,"line":182},[4322,4326],{"type":993,"tag":1047,"props":4323,"children":4324},{"style":1068},[4325],{"type":998,"value":1024},{"type":993,"tag":1047,"props":4327,"children":4328},{"style":1062},[4329],{"type":998,"value":1245},{"type":993,"tag":1047,"props":4331,"children":4332},{"class":1049,"line":191},[4333,4337,4341,4346],{"type":993,"tag":1047,"props":4334,"children":4335},{"style":1079},[4336],{"type":998,"value":1310},{"type":993,"tag":1047,"props":4338,"children":4339},{"style":1062},[4340],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4342,"children":4343},{"style":1266},[4344],{"type":998,"value":4345},"\"No strong passwords found!\"",{"type":993,"tag":1047,"props":4347,"children":4348},{"style":1062},[4349],{"type":998,"value":1294},{"type":993,"tag":1493,"props":4351,"children":4353},{"id":4352},"nested-loop-control",[4354],{"type":998,"value":4355},"Nested Loop Control",{"type":993,"tag":1000,"props":4357,"children":4358},{},[4359],{"type":998,"value":4360},"When working with nested loops, break and continue statements only affect the innermost loop containing them. Understanding this behavior is crucial for controlling complex nested structures effectively.",{"type":993,"tag":1505,"props":4362,"children":4365},{"emoji":4363,"title":4364,"type":1509},"🎯","Nested Loop Control Rules",[4366,4374,4397,4405,4428,4438],{"type":993,"tag":1000,"props":4367,"children":4368},{},[4369],{"type":993,"tag":1006,"props":4370,"children":4371},{},[4372],{"type":998,"value":4373},"Scope Limitations:",{"type":993,"tag":1520,"props":4375,"children":4376},{},[4377,4382,4387,4392],{"type":993,"tag":1524,"props":4378,"children":4379},{},[4380],{"type":998,"value":4381},"break/continue only affect innermost containing loop",{"type":993,"tag":1524,"props":4383,"children":4384},{},[4385],{"type":998,"value":4386},"Outer loops continue normal execution",{"type":993,"tag":1524,"props":4388,"children":4389},{},[4390],{"type":998,"value":4391},"No direct way to break outer loop from inner loop",{"type":993,"tag":1524,"props":4393,"children":4394},{},[4395],{"type":998,"value":4396},"Requires additional techniques for outer loop control",{"type":993,"tag":1000,"props":4398,"children":4399},{},[4400],{"type":993,"tag":1006,"props":4401,"children":4402},{},[4403],{"type":998,"value":4404},"Control Strategies:",{"type":993,"tag":1520,"props":4406,"children":4407},{},[4408,4413,4418,4423],{"type":993,"tag":1524,"props":4409,"children":4410},{},[4411],{"type":998,"value":4412},"Flag variables for outer loop communication",{"type":993,"tag":1524,"props":4414,"children":4415},{},[4416],{"type":998,"value":4417},"Function returns for clean multi-level exit",{"type":993,"tag":1524,"props":4419,"children":4420},{},[4421],{"type":998,"value":4422},"Exception handling for complex flow control",{"type":993,"tag":1524,"props":4424,"children":4425},{},[4426],{"type":998,"value":4427},"Loop restructuring for simpler logic",{"type":993,"tag":1000,"props":4429,"children":4430},{},[4431,4436],{"type":993,"tag":1006,"props":4432,"children":4433},{},[4434],{"type":998,"value":4435},"Design Consideration:",{"type":998,"value":4437}," Complex nested control often indicates need for refactoring",{"type":993,"tag":1000,"props":4439,"children":4440},{},[4441,4446],{"type":993,"tag":1006,"props":4442,"children":4443},{},[4444],{"type":998,"value":4445},"Best Practice:",{"type":998,"value":4447}," Use functions to encapsulate complex nested logic",{"type":993,"tag":1000,"props":4449,"children":4450},{},[4451],{"type":998,"value":4452},"For controlling outer loops from inner loops, you can use flags, functions, or exception handling patterns.",{"type":993,"tag":1601,"props":4454,"children":4456},{"id":4455},"inner-loop-termination-only",[4457],{"type":998,"value":4458},"Inner Loop Termination Only",{"type":993,"tag":1000,"props":4460,"children":4461},{},[4462],{"type":998,"value":4463},"Demonstration of break statement scope limitation in nested structures.",{"type":993,"tag":1033,"props":4465,"children":4466},{},[4467],{"type":993,"tag":1037,"props":4468,"children":4470},{"className":1039,"code":4469,"language":6,"meta":8,"style":8},"# Break only affects inner loop\nprint(\"Break in nested loops:\")\nfor i in range(3):\n    print(f\"Outer loop: {i}\")\n    for j in range(3):\n        if j == 1:\n            print(f\"  Breaking inner loop at j={j}\")\n            break\n        print(f\"  Inner loop: {j}\")\n    print(f\"Outer loop {i} continues\")\n",[4471],{"type":993,"tag":1043,"props":4472,"children":4473},{"__ignoreMap":8},[4474,4482,4502,4533,4573,4605,4628,4669,4677,4717],{"type":993,"tag":1047,"props":4475,"children":4476},{"class":1049,"line":12},[4477],{"type":993,"tag":1047,"props":4478,"children":4479},{"style":1053},[4480],{"type":998,"value":4481},"# Break only affects inner loop\n",{"type":993,"tag":1047,"props":4483,"children":4484},{"class":1049,"line":27},[4485,4489,4493,4498],{"type":993,"tag":1047,"props":4486,"children":4487},{"style":1079},[4488],{"type":998,"value":1366},{"type":993,"tag":1047,"props":4490,"children":4491},{"style":1062},[4492],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4494,"children":4495},{"style":1266},[4496],{"type":998,"value":4497},"\"Break in nested loops:\"",{"type":993,"tag":1047,"props":4499,"children":4500},{"style":1062},[4501],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4503,"children":4504},{"class":1049,"line":36},[4505,4509,4513,4517,4521,4525,4529],{"type":993,"tag":1047,"props":4506,"children":4507},{"style":1068},[4508],{"type":998,"value":1193},{"type":993,"tag":1047,"props":4510,"children":4511},{"style":1062},[4512],{"type":998,"value":3666},{"type":993,"tag":1047,"props":4514,"children":4515},{"style":1068},[4516],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4518,"children":4519},{"style":1079},[4520],{"type":998,"value":3675},{"type":993,"tag":1047,"props":4522,"children":4523},{"style":1062},[4524],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4526,"children":4527},{"style":1079},[4528],{"type":998,"value":1101},{"type":993,"tag":1047,"props":4530,"children":4531},{"style":1062},[4532],{"type":998,"value":3726},{"type":993,"tag":1047,"props":4534,"children":4535},{"class":1049,"line":45},[4536,4540,4544,4548,4553,4557,4561,4565,4569],{"type":993,"tag":1047,"props":4537,"children":4538},{"style":1079},[4539],{"type":998,"value":1310},{"type":993,"tag":1047,"props":4541,"children":4542},{"style":1062},[4543],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4545,"children":4546},{"style":1068},[4547],{"type":998,"value":1263},{"type":993,"tag":1047,"props":4549,"children":4550},{"style":1266},[4551],{"type":998,"value":4552},"\"Outer loop: ",{"type":993,"tag":1047,"props":4554,"children":4555},{"style":1079},[4556],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4558,"children":4559},{"style":1062},[4560],{"type":998,"value":3805},{"type":993,"tag":1047,"props":4562,"children":4563},{"style":1079},[4564],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4566,"children":4567},{"style":1266},[4568],{"type":998,"value":1289},{"type":993,"tag":1047,"props":4570,"children":4571},{"style":1062},[4572],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4574,"children":4575},{"class":1049,"line":54},[4576,4580,4585,4589,4593,4597,4601],{"type":993,"tag":1047,"props":4577,"children":4578},{"style":1068},[4579],{"type":998,"value":3661},{"type":993,"tag":1047,"props":4581,"children":4582},{"style":1062},[4583],{"type":998,"value":4584}," j ",{"type":993,"tag":1047,"props":4586,"children":4587},{"style":1068},[4588],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4590,"children":4591},{"style":1079},[4592],{"type":998,"value":3675},{"type":993,"tag":1047,"props":4594,"children":4595},{"style":1062},[4596],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4598,"children":4599},{"style":1079},[4600],{"type":998,"value":1101},{"type":993,"tag":1047,"props":4602,"children":4603},{"style":1062},[4604],{"type":998,"value":3726},{"type":993,"tag":1047,"props":4606,"children":4607},{"class":1049,"line":63},[4608,4612,4616,4620,4624],{"type":993,"tag":1047,"props":4609,"children":4610},{"style":1068},[4611],{"type":998,"value":3734},{"type":993,"tag":1047,"props":4613,"children":4614},{"style":1062},[4615],{"type":998,"value":4584},{"type":993,"tag":1047,"props":4617,"children":4618},{"style":1068},[4619],{"type":998,"value":1782},{"type":993,"tag":1047,"props":4621,"children":4622},{"style":1079},[4623],{"type":998,"value":3721},{"type":993,"tag":1047,"props":4625,"children":4626},{"style":1062},[4627],{"type":998,"value":1245},{"type":993,"tag":1047,"props":4629,"children":4630},{"class":1049,"line":72},[4631,4635,4639,4643,4648,4652,4657,4661,4665],{"type":993,"tag":1047,"props":4632,"children":4633},{"style":1079},[4634],{"type":998,"value":3766},{"type":993,"tag":1047,"props":4636,"children":4637},{"style":1062},[4638],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4640,"children":4641},{"style":1068},[4642],{"type":998,"value":1263},{"type":993,"tag":1047,"props":4644,"children":4645},{"style":1266},[4646],{"type":998,"value":4647},"\"  Breaking inner loop at j=",{"type":993,"tag":1047,"props":4649,"children":4650},{"style":1079},[4651],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4653,"children":4654},{"style":1062},[4655],{"type":998,"value":4656},"j",{"type":993,"tag":1047,"props":4658,"children":4659},{"style":1079},[4660],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4662,"children":4663},{"style":1266},[4664],{"type":998,"value":1289},{"type":993,"tag":1047,"props":4666,"children":4667},{"style":1062},[4668],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4670,"children":4671},{"class":1049,"line":81},[4672],{"type":993,"tag":1047,"props":4673,"children":4674},{"style":1068},[4675],{"type":998,"value":4676},"            break\n",{"type":993,"tag":1047,"props":4678,"children":4679},{"class":1049,"line":91},[4680,4684,4688,4692,4697,4701,4705,4709,4713],{"type":993,"tag":1047,"props":4681,"children":4682},{"style":1079},[4683],{"type":998,"value":1253},{"type":993,"tag":1047,"props":4685,"children":4686},{"style":1062},[4687],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4689,"children":4690},{"style":1068},[4691],{"type":998,"value":1263},{"type":993,"tag":1047,"props":4693,"children":4694},{"style":1266},[4695],{"type":998,"value":4696},"\"  Inner loop: ",{"type":993,"tag":1047,"props":4698,"children":4699},{"style":1079},[4700],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4702,"children":4703},{"style":1062},[4704],{"type":998,"value":4656},{"type":993,"tag":1047,"props":4706,"children":4707},{"style":1079},[4708],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4710,"children":4711},{"style":1266},[4712],{"type":998,"value":1289},{"type":993,"tag":1047,"props":4714,"children":4715},{"style":1062},[4716],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4718,"children":4719},{"class":1049,"line":100},[4720,4724,4728,4732,4737,4741,4745,4749,4754],{"type":993,"tag":1047,"props":4721,"children":4722},{"style":1079},[4723],{"type":998,"value":1310},{"type":993,"tag":1047,"props":4725,"children":4726},{"style":1062},[4727],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4729,"children":4730},{"style":1068},[4731],{"type":998,"value":1263},{"type":993,"tag":1047,"props":4733,"children":4734},{"style":1266},[4735],{"type":998,"value":4736},"\"Outer loop ",{"type":993,"tag":1047,"props":4738,"children":4739},{"style":1079},[4740],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4742,"children":4743},{"style":1062},[4744],{"type":998,"value":3805},{"type":993,"tag":1047,"props":4746,"children":4747},{"style":1079},[4748],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4750,"children":4751},{"style":1266},[4752],{"type":998,"value":4753}," continues\"",{"type":993,"tag":1047,"props":4755,"children":4756},{"style":1062},[4757],{"type":998,"value":1294},{"type":993,"tag":1601,"props":4759,"children":4761},{"id":4760},"flag-based-outer-loop-control",[4762],{"type":998,"value":4763},"Flag-Based Outer Loop Control",{"type":993,"tag":1000,"props":4765,"children":4766},{},[4767],{"type":998,"value":4768},"Boolean variable communication for coordinated multi-level loop termination:",{"type":993,"tag":1033,"props":4770,"children":4771},{},[4772],{"type":993,"tag":1037,"props":4773,"children":4775},{"className":1039,"code":4774,"language":6,"meta":8,"style":8},"# Using flag to control outer loop\nfound = False\nfor i in range(3):\n    if found:\n        break\n    for j in range(3):\n        if i == 1 and j == 1:\n            print(f\"Found target at ({i}, {j})\")\n            found = True\n            break\n        print(f\"Checking ({i}, {j})\")\n",[4776],{"type":993,"tag":1043,"props":4777,"children":4778},{"__ignoreMap":8},[4779,4787,4803,4834,4846,4853,4884,4924,4981,4997,5004],{"type":993,"tag":1047,"props":4780,"children":4781},{"class":1049,"line":12},[4782],{"type":993,"tag":1047,"props":4783,"children":4784},{"style":1053},[4785],{"type":998,"value":4786},"# Using flag to control outer loop\n",{"type":993,"tag":1047,"props":4788,"children":4789},{"class":1049,"line":27},[4790,4795,4799],{"type":993,"tag":1047,"props":4791,"children":4792},{"style":1062},[4793],{"type":998,"value":4794},"found ",{"type":993,"tag":1047,"props":4796,"children":4797},{"style":1068},[4798],{"type":998,"value":1071},{"type":993,"tag":1047,"props":4800,"children":4801},{"style":1079},[4802],{"type":998,"value":3646},{"type":993,"tag":1047,"props":4804,"children":4805},{"class":1049,"line":36},[4806,4810,4814,4818,4822,4826,4830],{"type":993,"tag":1047,"props":4807,"children":4808},{"style":1068},[4809],{"type":998,"value":1193},{"type":993,"tag":1047,"props":4811,"children":4812},{"style":1062},[4813],{"type":998,"value":3666},{"type":993,"tag":1047,"props":4815,"children":4816},{"style":1068},[4817],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4819,"children":4820},{"style":1079},[4821],{"type":998,"value":3675},{"type":993,"tag":1047,"props":4823,"children":4824},{"style":1062},[4825],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4827,"children":4828},{"style":1079},[4829],{"type":998,"value":1101},{"type":993,"tag":1047,"props":4831,"children":4832},{"style":1062},[4833],{"type":998,"value":3726},{"type":993,"tag":1047,"props":4835,"children":4836},{"class":1049,"line":45},[4837,4841],{"type":993,"tag":1047,"props":4838,"children":4839},{"style":1068},[4840],{"type":998,"value":1216},{"type":993,"tag":1047,"props":4842,"children":4843},{"style":1062},[4844],{"type":998,"value":4845}," found:\n",{"type":993,"tag":1047,"props":4847,"children":4848},{"class":1049,"line":54},[4849],{"type":993,"tag":1047,"props":4850,"children":4851},{"style":1068},[4852],{"type":998,"value":1302},{"type":993,"tag":1047,"props":4854,"children":4855},{"class":1049,"line":63},[4856,4860,4864,4868,4872,4876,4880],{"type":993,"tag":1047,"props":4857,"children":4858},{"style":1068},[4859],{"type":998,"value":3661},{"type":993,"tag":1047,"props":4861,"children":4862},{"style":1062},[4863],{"type":998,"value":4584},{"type":993,"tag":1047,"props":4865,"children":4866},{"style":1068},[4867],{"type":998,"value":1203},{"type":993,"tag":1047,"props":4869,"children":4870},{"style":1079},[4871],{"type":998,"value":3675},{"type":993,"tag":1047,"props":4873,"children":4874},{"style":1062},[4875],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4877,"children":4878},{"style":1079},[4879],{"type":998,"value":1101},{"type":993,"tag":1047,"props":4881,"children":4882},{"style":1062},[4883],{"type":998,"value":3726},{"type":993,"tag":1047,"props":4885,"children":4886},{"class":1049,"line":72},[4887,4891,4895,4899,4903,4908,4912,4916,4920],{"type":993,"tag":1047,"props":4888,"children":4889},{"style":1068},[4890],{"type":998,"value":3734},{"type":993,"tag":1047,"props":4892,"children":4893},{"style":1062},[4894],{"type":998,"value":3666},{"type":993,"tag":1047,"props":4896,"children":4897},{"style":1068},[4898],{"type":998,"value":1782},{"type":993,"tag":1047,"props":4900,"children":4901},{"style":1079},[4902],{"type":998,"value":3721},{"type":993,"tag":1047,"props":4904,"children":4905},{"style":1068},[4906],{"type":998,"value":4907}," and",{"type":993,"tag":1047,"props":4909,"children":4910},{"style":1062},[4911],{"type":998,"value":4584},{"type":993,"tag":1047,"props":4913,"children":4914},{"style":1068},[4915],{"type":998,"value":1782},{"type":993,"tag":1047,"props":4917,"children":4918},{"style":1079},[4919],{"type":998,"value":3721},{"type":993,"tag":1047,"props":4921,"children":4922},{"style":1062},[4923],{"type":998,"value":1245},{"type":993,"tag":1047,"props":4925,"children":4926},{"class":1049,"line":81},[4927,4931,4935,4939,4944,4948,4952,4956,4960,4964,4968,4972,4977],{"type":993,"tag":1047,"props":4928,"children":4929},{"style":1079},[4930],{"type":998,"value":3766},{"type":993,"tag":1047,"props":4932,"children":4933},{"style":1062},[4934],{"type":998,"value":1258},{"type":993,"tag":1047,"props":4936,"children":4937},{"style":1068},[4938],{"type":998,"value":1263},{"type":993,"tag":1047,"props":4940,"children":4941},{"style":1266},[4942],{"type":998,"value":4943},"\"Found target at (",{"type":993,"tag":1047,"props":4945,"children":4946},{"style":1079},[4947],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4949,"children":4950},{"style":1062},[4951],{"type":998,"value":3805},{"type":993,"tag":1047,"props":4953,"children":4954},{"style":1079},[4955],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4957,"children":4958},{"style":1266},[4959],{"type":998,"value":1087},{"type":993,"tag":1047,"props":4961,"children":4962},{"style":1079},[4963],{"type":998,"value":1274},{"type":993,"tag":1047,"props":4965,"children":4966},{"style":1062},[4967],{"type":998,"value":4656},{"type":993,"tag":1047,"props":4969,"children":4970},{"style":1079},[4971],{"type":998,"value":1284},{"type":993,"tag":1047,"props":4973,"children":4974},{"style":1266},[4975],{"type":998,"value":4976},")\"",{"type":993,"tag":1047,"props":4978,"children":4979},{"style":1062},[4980],{"type":998,"value":1294},{"type":993,"tag":1047,"props":4982,"children":4983},{"class":1049,"line":91},[4984,4989,4993],{"type":993,"tag":1047,"props":4985,"children":4986},{"style":1062},[4987],{"type":998,"value":4988},"            found ",{"type":993,"tag":1047,"props":4990,"children":4991},{"style":1068},[4992],{"type":998,"value":1071},{"type":993,"tag":1047,"props":4994,"children":4995},{"style":1079},[4996],{"type":998,"value":3893},{"type":993,"tag":1047,"props":4998,"children":4999},{"class":1049,"line":100},[5000],{"type":993,"tag":1047,"props":5001,"children":5002},{"style":1068},[5003],{"type":998,"value":4676},{"type":993,"tag":1047,"props":5005,"children":5006},{"class":1049,"line":109},[5007,5011,5015,5019,5024,5028,5032,5036,5040,5044,5048,5052,5056],{"type":993,"tag":1047,"props":5008,"children":5009},{"style":1079},[5010],{"type":998,"value":1253},{"type":993,"tag":1047,"props":5012,"children":5013},{"style":1062},[5014],{"type":998,"value":1258},{"type":993,"tag":1047,"props":5016,"children":5017},{"style":1068},[5018],{"type":998,"value":1263},{"type":993,"tag":1047,"props":5020,"children":5021},{"style":1266},[5022],{"type":998,"value":5023},"\"Checking (",{"type":993,"tag":1047,"props":5025,"children":5026},{"style":1079},[5027],{"type":998,"value":1274},{"type":993,"tag":1047,"props":5029,"children":5030},{"style":1062},[5031],{"type":998,"value":3805},{"type":993,"tag":1047,"props":5033,"children":5034},{"style":1079},[5035],{"type":998,"value":1284},{"type":993,"tag":1047,"props":5037,"children":5038},{"style":1266},[5039],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5041,"children":5042},{"style":1079},[5043],{"type":998,"value":1274},{"type":993,"tag":1047,"props":5045,"children":5046},{"style":1062},[5047],{"type":998,"value":4656},{"type":993,"tag":1047,"props":5049,"children":5050},{"style":1079},[5051],{"type":998,"value":1284},{"type":993,"tag":1047,"props":5053,"children":5054},{"style":1266},[5055],{"type":998,"value":4976},{"type":993,"tag":1047,"props":5057,"children":5058},{"style":1062},[5059],{"type":998,"value":1294},{"type":993,"tag":1601,"props":5061,"children":5063},{"id":5062},"function-based-clean-exit",[5064],{"type":998,"value":5065},"Function-Based Clean Exit",{"type":993,"tag":1000,"props":5067,"children":5068},{},[5069],{"type":998,"value":5070},"Return statement usage for elegant multi-level loop termination:",{"type":993,"tag":1033,"props":5072,"children":5073},{},[5074],{"type":993,"tag":1037,"props":5075,"children":5077},{"className":1039,"code":5076,"language":6,"meta":8,"style":8},"# Using function for clean exit\ndef find_in_matrix(matrix, target):\n    for i, row in enumerate(matrix):\n        for j, value in enumerate(row):\n            if value == target:\n                return (i, j)\n    return None\n\nmatrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]\nposition = find_in_matrix(matrix, 5)\nprint(f\"Found 5 at position: {position}\")\n",[5078],{"type":993,"tag":1043,"props":5079,"children":5080},{"__ignoreMap":8},[5081,5089,5106,5132,5158,5179,5192,5205,5212,5303,5328],{"type":993,"tag":1047,"props":5082,"children":5083},{"class":1049,"line":12},[5084],{"type":993,"tag":1047,"props":5085,"children":5086},{"style":1053},[5087],{"type":998,"value":5088},"# Using function for clean exit\n",{"type":993,"tag":1047,"props":5090,"children":5091},{"class":1049,"line":27},[5092,5096,5101],{"type":993,"tag":1047,"props":5093,"children":5094},{"style":1068},[5095],{"type":998,"value":3598},{"type":993,"tag":1047,"props":5097,"children":5098},{"style":3601},[5099],{"type":998,"value":5100}," find_in_matrix",{"type":993,"tag":1047,"props":5102,"children":5103},{"style":1062},[5104],{"type":998,"value":5105},"(matrix, target):\n",{"type":993,"tag":1047,"props":5107,"children":5108},{"class":1049,"line":36},[5109,5113,5118,5122,5127],{"type":993,"tag":1047,"props":5110,"children":5111},{"style":1068},[5112],{"type":998,"value":3661},{"type":993,"tag":1047,"props":5114,"children":5115},{"style":1062},[5116],{"type":998,"value":5117}," i, row ",{"type":993,"tag":1047,"props":5119,"children":5120},{"style":1068},[5121],{"type":998,"value":1203},{"type":993,"tag":1047,"props":5123,"children":5124},{"style":1079},[5125],{"type":998,"value":5126}," enumerate",{"type":993,"tag":1047,"props":5128,"children":5129},{"style":1062},[5130],{"type":998,"value":5131},"(matrix):\n",{"type":993,"tag":1047,"props":5133,"children":5134},{"class":1049,"line":45},[5135,5140,5145,5149,5153],{"type":993,"tag":1047,"props":5136,"children":5137},{"style":1068},[5138],{"type":998,"value":5139},"        for",{"type":993,"tag":1047,"props":5141,"children":5142},{"style":1062},[5143],{"type":998,"value":5144}," j, value ",{"type":993,"tag":1047,"props":5146,"children":5147},{"style":1068},[5148],{"type":998,"value":1203},{"type":993,"tag":1047,"props":5150,"children":5151},{"style":1079},[5152],{"type":998,"value":5126},{"type":993,"tag":1047,"props":5154,"children":5155},{"style":1062},[5156],{"type":998,"value":5157},"(row):\n",{"type":993,"tag":1047,"props":5159,"children":5160},{"class":1049,"line":54},[5161,5166,5171,5175],{"type":993,"tag":1047,"props":5162,"children":5163},{"style":1068},[5164],{"type":998,"value":5165},"            if",{"type":993,"tag":1047,"props":5167,"children":5168},{"style":1062},[5169],{"type":998,"value":5170}," value ",{"type":993,"tag":1047,"props":5172,"children":5173},{"style":1068},[5174],{"type":998,"value":1782},{"type":993,"tag":1047,"props":5176,"children":5177},{"style":1062},[5178],{"type":998,"value":1787},{"type":993,"tag":1047,"props":5180,"children":5181},{"class":1049,"line":63},[5182,5187],{"type":993,"tag":1047,"props":5183,"children":5184},{"style":1068},[5185],{"type":998,"value":5186},"                return",{"type":993,"tag":1047,"props":5188,"children":5189},{"style":1062},[5190],{"type":998,"value":5191}," (i, j)\n",{"type":993,"tag":1047,"props":5193,"children":5194},{"class":1049,"line":72},[5195,5200],{"type":993,"tag":1047,"props":5196,"children":5197},{"style":1068},[5198],{"type":998,"value":5199},"    return",{"type":993,"tag":1047,"props":5201,"children":5202},{"style":1079},[5203],{"type":998,"value":5204}," None\n",{"type":993,"tag":1047,"props":5206,"children":5207},{"class":1049,"line":81},[5208],{"type":993,"tag":1047,"props":5209,"children":5210},{"emptyLinePlaceholder":13},[5211],{"type":998,"value":1177},{"type":993,"tag":1047,"props":5213,"children":5214},{"class":1049,"line":91},[5215,5220,5224,5229,5233,5237,5241,5245,5249,5254,5258,5262,5266,5270,5274,5278,5282,5286,5290,5294,5298],{"type":993,"tag":1047,"props":5216,"children":5217},{"style":1062},[5218],{"type":998,"value":5219},"matrix ",{"type":993,"tag":1047,"props":5221,"children":5222},{"style":1068},[5223],{"type":998,"value":1071},{"type":993,"tag":1047,"props":5225,"children":5226},{"style":1062},[5227],{"type":998,"value":5228}," [[",{"type":993,"tag":1047,"props":5230,"children":5231},{"style":1079},[5232],{"type":998,"value":1082},{"type":993,"tag":1047,"props":5234,"children":5235},{"style":1062},[5236],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5238,"children":5239},{"style":1079},[5240],{"type":998,"value":1092},{"type":993,"tag":1047,"props":5242,"children":5243},{"style":1062},[5244],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5246,"children":5247},{"style":1079},[5248],{"type":998,"value":1101},{"type":993,"tag":1047,"props":5250,"children":5251},{"style":1062},[5252],{"type":998,"value":5253},"], [",{"type":993,"tag":1047,"props":5255,"children":5256},{"style":1079},[5257],{"type":998,"value":1110},{"type":993,"tag":1047,"props":5259,"children":5260},{"style":1062},[5261],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5263,"children":5264},{"style":1079},[5265],{"type":998,"value":1119},{"type":993,"tag":1047,"props":5267,"children":5268},{"style":1062},[5269],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5271,"children":5272},{"style":1079},[5273],{"type":998,"value":1128},{"type":993,"tag":1047,"props":5275,"children":5276},{"style":1062},[5277],{"type":998,"value":5253},{"type":993,"tag":1047,"props":5279,"children":5280},{"style":1079},[5281],{"type":998,"value":1137},{"type":993,"tag":1047,"props":5283,"children":5284},{"style":1062},[5285],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5287,"children":5288},{"style":1079},[5289],{"type":998,"value":1146},{"type":993,"tag":1047,"props":5291,"children":5292},{"style":1062},[5293],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5295,"children":5296},{"style":1079},[5297],{"type":998,"value":1155},{"type":993,"tag":1047,"props":5299,"children":5300},{"style":1062},[5301],{"type":998,"value":5302},"]]\n",{"type":993,"tag":1047,"props":5304,"children":5305},{"class":1049,"line":100},[5306,5311,5315,5320,5324],{"type":993,"tag":1047,"props":5307,"children":5308},{"style":1062},[5309],{"type":998,"value":5310},"position ",{"type":993,"tag":1047,"props":5312,"children":5313},{"style":1068},[5314],{"type":998,"value":1071},{"type":993,"tag":1047,"props":5316,"children":5317},{"style":1062},[5318],{"type":998,"value":5319}," find_in_matrix(matrix, ",{"type":993,"tag":1047,"props":5321,"children":5322},{"style":1079},[5323],{"type":998,"value":1119},{"type":993,"tag":1047,"props":5325,"children":5326},{"style":1062},[5327],{"type":998,"value":1294},{"type":993,"tag":1047,"props":5329,"children":5330},{"class":1049,"line":109},[5331,5335,5339,5343,5348,5352,5357,5361,5365],{"type":993,"tag":1047,"props":5332,"children":5333},{"style":1079},[5334],{"type":998,"value":1366},{"type":993,"tag":1047,"props":5336,"children":5337},{"style":1062},[5338],{"type":998,"value":1258},{"type":993,"tag":1047,"props":5340,"children":5341},{"style":1068},[5342],{"type":998,"value":1263},{"type":993,"tag":1047,"props":5344,"children":5345},{"style":1266},[5346],{"type":998,"value":5347},"\"Found 5 at position: ",{"type":993,"tag":1047,"props":5349,"children":5350},{"style":1079},[5351],{"type":998,"value":1274},{"type":993,"tag":1047,"props":5353,"children":5354},{"style":1062},[5355],{"type":998,"value":5356},"position",{"type":993,"tag":1047,"props":5358,"children":5359},{"style":1079},[5360],{"type":998,"value":1284},{"type":993,"tag":1047,"props":5362,"children":5363},{"style":1266},[5364],{"type":998,"value":1289},{"type":993,"tag":1047,"props":5366,"children":5367},{"style":1062},[5368],{"type":998,"value":1294},{"type":993,"tag":1493,"props":5370,"children":5372},{"id":5371},"loop-control-patterns",[5373],{"type":998,"value":5374},"Loop Control Patterns",{"type":993,"tag":1000,"props":5376,"children":5377},{},[5378],{"type":998,"value":5379},"Several common patterns emerge when using loop control statements effectively. These patterns solve recurring programming problems and provide tested approaches to complex iteration scenarios.",{"type":993,"tag":1505,"props":5381,"children":5384},{"emoji":5382,"title":5383,"type":2180},"🎨","Essential Control Patterns",[5385,5393,5436,5444,5466,5476],{"type":993,"tag":1000,"props":5386,"children":5387},{},[5388],{"type":993,"tag":1006,"props":5389,"children":5390},{},[5391],{"type":998,"value":5392},"Fundamental Patterns:",{"type":993,"tag":1520,"props":5394,"children":5395},{},[5396,5406,5416,5426],{"type":993,"tag":1524,"props":5397,"children":5398},{},[5399,5404],{"type":993,"tag":1006,"props":5400,"children":5401},{},[5402],{"type":998,"value":5403},"First Match",{"type":998,"value":5405},": Find and return first occurrence",{"type":993,"tag":1524,"props":5407,"children":5408},{},[5409,5414],{"type":993,"tag":1006,"props":5410,"children":5411},{},[5412],{"type":998,"value":5413},"All or Nothing",{"type":998,"value":5415},": Validate all items or fail",{"type":993,"tag":1524,"props":5417,"children":5418},{},[5419,5424],{"type":993,"tag":1006,"props":5420,"children":5421},{},[5422],{"type":998,"value":5423},"Process Until Error",{"type":998,"value":5425},": Continue until problem encountered",{"type":993,"tag":1524,"props":5427,"children":5428},{},[5429,5434],{"type":993,"tag":1006,"props":5430,"children":5431},{},[5432],{"type":998,"value":5433},"Skip and Continue",{"type":998,"value":5435},": Filter and process valid items only",{"type":993,"tag":1000,"props":5437,"children":5438},{},[5439],{"type":993,"tag":1006,"props":5440,"children":5441},{},[5442],{"type":998,"value":5443},"Pattern Applications:",{"type":993,"tag":1520,"props":5445,"children":5446},{},[5447,5452,5457,5461],{"type":993,"tag":1524,"props":5448,"children":5449},{},[5450],{"type":998,"value":5451},"Search and retrieval operations",{"type":993,"tag":1524,"props":5453,"children":5454},{},[5455],{"type":998,"value":5456},"Data validation and verification",{"type":993,"tag":1524,"props":5458,"children":5459},{},[5460],{"type":998,"value":2238},{"type":993,"tag":1524,"props":5462,"children":5463},{},[5464],{"type":998,"value":5465},"Conditional data processing",{"type":993,"tag":1000,"props":5467,"children":5468},{},[5469,5474],{"type":993,"tag":1006,"props":5470,"children":5471},{},[5472],{"type":998,"value":5473},"Recognition:",{"type":998,"value":5475}," Learning patterns accelerates problem-solving",{"type":993,"tag":1000,"props":5477,"children":5478},{},[5479,5484],{"type":993,"tag":1006,"props":5480,"children":5481},{},[5482],{"type":998,"value":5483},"Reusability:",{"type":998,"value":5485}," Patterns provide tested solutions for common scenarios",{"type":993,"tag":1000,"props":5487,"children":5488},{},[5489],{"type":998,"value":5490},"Learning these patterns helps you recognize when and how to apply loop control for maximum effectiveness.",{"type":993,"tag":1601,"props":5492,"children":5494},{"id":5493},"first-occurrence-detection",[5495],{"type":998,"value":5496},"First Occurrence Detection",{"type":993,"tag":1000,"props":5498,"children":5499},{},[5500],{"type":998,"value":5501},"Early termination search pattern for efficient target identification.",{"type":993,"tag":1033,"props":5503,"children":5504},{},[5505],{"type":993,"tag":1037,"props":5506,"children":5508},{"className":1039,"code":5507,"language":6,"meta":8,"style":8},"# First match pattern\ndef find_first_even(numbers):\n    for num in numbers:\n        if num % 2 == 0:\n            return num\n    return None\n\nnumbers = [1, 3, 5, 8, 9, 12]\nresult = find_first_even(numbers)\nprint(f\"First even: {result}\")\n",[5509],{"type":993,"tag":1043,"props":5510,"children":5511},{"__ignoreMap":8},[5512,5520,5537,5556,5587,5599,5610,5617,5680,5697],{"type":993,"tag":1047,"props":5513,"children":5514},{"class":1049,"line":12},[5515],{"type":993,"tag":1047,"props":5516,"children":5517},{"style":1053},[5518],{"type":998,"value":5519},"# First match pattern\n",{"type":993,"tag":1047,"props":5521,"children":5522},{"class":1049,"line":27},[5523,5527,5532],{"type":993,"tag":1047,"props":5524,"children":5525},{"style":1068},[5526],{"type":998,"value":3598},{"type":993,"tag":1047,"props":5528,"children":5529},{"style":3601},[5530],{"type":998,"value":5531}," find_first_even",{"type":993,"tag":1047,"props":5533,"children":5534},{"style":1062},[5535],{"type":998,"value":5536},"(numbers):\n",{"type":993,"tag":1047,"props":5538,"children":5539},{"class":1049,"line":36},[5540,5544,5548,5552],{"type":993,"tag":1047,"props":5541,"children":5542},{"style":1068},[5543],{"type":998,"value":3661},{"type":993,"tag":1047,"props":5545,"children":5546},{"style":1062},[5547],{"type":998,"value":1198},{"type":993,"tag":1047,"props":5549,"children":5550},{"style":1068},[5551],{"type":998,"value":1203},{"type":993,"tag":1047,"props":5553,"children":5554},{"style":1062},[5555],{"type":998,"value":1208},{"type":993,"tag":1047,"props":5557,"children":5558},{"class":1049,"line":45},[5559,5563,5567,5571,5575,5579,5583],{"type":993,"tag":1047,"props":5560,"children":5561},{"style":1068},[5562],{"type":998,"value":3734},{"type":993,"tag":1047,"props":5564,"children":5565},{"style":1062},[5566],{"type":998,"value":1198},{"type":993,"tag":1047,"props":5568,"children":5569},{"style":1068},[5570],{"type":998,"value":1225},{"type":993,"tag":1047,"props":5572,"children":5573},{"style":1079},[5574],{"type":998,"value":1230},{"type":993,"tag":1047,"props":5576,"children":5577},{"style":1068},[5578],{"type":998,"value":1235},{"type":993,"tag":1047,"props":5580,"children":5581},{"style":1079},[5582],{"type":998,"value":1240},{"type":993,"tag":1047,"props":5584,"children":5585},{"style":1062},[5586],{"type":998,"value":1245},{"type":993,"tag":1047,"props":5588,"children":5589},{"class":1049,"line":54},[5590,5594],{"type":993,"tag":1047,"props":5591,"children":5592},{"style":1068},[5593],{"type":998,"value":3825},{"type":993,"tag":1047,"props":5595,"children":5596},{"style":1062},[5597],{"type":998,"value":5598}," num\n",{"type":993,"tag":1047,"props":5600,"children":5601},{"class":1049,"line":63},[5602,5606],{"type":993,"tag":1047,"props":5603,"children":5604},{"style":1068},[5605],{"type":998,"value":5199},{"type":993,"tag":1047,"props":5607,"children":5608},{"style":1079},[5609],{"type":998,"value":5204},{"type":993,"tag":1047,"props":5611,"children":5612},{"class":1049,"line":72},[5613],{"type":993,"tag":1047,"props":5614,"children":5615},{"emptyLinePlaceholder":13},[5616],{"type":998,"value":1177},{"type":993,"tag":1047,"props":5618,"children":5619},{"class":1049,"line":81},[5620,5624,5628,5632,5636,5640,5644,5648,5652,5656,5660,5664,5668,5672,5676],{"type":993,"tag":1047,"props":5621,"children":5622},{"style":1062},[5623],{"type":998,"value":1065},{"type":993,"tag":1047,"props":5625,"children":5626},{"style":1068},[5627],{"type":998,"value":1071},{"type":993,"tag":1047,"props":5629,"children":5630},{"style":1062},[5631],{"type":998,"value":1076},{"type":993,"tag":1047,"props":5633,"children":5634},{"style":1079},[5635],{"type":998,"value":1082},{"type":993,"tag":1047,"props":5637,"children":5638},{"style":1062},[5639],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5641,"children":5642},{"style":1079},[5643],{"type":998,"value":1101},{"type":993,"tag":1047,"props":5645,"children":5646},{"style":1062},[5647],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5649,"children":5650},{"style":1079},[5651],{"type":998,"value":1119},{"type":993,"tag":1047,"props":5653,"children":5654},{"style":1062},[5655],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5657,"children":5658},{"style":1079},[5659],{"type":998,"value":1146},{"type":993,"tag":1047,"props":5661,"children":5662},{"style":1062},[5663],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5665,"children":5666},{"style":1079},[5667],{"type":998,"value":1155},{"type":993,"tag":1047,"props":5669,"children":5670},{"style":1062},[5671],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5673,"children":5674},{"style":1079},[5675],{"type":998,"value":3006},{"type":993,"tag":1047,"props":5677,"children":5678},{"style":1062},[5679],{"type":998,"value":1169},{"type":993,"tag":1047,"props":5681,"children":5682},{"class":1049,"line":91},[5683,5688,5692],{"type":993,"tag":1047,"props":5684,"children":5685},{"style":1062},[5686],{"type":998,"value":5687},"result ",{"type":993,"tag":1047,"props":5689,"children":5690},{"style":1068},[5691],{"type":998,"value":1071},{"type":993,"tag":1047,"props":5693,"children":5694},{"style":1062},[5695],{"type":998,"value":5696}," find_first_even(numbers)\n",{"type":993,"tag":1047,"props":5698,"children":5699},{"class":1049,"line":100},[5700,5704,5708,5712,5717,5721,5726,5730,5734],{"type":993,"tag":1047,"props":5701,"children":5702},{"style":1079},[5703],{"type":998,"value":1366},{"type":993,"tag":1047,"props":5705,"children":5706},{"style":1062},[5707],{"type":998,"value":1258},{"type":993,"tag":1047,"props":5709,"children":5710},{"style":1068},[5711],{"type":998,"value":1263},{"type":993,"tag":1047,"props":5713,"children":5714},{"style":1266},[5715],{"type":998,"value":5716},"\"First even: ",{"type":993,"tag":1047,"props":5718,"children":5719},{"style":1079},[5720],{"type":998,"value":1274},{"type":993,"tag":1047,"props":5722,"children":5723},{"style":1062},[5724],{"type":998,"value":5725},"result",{"type":993,"tag":1047,"props":5727,"children":5728},{"style":1079},[5729],{"type":998,"value":1284},{"type":993,"tag":1047,"props":5731,"children":5732},{"style":1266},[5733],{"type":998,"value":1289},{"type":993,"tag":1047,"props":5735,"children":5736},{"style":1062},[5737],{"type":998,"value":1294},{"type":993,"tag":1601,"props":5739,"children":5741},{"id":5740},"universal-condition-verification",[5742],{"type":998,"value":5743},"Universal Condition Verification",{"type":993,"tag":1000,"props":5745,"children":5746},{},[5747],{"type":998,"value":5748},"Complete validation pattern ensuring all items meet specified criteria.",{"type":993,"tag":1033,"props":5750,"children":5751},{},[5752],{"type":993,"tag":1037,"props":5753,"children":5755},{"className":1039,"code":5754,"language":6,"meta":8,"style":8},"# All or nothing pattern\ndef all_positive(numbers):\n    for num in numbers:\n        if num \u003C= 0:\n            return False\n    return True\n\ntest_numbers = [1, 2, 3, 4]\nresult = all_positive(test_numbers)\nprint(f\"All positive: {result}\")\n",[5756],{"type":993,"tag":1043,"props":5757,"children":5758},{"__ignoreMap":8},[5759,5767,5783,5802,5826,5837,5848,5855,5903,5919],{"type":993,"tag":1047,"props":5760,"children":5761},{"class":1049,"line":12},[5762],{"type":993,"tag":1047,"props":5763,"children":5764},{"style":1053},[5765],{"type":998,"value":5766},"# All or nothing pattern\n",{"type":993,"tag":1047,"props":5768,"children":5769},{"class":1049,"line":27},[5770,5774,5779],{"type":993,"tag":1047,"props":5771,"children":5772},{"style":1068},[5773],{"type":998,"value":3598},{"type":993,"tag":1047,"props":5775,"children":5776},{"style":3601},[5777],{"type":998,"value":5778}," all_positive",{"type":993,"tag":1047,"props":5780,"children":5781},{"style":1062},[5782],{"type":998,"value":5536},{"type":993,"tag":1047,"props":5784,"children":5785},{"class":1049,"line":36},[5786,5790,5794,5798],{"type":993,"tag":1047,"props":5787,"children":5788},{"style":1068},[5789],{"type":998,"value":3661},{"type":993,"tag":1047,"props":5791,"children":5792},{"style":1062},[5793],{"type":998,"value":1198},{"type":993,"tag":1047,"props":5795,"children":5796},{"style":1068},[5797],{"type":998,"value":1203},{"type":993,"tag":1047,"props":5799,"children":5800},{"style":1062},[5801],{"type":998,"value":1208},{"type":993,"tag":1047,"props":5803,"children":5804},{"class":1049,"line":45},[5805,5809,5813,5818,5822],{"type":993,"tag":1047,"props":5806,"children":5807},{"style":1068},[5808],{"type":998,"value":3734},{"type":993,"tag":1047,"props":5810,"children":5811},{"style":1062},[5812],{"type":998,"value":1198},{"type":993,"tag":1047,"props":5814,"children":5815},{"style":1068},[5816],{"type":998,"value":5817},"\u003C=",{"type":993,"tag":1047,"props":5819,"children":5820},{"style":1079},[5821],{"type":998,"value":1240},{"type":993,"tag":1047,"props":5823,"children":5824},{"style":1062},[5825],{"type":998,"value":1245},{"type":993,"tag":1047,"props":5827,"children":5828},{"class":1049,"line":54},[5829,5833],{"type":993,"tag":1047,"props":5830,"children":5831},{"style":1068},[5832],{"type":998,"value":3825},{"type":993,"tag":1047,"props":5834,"children":5835},{"style":1079},[5836],{"type":998,"value":3646},{"type":993,"tag":1047,"props":5838,"children":5839},{"class":1049,"line":63},[5840,5844],{"type":993,"tag":1047,"props":5841,"children":5842},{"style":1068},[5843],{"type":998,"value":5199},{"type":993,"tag":1047,"props":5845,"children":5846},{"style":1079},[5847],{"type":998,"value":3893},{"type":993,"tag":1047,"props":5849,"children":5850},{"class":1049,"line":72},[5851],{"type":993,"tag":1047,"props":5852,"children":5853},{"emptyLinePlaceholder":13},[5854],{"type":998,"value":1177},{"type":993,"tag":1047,"props":5856,"children":5857},{"class":1049,"line":81},[5858,5863,5867,5871,5875,5879,5883,5887,5891,5895,5899],{"type":993,"tag":1047,"props":5859,"children":5860},{"style":1062},[5861],{"type":998,"value":5862},"test_numbers ",{"type":993,"tag":1047,"props":5864,"children":5865},{"style":1068},[5866],{"type":998,"value":1071},{"type":993,"tag":1047,"props":5868,"children":5869},{"style":1062},[5870],{"type":998,"value":1076},{"type":993,"tag":1047,"props":5872,"children":5873},{"style":1079},[5874],{"type":998,"value":1082},{"type":993,"tag":1047,"props":5876,"children":5877},{"style":1062},[5878],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5880,"children":5881},{"style":1079},[5882],{"type":998,"value":1092},{"type":993,"tag":1047,"props":5884,"children":5885},{"style":1062},[5886],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5888,"children":5889},{"style":1079},[5890],{"type":998,"value":1101},{"type":993,"tag":1047,"props":5892,"children":5893},{"style":1062},[5894],{"type":998,"value":1087},{"type":993,"tag":1047,"props":5896,"children":5897},{"style":1079},[5898],{"type":998,"value":1110},{"type":993,"tag":1047,"props":5900,"children":5901},{"style":1062},[5902],{"type":998,"value":1169},{"type":993,"tag":1047,"props":5904,"children":5905},{"class":1049,"line":91},[5906,5910,5914],{"type":993,"tag":1047,"props":5907,"children":5908},{"style":1062},[5909],{"type":998,"value":5687},{"type":993,"tag":1047,"props":5911,"children":5912},{"style":1068},[5913],{"type":998,"value":1071},{"type":993,"tag":1047,"props":5915,"children":5916},{"style":1062},[5917],{"type":998,"value":5918}," all_positive(test_numbers)\n",{"type":993,"tag":1047,"props":5920,"children":5921},{"class":1049,"line":100},[5922,5926,5930,5934,5939,5943,5947,5951,5955],{"type":993,"tag":1047,"props":5923,"children":5924},{"style":1079},[5925],{"type":998,"value":1366},{"type":993,"tag":1047,"props":5927,"children":5928},{"style":1062},[5929],{"type":998,"value":1258},{"type":993,"tag":1047,"props":5931,"children":5932},{"style":1068},[5933],{"type":998,"value":1263},{"type":993,"tag":1047,"props":5935,"children":5936},{"style":1266},[5937],{"type":998,"value":5938},"\"All positive: ",{"type":993,"tag":1047,"props":5940,"children":5941},{"style":1079},[5942],{"type":998,"value":1274},{"type":993,"tag":1047,"props":5944,"children":5945},{"style":1062},[5946],{"type":998,"value":5725},{"type":993,"tag":1047,"props":5948,"children":5949},{"style":1079},[5950],{"type":998,"value":1284},{"type":993,"tag":1047,"props":5952,"children":5953},{"style":1266},[5954],{"type":998,"value":1289},{"type":993,"tag":1047,"props":5956,"children":5957},{"style":1062},[5958],{"type":998,"value":1294},{"type":993,"tag":1601,"props":5960,"children":5962},{"id":5961},"error-bounded-processing",[5963],{"type":998,"value":5964},"Error-Bounded Processing",{"type":993,"tag":1000,"props":5966,"children":5967},{},[5968],{"type":998,"value":5969},"Conditional processing with automatic termination upon encountering invalid data:",{"type":993,"tag":1033,"props":5971,"children":5972},{},[5973],{"type":993,"tag":1037,"props":5974,"children":5976},{"className":1039,"code":5975,"language":6,"meta":8,"style":8},"# Process until error pattern\ndef process_until_error(data):\n    results = []\n    for item in data:\n        try:\n            result = int(item) * 2\n            results.append(result)\n        except ValueError:\n            print(f\"Stopping at invalid item: {item}\")\n            break\n    return results\n\ntest_data = ['1', '2', 'abc', '4']\nresult = process_until_error(test_data)\nprint(f\"Processed: {result}\")\n",[5977],{"type":993,"tag":1043,"props":5978,"children":5979},{"__ignoreMap":8},[5980,5988,6005,6022,6041,6053,6082,6090,6106,6146,6153,6165,6172,6224,6240],{"type":993,"tag":1047,"props":5981,"children":5982},{"class":1049,"line":12},[5983],{"type":993,"tag":1047,"props":5984,"children":5985},{"style":1053},[5986],{"type":998,"value":5987},"# Process until error pattern\n",{"type":993,"tag":1047,"props":5989,"children":5990},{"class":1049,"line":27},[5991,5995,6000],{"type":993,"tag":1047,"props":5992,"children":5993},{"style":1068},[5994],{"type":998,"value":3598},{"type":993,"tag":1047,"props":5996,"children":5997},{"style":3601},[5998],{"type":998,"value":5999}," process_until_error",{"type":993,"tag":1047,"props":6001,"children":6002},{"style":1062},[6003],{"type":998,"value":6004},"(data):\n",{"type":993,"tag":1047,"props":6006,"children":6007},{"class":1049,"line":36},[6008,6013,6017],{"type":993,"tag":1047,"props":6009,"children":6010},{"style":1062},[6011],{"type":998,"value":6012},"    results ",{"type":993,"tag":1047,"props":6014,"children":6015},{"style":1068},[6016],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6018,"children":6019},{"style":1062},[6020],{"type":998,"value":6021}," []\n",{"type":993,"tag":1047,"props":6023,"children":6024},{"class":1049,"line":45},[6025,6029,6033,6037],{"type":993,"tag":1047,"props":6026,"children":6027},{"style":1068},[6028],{"type":998,"value":3661},{"type":993,"tag":1047,"props":6030,"children":6031},{"style":1062},[6032],{"type":998,"value":2688},{"type":993,"tag":1047,"props":6034,"children":6035},{"style":1068},[6036],{"type":998,"value":1203},{"type":993,"tag":1047,"props":6038,"children":6039},{"style":1062},[6040],{"type":998,"value":2697},{"type":993,"tag":1047,"props":6042,"children":6043},{"class":1049,"line":54},[6044,6049],{"type":993,"tag":1047,"props":6045,"children":6046},{"style":1068},[6047],{"type":998,"value":6048},"        try",{"type":993,"tag":1047,"props":6050,"children":6051},{"style":1062},[6052],{"type":998,"value":1245},{"type":993,"tag":1047,"props":6054,"children":6055},{"class":1049,"line":63},[6056,6061,6065,6069,6074,6078],{"type":993,"tag":1047,"props":6057,"children":6058},{"style":1062},[6059],{"type":998,"value":6060},"            result ",{"type":993,"tag":1047,"props":6062,"children":6063},{"style":1068},[6064],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6066,"children":6067},{"style":1079},[6068],{"type":998,"value":2726},{"type":993,"tag":1047,"props":6070,"children":6071},{"style":1062},[6072],{"type":998,"value":6073},"(item) ",{"type":993,"tag":1047,"props":6075,"children":6076},{"style":1068},[6077],{"type":998,"value":2864},{"type":993,"tag":1047,"props":6079,"children":6080},{"style":1079},[6081],{"type":998,"value":2502},{"type":993,"tag":1047,"props":6083,"children":6084},{"class":1049,"line":72},[6085],{"type":993,"tag":1047,"props":6086,"children":6087},{"style":1062},[6088],{"type":998,"value":6089},"            results.append(result)\n",{"type":993,"tag":1047,"props":6091,"children":6092},{"class":1049,"line":81},[6093,6098,6102],{"type":993,"tag":1047,"props":6094,"children":6095},{"style":1068},[6096],{"type":998,"value":6097},"        except",{"type":993,"tag":1047,"props":6099,"children":6100},{"style":1079},[6101],{"type":998,"value":2744},{"type":993,"tag":1047,"props":6103,"children":6104},{"style":1062},[6105],{"type":998,"value":1245},{"type":993,"tag":1047,"props":6107,"children":6108},{"class":1049,"line":91},[6109,6113,6117,6121,6126,6130,6134,6138,6142],{"type":993,"tag":1047,"props":6110,"children":6111},{"style":1079},[6112],{"type":998,"value":3766},{"type":993,"tag":1047,"props":6114,"children":6115},{"style":1062},[6116],{"type":998,"value":1258},{"type":993,"tag":1047,"props":6118,"children":6119},{"style":1068},[6120],{"type":998,"value":1263},{"type":993,"tag":1047,"props":6122,"children":6123},{"style":1266},[6124],{"type":998,"value":6125},"\"Stopping at invalid item: ",{"type":993,"tag":1047,"props":6127,"children":6128},{"style":1079},[6129],{"type":998,"value":1274},{"type":993,"tag":1047,"props":6131,"children":6132},{"style":1062},[6133],{"type":998,"value":2777},{"type":993,"tag":1047,"props":6135,"children":6136},{"style":1079},[6137],{"type":998,"value":1284},{"type":993,"tag":1047,"props":6139,"children":6140},{"style":1266},[6141],{"type":998,"value":1289},{"type":993,"tag":1047,"props":6143,"children":6144},{"style":1062},[6145],{"type":998,"value":1294},{"type":993,"tag":1047,"props":6147,"children":6148},{"class":1049,"line":100},[6149],{"type":993,"tag":1047,"props":6150,"children":6151},{"style":1068},[6152],{"type":998,"value":4676},{"type":993,"tag":1047,"props":6154,"children":6155},{"class":1049,"line":109},[6156,6160],{"type":993,"tag":1047,"props":6157,"children":6158},{"style":1068},[6159],{"type":998,"value":5199},{"type":993,"tag":1047,"props":6161,"children":6162},{"style":1062},[6163],{"type":998,"value":6164}," results\n",{"type":993,"tag":1047,"props":6166,"children":6167},{"class":1049,"line":118},[6168],{"type":993,"tag":1047,"props":6169,"children":6170},{"emptyLinePlaceholder":13},[6171],{"type":998,"value":1177},{"type":993,"tag":1047,"props":6173,"children":6174},{"class":1049,"line":127},[6175,6180,6184,6188,6193,6197,6202,6206,6211,6215,6220],{"type":993,"tag":1047,"props":6176,"children":6177},{"style":1062},[6178],{"type":998,"value":6179},"test_data ",{"type":993,"tag":1047,"props":6181,"children":6182},{"style":1068},[6183],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6185,"children":6186},{"style":1062},[6187],{"type":998,"value":1076},{"type":993,"tag":1047,"props":6189,"children":6190},{"style":1266},[6191],{"type":998,"value":6192},"'1'",{"type":993,"tag":1047,"props":6194,"children":6195},{"style":1062},[6196],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6198,"children":6199},{"style":1266},[6200],{"type":998,"value":6201},"'2'",{"type":993,"tag":1047,"props":6203,"children":6204},{"style":1062},[6205],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6207,"children":6208},{"style":1266},[6209],{"type":998,"value":6210},"'abc'",{"type":993,"tag":1047,"props":6212,"children":6213},{"style":1062},[6214],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6216,"children":6217},{"style":1266},[6218],{"type":998,"value":6219},"'4'",{"type":993,"tag":1047,"props":6221,"children":6222},{"style":1062},[6223],{"type":998,"value":1169},{"type":993,"tag":1047,"props":6225,"children":6226},{"class":1049,"line":136},[6227,6231,6235],{"type":993,"tag":1047,"props":6228,"children":6229},{"style":1062},[6230],{"type":998,"value":5687},{"type":993,"tag":1047,"props":6232,"children":6233},{"style":1068},[6234],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6236,"children":6237},{"style":1062},[6238],{"type":998,"value":6239}," process_until_error(test_data)\n",{"type":993,"tag":1047,"props":6241,"children":6242},{"class":1049,"line":146},[6243,6247,6251,6255,6260,6264,6268,6272,6276],{"type":993,"tag":1047,"props":6244,"children":6245},{"style":1079},[6246],{"type":998,"value":1366},{"type":993,"tag":1047,"props":6248,"children":6249},{"style":1062},[6250],{"type":998,"value":1258},{"type":993,"tag":1047,"props":6252,"children":6253},{"style":1068},[6254],{"type":998,"value":1263},{"type":993,"tag":1047,"props":6256,"children":6257},{"style":1266},[6258],{"type":998,"value":6259},"\"Processed: ",{"type":993,"tag":1047,"props":6261,"children":6262},{"style":1079},[6263],{"type":998,"value":1274},{"type":993,"tag":1047,"props":6265,"children":6266},{"style":1062},[6267],{"type":998,"value":5725},{"type":993,"tag":1047,"props":6269,"children":6270},{"style":1079},[6271],{"type":998,"value":1284},{"type":993,"tag":1047,"props":6273,"children":6274},{"style":1266},[6275],{"type":998,"value":1289},{"type":993,"tag":1047,"props":6277,"children":6278},{"style":1062},[6279],{"type":998,"value":1294},{"type":993,"tag":1601,"props":6281,"children":6283},{"id":6282},"selective-item-processing",[6284],{"type":998,"value":6285},"Selective Item Processing",{"type":993,"tag":1000,"props":6287,"children":6288},{},[6289],{"type":998,"value":6290},"Filtering pattern for processing only valid items while skipping invalid ones:",{"type":993,"tag":1033,"props":6292,"children":6293},{},[6294],{"type":993,"tag":1037,"props":6295,"children":6297},{"className":1039,"code":6296,"language":6,"meta":8,"style":8},"# Skip and continue pattern\ndef process_valid_only(data):\n    results = []\n    for item in data:\n        if not isinstance(item, (int, float)):\n            continue\n        if item \u003C 0:\n            continue\n        results.append(item ** 2)\n    return results\n\ntest_data = [1, -2, 'abc', 3.5, 4]\nresult = process_valid_only(test_data)\nprint(f\"Valid squares: {result}\")\n",[6298],{"type":993,"tag":1043,"props":6299,"children":6300},{"__ignoreMap":8},[6301,6309,6325,6340,6359,6398,6406,6429,6436,6456,6467,6474,6535,6551],{"type":993,"tag":1047,"props":6302,"children":6303},{"class":1049,"line":12},[6304],{"type":993,"tag":1047,"props":6305,"children":6306},{"style":1053},[6307],{"type":998,"value":6308},"# Skip and continue pattern\n",{"type":993,"tag":1047,"props":6310,"children":6311},{"class":1049,"line":27},[6312,6316,6321],{"type":993,"tag":1047,"props":6313,"children":6314},{"style":1068},[6315],{"type":998,"value":3598},{"type":993,"tag":1047,"props":6317,"children":6318},{"style":3601},[6319],{"type":998,"value":6320}," process_valid_only",{"type":993,"tag":1047,"props":6322,"children":6323},{"style":1062},[6324],{"type":998,"value":6004},{"type":993,"tag":1047,"props":6326,"children":6327},{"class":1049,"line":36},[6328,6332,6336],{"type":993,"tag":1047,"props":6329,"children":6330},{"style":1062},[6331],{"type":998,"value":6012},{"type":993,"tag":1047,"props":6333,"children":6334},{"style":1068},[6335],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6337,"children":6338},{"style":1062},[6339],{"type":998,"value":6021},{"type":993,"tag":1047,"props":6341,"children":6342},{"class":1049,"line":45},[6343,6347,6351,6355],{"type":993,"tag":1047,"props":6344,"children":6345},{"style":1068},[6346],{"type":998,"value":3661},{"type":993,"tag":1047,"props":6348,"children":6349},{"style":1062},[6350],{"type":998,"value":2688},{"type":993,"tag":1047,"props":6352,"children":6353},{"style":1068},[6354],{"type":998,"value":1203},{"type":993,"tag":1047,"props":6356,"children":6357},{"style":1062},[6358],{"type":998,"value":2697},{"type":993,"tag":1047,"props":6360,"children":6361},{"class":1049,"line":54},[6362,6366,6370,6375,6380,6384,6388,6393],{"type":993,"tag":1047,"props":6363,"children":6364},{"style":1068},[6365],{"type":998,"value":3734},{"type":993,"tag":1047,"props":6367,"children":6368},{"style":1068},[6369],{"type":998,"value":4165},{"type":993,"tag":1047,"props":6371,"children":6372},{"style":1079},[6373],{"type":998,"value":6374}," isinstance",{"type":993,"tag":1047,"props":6376,"children":6377},{"style":1062},[6378],{"type":998,"value":6379},"(item, (",{"type":993,"tag":1047,"props":6381,"children":6382},{"style":1079},[6383],{"type":998,"value":3692},{"type":993,"tag":1047,"props":6385,"children":6386},{"style":1062},[6387],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6389,"children":6390},{"style":1079},[6391],{"type":998,"value":6392},"float",{"type":993,"tag":1047,"props":6394,"children":6395},{"style":1062},[6396],{"type":998,"value":6397},")):\n",{"type":993,"tag":1047,"props":6399,"children":6400},{"class":1049,"line":63},[6401],{"type":993,"tag":1047,"props":6402,"children":6403},{"style":1068},[6404],{"type":998,"value":6405},"            continue\n",{"type":993,"tag":1047,"props":6407,"children":6408},{"class":1049,"line":72},[6409,6413,6417,6421,6425],{"type":993,"tag":1047,"props":6410,"children":6411},{"style":1068},[6412],{"type":998,"value":3734},{"type":993,"tag":1047,"props":6414,"children":6415},{"style":1062},[6416],{"type":998,"value":2688},{"type":993,"tag":1047,"props":6418,"children":6419},{"style":1068},[6420],{"type":998,"value":2015},{"type":993,"tag":1047,"props":6422,"children":6423},{"style":1079},[6424],{"type":998,"value":1240},{"type":993,"tag":1047,"props":6426,"children":6427},{"style":1062},[6428],{"type":998,"value":1245},{"type":993,"tag":1047,"props":6430,"children":6431},{"class":1049,"line":81},[6432],{"type":993,"tag":1047,"props":6433,"children":6434},{"style":1068},[6435],{"type":998,"value":6405},{"type":993,"tag":1047,"props":6437,"children":6438},{"class":1049,"line":91},[6439,6444,6448,6452],{"type":993,"tag":1047,"props":6440,"children":6441},{"style":1062},[6442],{"type":998,"value":6443},"        results.append(item ",{"type":993,"tag":1047,"props":6445,"children":6446},{"style":1068},[6447],{"type":998,"value":2497},{"type":993,"tag":1047,"props":6449,"children":6450},{"style":1079},[6451],{"type":998,"value":1230},{"type":993,"tag":1047,"props":6453,"children":6454},{"style":1062},[6455],{"type":998,"value":1294},{"type":993,"tag":1047,"props":6457,"children":6458},{"class":1049,"line":100},[6459,6463],{"type":993,"tag":1047,"props":6460,"children":6461},{"style":1068},[6462],{"type":998,"value":5199},{"type":993,"tag":1047,"props":6464,"children":6465},{"style":1062},[6466],{"type":998,"value":6164},{"type":993,"tag":1047,"props":6468,"children":6469},{"class":1049,"line":109},[6470],{"type":993,"tag":1047,"props":6471,"children":6472},{"emptyLinePlaceholder":13},[6473],{"type":998,"value":1177},{"type":993,"tag":1047,"props":6475,"children":6476},{"class":1049,"line":118},[6477,6481,6485,6489,6493,6497,6502,6506,6510,6514,6518,6523,6527,6531],{"type":993,"tag":1047,"props":6478,"children":6479},{"style":1062},[6480],{"type":998,"value":6179},{"type":993,"tag":1047,"props":6482,"children":6483},{"style":1068},[6484],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6486,"children":6487},{"style":1062},[6488],{"type":998,"value":1076},{"type":993,"tag":1047,"props":6490,"children":6491},{"style":1079},[6492],{"type":998,"value":1082},{"type":993,"tag":1047,"props":6494,"children":6495},{"style":1062},[6496],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6498,"children":6499},{"style":1068},[6500],{"type":998,"value":6501},"-",{"type":993,"tag":1047,"props":6503,"children":6504},{"style":1079},[6505],{"type":998,"value":1092},{"type":993,"tag":1047,"props":6507,"children":6508},{"style":1062},[6509],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6511,"children":6512},{"style":1266},[6513],{"type":998,"value":6210},{"type":993,"tag":1047,"props":6515,"children":6516},{"style":1062},[6517],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6519,"children":6520},{"style":1079},[6521],{"type":998,"value":6522},"3.5",{"type":993,"tag":1047,"props":6524,"children":6525},{"style":1062},[6526],{"type":998,"value":1087},{"type":993,"tag":1047,"props":6528,"children":6529},{"style":1079},[6530],{"type":998,"value":1110},{"type":993,"tag":1047,"props":6532,"children":6533},{"style":1062},[6534],{"type":998,"value":1169},{"type":993,"tag":1047,"props":6536,"children":6537},{"class":1049,"line":127},[6538,6542,6546],{"type":993,"tag":1047,"props":6539,"children":6540},{"style":1062},[6541],{"type":998,"value":5687},{"type":993,"tag":1047,"props":6543,"children":6544},{"style":1068},[6545],{"type":998,"value":1071},{"type":993,"tag":1047,"props":6547,"children":6548},{"style":1062},[6549],{"type":998,"value":6550}," process_valid_only(test_data)\n",{"type":993,"tag":1047,"props":6552,"children":6553},{"class":1049,"line":136},[6554,6558,6562,6566,6571,6575,6579,6583,6587],{"type":993,"tag":1047,"props":6555,"children":6556},{"style":1079},[6557],{"type":998,"value":1366},{"type":993,"tag":1047,"props":6559,"children":6560},{"style":1062},[6561],{"type":998,"value":1258},{"type":993,"tag":1047,"props":6563,"children":6564},{"style":1068},[6565],{"type":998,"value":1263},{"type":993,"tag":1047,"props":6567,"children":6568},{"style":1266},[6569],{"type":998,"value":6570},"\"Valid squares: ",{"type":993,"tag":1047,"props":6572,"children":6573},{"style":1079},[6574],{"type":998,"value":1274},{"type":993,"tag":1047,"props":6576,"children":6577},{"style":1062},[6578],{"type":998,"value":5725},{"type":993,"tag":1047,"props":6580,"children":6581},{"style":1079},[6582],{"type":998,"value":1284},{"type":993,"tag":1047,"props":6584,"children":6585},{"style":1266},[6586],{"type":998,"value":1289},{"type":993,"tag":1047,"props":6588,"children":6589},{"style":1062},[6590],{"type":998,"value":1294},{"type":993,"tag":1493,"props":6592,"children":6594},{"id":6593},"loop-control-reference",[6595],{"type":998,"value":6596},"Loop Control Reference",{"type":993,"tag":1000,"props":6598,"children":6599},{},[6600],{"type":998,"value":6601},"Python's loop control statements provide various mechanisms for different control scenarios:",{"type":993,"tag":6603,"props":6604,"children":6605},"table",{},[6606,6635],{"type":993,"tag":6607,"props":6608,"children":6609},"thead",{},[6610],{"type":993,"tag":6611,"props":6612,"children":6613},"tr",{},[6614,6620,6625,6630],{"type":993,"tag":6615,"props":6616,"children":6617},"th",{},[6618],{"type":998,"value":6619},"Statement",{"type":993,"tag":6615,"props":6621,"children":6622},{},[6623],{"type":998,"value":6624},"Purpose",{"type":993,"tag":6615,"props":6626,"children":6627},{},[6628],{"type":998,"value":6629},"Scope",{"type":993,"tag":6615,"props":6631,"children":6632},{},[6633],{"type":998,"value":6634},"Example Use Case",{"type":993,"tag":6636,"props":6637,"children":6638},"tbody",{},[6639,6666,6691,6717,6744],{"type":993,"tag":6611,"props":6640,"children":6641},{},[6642,6651,6656,6661],{"type":993,"tag":6643,"props":6644,"children":6645},"td",{},[6646],{"type":993,"tag":1043,"props":6647,"children":6649},{"className":6648},[],[6650],{"type":998,"value":1010},{"type":993,"tag":6643,"props":6652,"children":6653},{},[6654],{"type":998,"value":6655},"Exit loop immediately",{"type":993,"tag":6643,"props":6657,"children":6658},{},[6659],{"type":998,"value":6660},"Current loop only",{"type":993,"tag":6643,"props":6662,"children":6663},{},[6664],{"type":998,"value":6665},"Search operations, early termination",{"type":993,"tag":6611,"props":6667,"children":6668},{},[6669,6677,6682,6686],{"type":993,"tag":6643,"props":6670,"children":6671},{},[6672],{"type":993,"tag":1043,"props":6673,"children":6675},{"className":6674},[],[6676],{"type":998,"value":1017},{"type":993,"tag":6643,"props":6678,"children":6679},{},[6680],{"type":998,"value":6681},"Skip to next iteration",{"type":993,"tag":6643,"props":6683,"children":6684},{},[6685],{"type":998,"value":6660},{"type":993,"tag":6643,"props":6687,"children":6688},{},[6689],{"type":998,"value":6690},"Data filtering, error handling",{"type":993,"tag":6611,"props":6692,"children":6693},{},[6694,6702,6707,6712],{"type":993,"tag":6643,"props":6695,"children":6696},{},[6697],{"type":993,"tag":1043,"props":6698,"children":6700},{"className":6699},[],[6701],{"type":998,"value":1024},{"type":993,"tag":6643,"props":6703,"children":6704},{},[6705],{"type":998,"value":6706},"Execute if loop completes",{"type":993,"tag":6643,"props":6708,"children":6709},{},[6710],{"type":998,"value":6711},"Associated loop",{"type":993,"tag":6643,"props":6713,"children":6714},{},[6715],{"type":998,"value":6716},"\"Not found\" cases, validation",{"type":993,"tag":6611,"props":6718,"children":6719},{},[6720,6729,6734,6739],{"type":993,"tag":6643,"props":6721,"children":6722},{},[6723],{"type":993,"tag":1043,"props":6724,"children":6726},{"className":6725},[],[6727],{"type":998,"value":6728},"return",{"type":993,"tag":6643,"props":6730,"children":6731},{},[6732],{"type":998,"value":6733},"Exit function and loop",{"type":993,"tag":6643,"props":6735,"children":6736},{},[6737],{"type":998,"value":6738},"All loops in function",{"type":993,"tag":6643,"props":6740,"children":6741},{},[6742],{"type":998,"value":6743},"Clean exit from nested loops",{"type":993,"tag":6611,"props":6745,"children":6746},{},[6747,6752,6757,6762],{"type":993,"tag":6643,"props":6748,"children":6749},{},[6750],{"type":998,"value":6751},"Flag variables",{"type":993,"tag":6643,"props":6753,"children":6754},{},[6755],{"type":998,"value":6756},"Control outer loops",{"type":993,"tag":6643,"props":6758,"children":6759},{},[6760],{"type":998,"value":6761},"User-defined",{"type":993,"tag":6643,"props":6763,"children":6764},{},[6765],{"type":998,"value":6766},"Complex nested loop control",{"type":993,"tag":1000,"props":6768,"children":6769},{},[6770],{"type":998,"value":6771},"Choose the appropriate control mechanism based on your specific loop control needs.",{"type":993,"tag":1493,"props":6773,"children":6775},{"id":6774},"performance-considerations",[6776],{"type":998,"value":6777},"Performance Considerations",{"type":993,"tag":1000,"props":6779,"children":6780},{},[6781],{"type":998,"value":6782},"Loop control statements can significantly impact performance, especially in nested loops and large datasets. Understanding their performance characteristics helps you write efficient code.",{"type":993,"tag":1505,"props":6784,"children":6787},{"emoji":6785,"title":6786,"type":3479},"⚡","Performance Optimization",[6788,6796,6819,6827,6850,6860],{"type":993,"tag":1000,"props":6789,"children":6790},{},[6791],{"type":993,"tag":1006,"props":6792,"children":6793},{},[6794],{"type":998,"value":6795},"Efficiency Factors:",{"type":993,"tag":1520,"props":6797,"children":6798},{},[6799,6804,6809,6814],{"type":993,"tag":1524,"props":6800,"children":6801},{},[6802],{"type":998,"value":6803},"Early termination saves computational resources",{"type":993,"tag":1524,"props":6805,"children":6806},{},[6807],{"type":998,"value":6808},"Continue statements reduce unnecessary processing",{"type":993,"tag":1524,"props":6810,"children":6811},{},[6812],{"type":998,"value":6813},"Proper control placement minimizes condition checking",{"type":993,"tag":1524,"props":6815,"children":6816},{},[6817],{"type":998,"value":6818},"Algorithm choice affects overall performance",{"type":993,"tag":1000,"props":6820,"children":6821},{},[6822],{"type":993,"tag":1006,"props":6823,"children":6824},{},[6825],{"type":998,"value":6826},"Optimization Strategies:",{"type":993,"tag":1520,"props":6828,"children":6829},{},[6830,6835,6840,6845],{"type":993,"tag":1524,"props":6831,"children":6832},{},[6833],{"type":998,"value":6834},"Place most likely conditions first",{"type":993,"tag":1524,"props":6836,"children":6837},{},[6838],{"type":998,"value":6839},"Use break for early exit in search operations",{"type":993,"tag":1524,"props":6841,"children":6842},{},[6843],{"type":998,"value":6844},"Minimize work inside loop conditions",{"type":993,"tag":1524,"props":6846,"children":6847},{},[6848],{"type":998,"value":6849},"Consider algorithmic alternatives for complex logic",{"type":993,"tag":1000,"props":6851,"children":6852},{},[6853,6858],{"type":993,"tag":1006,"props":6854,"children":6855},{},[6856],{"type":998,"value":6857},"Measurement:",{"type":998,"value":6859}," Profile code to identify actual bottlenecks",{"type":993,"tag":1000,"props":6861,"children":6862},{},[6863,6868],{"type":993,"tag":1006,"props":6864,"children":6865},{},[6866],{"type":998,"value":6867},"Balance:",{"type":998,"value":6869}," Optimize for readability first, performance second",{"type":993,"tag":1000,"props":6871,"children":6872},{},[6873],{"type":998,"value":6874},"Consider the computational cost of your control conditions and the frequency of break/continue operations when optimizing loops.",{"type":993,"tag":1601,"props":6876,"children":6878},{"id":6877},"efficient-early-termination",[6879],{"type":998,"value":6880},"Efficient Early Termination",{"type":993,"tag":1000,"props":6882,"children":6883},{},[6884],{"type":998,"value":6885},"Performance comparison between early exit and complete iteration:",{"type":993,"tag":1033,"props":6887,"children":6888},{},[6889],{"type":993,"tag":1037,"props":6890,"children":6892},{"className":1039,"code":6891,"language":6,"meta":8,"style":8},"# Efficient approach with early termination\ndef find_efficiently(data, target):\n    for i, item in enumerate(data):\n        if item == target:\n            return i  # Early return saves time\n    return -1\n\n# Demonstration\nlarge_data = list(range(1000))\ntarget = 50\n\nindex = find_efficiently(large_data, target)\nprint(f\"Found {target} at index {index}\")\nprint(\"Early termination saves checking remaining 950 items!\")\n",[6893],{"type":993,"tag":1043,"props":6894,"children":6895},{"__ignoreMap":8},[6896,6904,6921,6945,6964,6981,6998,7005,7013,7053,7069,7076,7093,7151],{"type":993,"tag":1047,"props":6897,"children":6898},{"class":1049,"line":12},[6899],{"type":993,"tag":1047,"props":6900,"children":6901},{"style":1053},[6902],{"type":998,"value":6903},"# Efficient approach with early termination\n",{"type":993,"tag":1047,"props":6905,"children":6906},{"class":1049,"line":27},[6907,6911,6916],{"type":993,"tag":1047,"props":6908,"children":6909},{"style":1068},[6910],{"type":998,"value":3598},{"type":993,"tag":1047,"props":6912,"children":6913},{"style":3601},[6914],{"type":998,"value":6915}," find_efficiently",{"type":993,"tag":1047,"props":6917,"children":6918},{"style":1062},[6919],{"type":998,"value":6920},"(data, target):\n",{"type":993,"tag":1047,"props":6922,"children":6923},{"class":1049,"line":36},[6924,6928,6933,6937,6941],{"type":993,"tag":1047,"props":6925,"children":6926},{"style":1068},[6927],{"type":998,"value":3661},{"type":993,"tag":1047,"props":6929,"children":6930},{"style":1062},[6931],{"type":998,"value":6932}," i, item ",{"type":993,"tag":1047,"props":6934,"children":6935},{"style":1068},[6936],{"type":998,"value":1203},{"type":993,"tag":1047,"props":6938,"children":6939},{"style":1079},[6940],{"type":998,"value":5126},{"type":993,"tag":1047,"props":6942,"children":6943},{"style":1062},[6944],{"type":998,"value":6004},{"type":993,"tag":1047,"props":6946,"children":6947},{"class":1049,"line":45},[6948,6952,6956,6960],{"type":993,"tag":1047,"props":6949,"children":6950},{"style":1068},[6951],{"type":998,"value":3734},{"type":993,"tag":1047,"props":6953,"children":6954},{"style":1062},[6955],{"type":998,"value":2688},{"type":993,"tag":1047,"props":6957,"children":6958},{"style":1068},[6959],{"type":998,"value":1782},{"type":993,"tag":1047,"props":6961,"children":6962},{"style":1062},[6963],{"type":998,"value":1787},{"type":993,"tag":1047,"props":6965,"children":6966},{"class":1049,"line":54},[6967,6971,6976],{"type":993,"tag":1047,"props":6968,"children":6969},{"style":1068},[6970],{"type":998,"value":3825},{"type":993,"tag":1047,"props":6972,"children":6973},{"style":1062},[6974],{"type":998,"value":6975}," i  ",{"type":993,"tag":1047,"props":6977,"children":6978},{"style":1053},[6979],{"type":998,"value":6980},"# Early return saves time\n",{"type":993,"tag":1047,"props":6982,"children":6983},{"class":1049,"line":63},[6984,6988,6993],{"type":993,"tag":1047,"props":6985,"children":6986},{"style":1068},[6987],{"type":998,"value":5199},{"type":993,"tag":1047,"props":6989,"children":6990},{"style":1068},[6991],{"type":998,"value":6992}," -",{"type":993,"tag":1047,"props":6994,"children":6995},{"style":1079},[6996],{"type":998,"value":6997},"1\n",{"type":993,"tag":1047,"props":6999,"children":7000},{"class":1049,"line":72},[7001],{"type":993,"tag":1047,"props":7002,"children":7003},{"emptyLinePlaceholder":13},[7004],{"type":998,"value":1177},{"type":993,"tag":1047,"props":7006,"children":7007},{"class":1049,"line":81},[7008],{"type":993,"tag":1047,"props":7009,"children":7010},{"style":1053},[7011],{"type":998,"value":7012},"# Demonstration\n",{"type":993,"tag":1047,"props":7014,"children":7015},{"class":1049,"line":91},[7016,7021,7025,7030,7034,7039,7043,7048],{"type":993,"tag":1047,"props":7017,"children":7018},{"style":1062},[7019],{"type":998,"value":7020},"large_data ",{"type":993,"tag":1047,"props":7022,"children":7023},{"style":1068},[7024],{"type":998,"value":1071},{"type":993,"tag":1047,"props":7026,"children":7027},{"style":1079},[7028],{"type":998,"value":7029}," list",{"type":993,"tag":1047,"props":7031,"children":7032},{"style":1062},[7033],{"type":998,"value":1258},{"type":993,"tag":1047,"props":7035,"children":7036},{"style":1079},[7037],{"type":998,"value":7038},"range",{"type":993,"tag":1047,"props":7040,"children":7041},{"style":1062},[7042],{"type":998,"value":1258},{"type":993,"tag":1047,"props":7044,"children":7045},{"style":1079},[7046],{"type":998,"value":7047},"1000",{"type":993,"tag":1047,"props":7049,"children":7050},{"style":1062},[7051],{"type":998,"value":7052},"))\n",{"type":993,"tag":1047,"props":7054,"children":7055},{"class":1049,"line":100},[7056,7060,7064],{"type":993,"tag":1047,"props":7057,"children":7058},{"style":1062},[7059],{"type":998,"value":1637},{"type":993,"tag":1047,"props":7061,"children":7062},{"style":1068},[7063],{"type":998,"value":1071},{"type":993,"tag":1047,"props":7065,"children":7066},{"style":1079},[7067],{"type":998,"value":7068}," 50\n",{"type":993,"tag":1047,"props":7070,"children":7071},{"class":1049,"line":109},[7072],{"type":993,"tag":1047,"props":7073,"children":7074},{"emptyLinePlaceholder":13},[7075],{"type":998,"value":1177},{"type":993,"tag":1047,"props":7077,"children":7078},{"class":1049,"line":118},[7079,7084,7088],{"type":993,"tag":1047,"props":7080,"children":7081},{"style":1062},[7082],{"type":998,"value":7083},"index ",{"type":993,"tag":1047,"props":7085,"children":7086},{"style":1068},[7087],{"type":998,"value":1071},{"type":993,"tag":1047,"props":7089,"children":7090},{"style":1062},[7091],{"type":998,"value":7092}," find_efficiently(large_data, target)\n",{"type":993,"tag":1047,"props":7094,"children":7095},{"class":1049,"line":127},[7096,7100,7104,7108,7113,7117,7121,7125,7130,7134,7139,7143,7147],{"type":993,"tag":1047,"props":7097,"children":7098},{"style":1079},[7099],{"type":998,"value":1366},{"type":993,"tag":1047,"props":7101,"children":7102},{"style":1062},[7103],{"type":998,"value":1258},{"type":993,"tag":1047,"props":7105,"children":7106},{"style":1068},[7107],{"type":998,"value":1263},{"type":993,"tag":1047,"props":7109,"children":7110},{"style":1266},[7111],{"type":998,"value":7112},"\"Found ",{"type":993,"tag":1047,"props":7114,"children":7115},{"style":1079},[7116],{"type":998,"value":1274},{"type":993,"tag":1047,"props":7118,"children":7119},{"style":1062},[7120],{"type":998,"value":1816},{"type":993,"tag":1047,"props":7122,"children":7123},{"style":1079},[7124],{"type":998,"value":1284},{"type":993,"tag":1047,"props":7126,"children":7127},{"style":1266},[7128],{"type":998,"value":7129}," at index ",{"type":993,"tag":1047,"props":7131,"children":7132},{"style":1079},[7133],{"type":998,"value":1274},{"type":993,"tag":1047,"props":7135,"children":7136},{"style":1062},[7137],{"type":998,"value":7138},"index",{"type":993,"tag":1047,"props":7140,"children":7141},{"style":1079},[7142],{"type":998,"value":1284},{"type":993,"tag":1047,"props":7144,"children":7145},{"style":1266},[7146],{"type":998,"value":1289},{"type":993,"tag":1047,"props":7148,"children":7149},{"style":1062},[7150],{"type":998,"value":1294},{"type":993,"tag":1047,"props":7152,"children":7153},{"class":1049,"line":136},[7154,7158,7162,7167],{"type":993,"tag":1047,"props":7155,"children":7156},{"style":1079},[7157],{"type":998,"value":1366},{"type":993,"tag":1047,"props":7159,"children":7160},{"style":1062},[7161],{"type":998,"value":1258},{"type":993,"tag":1047,"props":7163,"children":7164},{"style":1266},[7165],{"type":998,"value":7166},"\"Early termination saves checking remaining 950 items!\"",{"type":993,"tag":1047,"props":7168,"children":7169},{"style":1062},[7170],{"type":998,"value":1294},{"type":993,"tag":1493,"props":7172,"children":7174},{"id":7173},"take-quiz",[7175],{"type":998,"value":7176},"Take Quiz",{"type":993,"tag":1000,"props":7178,"children":7179},{},[7180],{"type":998,"value":7181},"Test your understanding of loop control:",{"type":993,"tag":7183,"props":7184,"children":7186},"redirect-button",{"label":7176,"url":7185},"/tutorial-quiz/python/loop-control",[],{"type":993,"tag":1493,"props":7188,"children":7190},{"id":7189},"whats-next",[7191],{"type":998,"value":7192},"What's Next?",{"type":993,"tag":1000,"props":7194,"children":7195},{},[7196,7198,7203],{"type":998,"value":7197},"Now that you understand loop control, you're ready to learn about ",{"type":993,"tag":1006,"props":7199,"children":7200},{},[7201],{"type":998,"value":7202},"nested loops",{"type":998,"value":7204},". This includes working with multi-dimensional data structures, creating complex patterns, and managing sophisticated iteration scenarios that require multiple levels of loops.",{"type":993,"tag":1000,"props":7206,"children":7207},{},[7208,7210,7215],{"type":998,"value":7209},"Ready to continue? Check out our lesson on ",{"type":993,"tag":7211,"props":7212,"children":7213},"a",{"href":261},[7214],{"type":998,"value":262},{"type":998,"value":7216}," to master multi-dimensional data processing! 🔄",{"type":993,"tag":7218,"props":7219,"children":7220},"style",{},[7221],{"type":998,"value":7222},"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":7224},[7225,7229,7233,7236,7240,7245,7251,7252,7255,7256],{"id":1495,"depth":27,"text":1498,"children":7226},[7227,7228],{"id":1603,"depth":36,"text":1606},{"id":1891,"depth":36,"text":1894},{"id":2167,"depth":27,"text":2170,"children":7230},[7231,7232],{"id":2271,"depth":36,"text":2274},{"id":2562,"depth":36,"text":2565},{"id":2885,"depth":27,"text":2888,"children":7234},[7235],{"id":3070,"depth":36,"text":3073},{"id":3466,"depth":27,"text":3469,"children":7237},[7238,7239],{"id":3564,"depth":36,"text":3567},{"id":3943,"depth":36,"text":3946},{"id":4352,"depth":27,"text":4355,"children":7241},[7242,7243,7244],{"id":4455,"depth":36,"text":4458},{"id":4760,"depth":36,"text":4763},{"id":5062,"depth":36,"text":5065},{"id":5371,"depth":27,"text":5374,"children":7246},[7247,7248,7249,7250],{"id":5493,"depth":36,"text":5496},{"id":5740,"depth":36,"text":5743},{"id":5961,"depth":36,"text":5964},{"id":6282,"depth":36,"text":6285},{"id":6593,"depth":27,"text":6596},{"id":6774,"depth":27,"text":6777,"children":7253},[7254],{"id":6877,"depth":36,"text":6880},{"id":7173,"depth":27,"text":7176},{"id":7189,"depth":27,"text":7192},1782373735671]