[{"data":1,"prerenderedAt":5794},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/value-assignment":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},"/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},"/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},"/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",[168],{"_path":169,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":170,"description":171,"slug":172,"parentId":132,"order":173,"body":989,"_type":15,"_id":174,"_source":17,"_file":175,"_stem":176,"_extension":20},{"type":990,"children":991,"toc":5780},"root",[992,1000,1018,1033,1363,1370,1382,1497,2084,2090,2095,2237,2595,2601,2606,2748,3154,3160,3165,3299,3735,3741,3746,4391,4396,4402,4407,4746,4753,5167,5173,5525,5531,5693,5736,5742,5749,5755,5760,5774],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":172},[997],{"type":998,"value":999},"text","📝 Value Assignment",{"type":993,"tag":1001,"props":1002,"children":1003},"p",{},[1004,1006,1016],{"type":998,"value":1005},"Assignment operators provide efficient ways to update ",{"type":993,"tag":1007,"props":1008,"children":1009},"strong",{},[1010],{"type":993,"tag":1011,"props":1012,"children":1013},"a",{"href":68},[1014],{"type":998,"value":1015},"variables",{"type":998,"value":1017}," by combining assignment with mathematical or logical operations. These operators make your code more concise and readable while performing common operations like incrementing counters, accumulating totals, or updating values.",{"type":993,"tag":1001,"props":1019,"children":1020},{},[1021,1023,1031],{"type":998,"value":1022},"Python offers various assignment operators that combine basic assignment with ",{"type":993,"tag":1007,"props":1024,"children":1025},{},[1026],{"type":993,"tag":1011,"props":1027,"children":1028},{"href":142},[1029],{"type":998,"value":1030},"arithmetic",{"type":998,"value":1032},", and other operations. Understanding these operators helps you write more efficient and maintainable code.",{"type":993,"tag":1034,"props":1035,"children":1036},"code-try",{},[1037],{"type":993,"tag":1038,"props":1039,"children":1042},"pre",{"className":1040,"code":1041,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Basic assignment vs compound assignment\nscore = 100\n\n# Traditional way\nscore = score + 10\nprint(f\"Score after traditional addition: {score}\")   # 110\n\n# Using compound assignment\nscore += 15  # Same as score = score + 15\nprint(f\"Score after compound addition: {score}\")      # 125\n\n# Multiple compound assignments\nscore -= 5   # Subtract 5\nscore *= 2   # Multiply by 2\nprint(f\"Final score: {score}\")                        # 240\n",[1043],{"type":993,"tag":1044,"props":1045,"children":1046},"code",{"__ignoreMap":8},[1047,1058,1079,1087,1095,1121,1175,1182,1190,1212,1258,1265,1273,1295,1317],{"type":993,"tag":1048,"props":1049,"children":1051},"span",{"class":1050,"line":12},"line",[1052],{"type":993,"tag":1048,"props":1053,"children":1055},{"style":1054},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1056],{"type":998,"value":1057},"# Basic assignment vs compound assignment\n",{"type":993,"tag":1048,"props":1059,"children":1060},{"class":1050,"line":27},[1061,1067,1073],{"type":993,"tag":1048,"props":1062,"children":1064},{"style":1063},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1065],{"type":998,"value":1066},"score ",{"type":993,"tag":1048,"props":1068,"children":1070},{"style":1069},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1071],{"type":998,"value":1072},"=",{"type":993,"tag":1048,"props":1074,"children":1076},{"style":1075},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1077],{"type":998,"value":1078}," 100\n",{"type":993,"tag":1048,"props":1080,"children":1081},{"class":1050,"line":36},[1082],{"type":993,"tag":1048,"props":1083,"children":1084},{"emptyLinePlaceholder":13},[1085],{"type":998,"value":1086},"\n",{"type":993,"tag":1048,"props":1088,"children":1089},{"class":1050,"line":45},[1090],{"type":993,"tag":1048,"props":1091,"children":1092},{"style":1054},[1093],{"type":998,"value":1094},"# Traditional way\n",{"type":993,"tag":1048,"props":1096,"children":1097},{"class":1050,"line":54},[1098,1102,1106,1111,1116],{"type":993,"tag":1048,"props":1099,"children":1100},{"style":1063},[1101],{"type":998,"value":1066},{"type":993,"tag":1048,"props":1103,"children":1104},{"style":1069},[1105],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1107,"children":1108},{"style":1063},[1109],{"type":998,"value":1110}," score ",{"type":993,"tag":1048,"props":1112,"children":1113},{"style":1069},[1114],{"type":998,"value":1115},"+",{"type":993,"tag":1048,"props":1117,"children":1118},{"style":1075},[1119],{"type":998,"value":1120}," 10\n",{"type":993,"tag":1048,"props":1122,"children":1123},{"class":1050,"line":63},[1124,1129,1134,1139,1145,1150,1155,1160,1165,1170],{"type":993,"tag":1048,"props":1125,"children":1126},{"style":1075},[1127],{"type":998,"value":1128},"print",{"type":993,"tag":1048,"props":1130,"children":1131},{"style":1063},[1132],{"type":998,"value":1133},"(",{"type":993,"tag":1048,"props":1135,"children":1136},{"style":1069},[1137],{"type":998,"value":1138},"f",{"type":993,"tag":1048,"props":1140,"children":1142},{"style":1141},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1143],{"type":998,"value":1144},"\"Score after traditional addition: ",{"type":993,"tag":1048,"props":1146,"children":1147},{"style":1075},[1148],{"type":998,"value":1149},"{",{"type":993,"tag":1048,"props":1151,"children":1152},{"style":1063},[1153],{"type":998,"value":1154},"score",{"type":993,"tag":1048,"props":1156,"children":1157},{"style":1075},[1158],{"type":998,"value":1159},"}",{"type":993,"tag":1048,"props":1161,"children":1162},{"style":1141},[1163],{"type":998,"value":1164},"\"",{"type":993,"tag":1048,"props":1166,"children":1167},{"style":1063},[1168],{"type":998,"value":1169},")   ",{"type":993,"tag":1048,"props":1171,"children":1172},{"style":1054},[1173],{"type":998,"value":1174},"# 110\n",{"type":993,"tag":1048,"props":1176,"children":1177},{"class":1050,"line":72},[1178],{"type":993,"tag":1048,"props":1179,"children":1180},{"emptyLinePlaceholder":13},[1181],{"type":998,"value":1086},{"type":993,"tag":1048,"props":1183,"children":1184},{"class":1050,"line":81},[1185],{"type":993,"tag":1048,"props":1186,"children":1187},{"style":1054},[1188],{"type":998,"value":1189},"# Using compound assignment\n",{"type":993,"tag":1048,"props":1191,"children":1192},{"class":1050,"line":91},[1193,1197,1202,1207],{"type":993,"tag":1048,"props":1194,"children":1195},{"style":1063},[1196],{"type":998,"value":1066},{"type":993,"tag":1048,"props":1198,"children":1199},{"style":1069},[1200],{"type":998,"value":1201},"+=",{"type":993,"tag":1048,"props":1203,"children":1204},{"style":1075},[1205],{"type":998,"value":1206}," 15",{"type":993,"tag":1048,"props":1208,"children":1209},{"style":1054},[1210],{"type":998,"value":1211},"  # Same as score = score + 15\n",{"type":993,"tag":1048,"props":1213,"children":1214},{"class":1050,"line":100},[1215,1219,1223,1227,1232,1236,1240,1244,1248,1253],{"type":993,"tag":1048,"props":1216,"children":1217},{"style":1075},[1218],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1220,"children":1221},{"style":1063},[1222],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1224,"children":1225},{"style":1069},[1226],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1228,"children":1229},{"style":1141},[1230],{"type":998,"value":1231},"\"Score after compound addition: ",{"type":993,"tag":1048,"props":1233,"children":1234},{"style":1075},[1235],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1237,"children":1238},{"style":1063},[1239],{"type":998,"value":1154},{"type":993,"tag":1048,"props":1241,"children":1242},{"style":1075},[1243],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1245,"children":1246},{"style":1141},[1247],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1249,"children":1250},{"style":1063},[1251],{"type":998,"value":1252},")      ",{"type":993,"tag":1048,"props":1254,"children":1255},{"style":1054},[1256],{"type":998,"value":1257},"# 125\n",{"type":993,"tag":1048,"props":1259,"children":1260},{"class":1050,"line":109},[1261],{"type":993,"tag":1048,"props":1262,"children":1263},{"emptyLinePlaceholder":13},[1264],{"type":998,"value":1086},{"type":993,"tag":1048,"props":1266,"children":1267},{"class":1050,"line":118},[1268],{"type":993,"tag":1048,"props":1269,"children":1270},{"style":1054},[1271],{"type":998,"value":1272},"# Multiple compound assignments\n",{"type":993,"tag":1048,"props":1274,"children":1275},{"class":1050,"line":127},[1276,1280,1285,1290],{"type":993,"tag":1048,"props":1277,"children":1278},{"style":1063},[1279],{"type":998,"value":1066},{"type":993,"tag":1048,"props":1281,"children":1282},{"style":1069},[1283],{"type":998,"value":1284},"-=",{"type":993,"tag":1048,"props":1286,"children":1287},{"style":1075},[1288],{"type":998,"value":1289}," 5",{"type":993,"tag":1048,"props":1291,"children":1292},{"style":1054},[1293],{"type":998,"value":1294},"   # Subtract 5\n",{"type":993,"tag":1048,"props":1296,"children":1297},{"class":1050,"line":136},[1298,1302,1307,1312],{"type":993,"tag":1048,"props":1299,"children":1300},{"style":1063},[1301],{"type":998,"value":1066},{"type":993,"tag":1048,"props":1303,"children":1304},{"style":1069},[1305],{"type":998,"value":1306},"*=",{"type":993,"tag":1048,"props":1308,"children":1309},{"style":1075},[1310],{"type":998,"value":1311}," 2",{"type":993,"tag":1048,"props":1313,"children":1314},{"style":1054},[1315],{"type":998,"value":1316},"   # Multiply by 2\n",{"type":993,"tag":1048,"props":1318,"children":1319},{"class":1050,"line":146},[1320,1324,1328,1332,1337,1341,1345,1349,1353,1358],{"type":993,"tag":1048,"props":1321,"children":1322},{"style":1075},[1323],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1325,"children":1326},{"style":1063},[1327],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1329,"children":1330},{"style":1069},[1331],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1333,"children":1334},{"style":1141},[1335],{"type":998,"value":1336},"\"Final score: ",{"type":993,"tag":1048,"props":1338,"children":1339},{"style":1075},[1340],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1342,"children":1343},{"style":1063},[1344],{"type":998,"value":1154},{"type":993,"tag":1048,"props":1346,"children":1347},{"style":1075},[1348],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1350,"children":1351},{"style":1141},[1352],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1354,"children":1355},{"style":1063},[1356],{"type":998,"value":1357},")                        ",{"type":993,"tag":1048,"props":1359,"children":1360},{"style":1054},[1361],{"type":998,"value":1362},"# 240\n",{"type":993,"tag":1364,"props":1365,"children":1367},"h2",{"id":1366},"basic-assignment-operator",[1368],{"type":998,"value":1369},"🎯 Basic Assignment Operator",{"type":993,"tag":1001,"props":1371,"children":1372},{},[1373,1375,1380],{"type":998,"value":1374},"The basic assignment operator ",{"type":993,"tag":1044,"props":1376,"children":1378},{"className":1377},[],[1379],{"type":998,"value":1072},{"type":998,"value":1381}," assigns a value to a variable. It's the foundation of all variable operations and creates the initial binding between a variable name and its value.",{"type":993,"tag":1383,"props":1384,"children":1388},"info-box",{"emoji":1385,"title":1386,"type":1387},"🎯","Assignment Operator","info",[1389,1397,1422,1430,1477,1487],{"type":993,"tag":1001,"props":1390,"children":1391},{},[1392],{"type":993,"tag":1007,"props":1393,"children":1394},{},[1395],{"type":998,"value":1396},"Basic Assignment (=):",{"type":993,"tag":1398,"props":1399,"children":1400},"ul",{},[1401,1407,1412,1417],{"type":993,"tag":1402,"props":1403,"children":1404},"li",{},[1405],{"type":998,"value":1406},"Creates variable-to-value binding",{"type":993,"tag":1402,"props":1408,"children":1409},{},[1410],{"type":998,"value":1411},"Assigns values to variable names",{"type":993,"tag":1402,"props":1413,"children":1414},{},[1415],{"type":998,"value":1416},"Can assign any data type",{"type":993,"tag":1402,"props":1418,"children":1419},{},[1420],{"type":998,"value":1421},"Supports multiple and tuple unpacking",{"type":993,"tag":1001,"props":1423,"children":1424},{},[1425],{"type":993,"tag":1007,"props":1426,"children":1427},{},[1428],{"type":998,"value":1429},"Assignment Patterns:",{"type":993,"tag":1398,"props":1431,"children":1432},{},[1433,1444,1455,1466],{"type":993,"tag":1402,"props":1434,"children":1435},{},[1436,1438],{"type":998,"value":1437},"Single: ",{"type":993,"tag":1044,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":998,"value":1443},"x = 5",{"type":993,"tag":1402,"props":1445,"children":1446},{},[1447,1449],{"type":998,"value":1448},"Multiple: ",{"type":993,"tag":1044,"props":1450,"children":1452},{"className":1451},[],[1453],{"type":998,"value":1454},"x = y = z = 0",{"type":993,"tag":1402,"props":1456,"children":1457},{},[1458,1460],{"type":998,"value":1459},"Unpacking: ",{"type":993,"tag":1044,"props":1461,"children":1463},{"className":1462},[],[1464],{"type":998,"value":1465},"x, y = (1, 2)",{"type":993,"tag":1402,"props":1467,"children":1468},{},[1469,1471],{"type":998,"value":1470},"Swapping: ",{"type":993,"tag":1044,"props":1472,"children":1474},{"className":1473},[],[1475],{"type":998,"value":1476},"x, y = y, x",{"type":993,"tag":1001,"props":1478,"children":1479},{},[1480,1485],{"type":993,"tag":1007,"props":1481,"children":1482},{},[1483],{"type":998,"value":1484},"Important:",{"type":998,"value":1486}," Assignment creates reference to object, not copy",{"type":993,"tag":1001,"props":1488,"children":1489},{},[1490,1495],{"type":993,"tag":1007,"props":1491,"children":1492},{},[1493],{"type":998,"value":1494},"Foundation:",{"type":998,"value":1496}," Basis for all variable manipulation in Python",{"type":993,"tag":1034,"props":1498,"children":1499},{},[1500],{"type":993,"tag":1038,"props":1501,"children":1503},{"className":1040,"code":1502,"language":6,"meta":8,"style":8},"# Basic assignment examples\nname = \"Alice\"\nage = 25\nis_student = True\n\nprint(f\"Name: {name}\")\nprint(f\"Age: {age}\")\nprint(f\"Student: {is_student}\")\n\n# Multiple assignment\nx = y = z = 0\nprint(f\"x={x}, y={y}, z={z}\")                     # All are 0\n\n# Tuple unpacking assignment\ncoordinates = (10, 20)\nx, y = coordinates\nprint(f\"x={x}, y={y}\")                            # x=10, y=20\n\n# Variable swapping (Python specialty!)\na, b = 5, 10\na, b = b, a  # Swap values\nprint(f\"After swapping: a={a}, b={b}\")            # a=10, b=5\n",[1504],{"type":993,"tag":1044,"props":1505,"children":1506},{"__ignoreMap":8},[1507,1515,1532,1549,1566,1573,1615,1656,1697,1704,1712,1747,1830,1837,1845,1881,1898,1959,1966,1974,1999,2020],{"type":993,"tag":1048,"props":1508,"children":1509},{"class":1050,"line":12},[1510],{"type":993,"tag":1048,"props":1511,"children":1512},{"style":1054},[1513],{"type":998,"value":1514},"# Basic assignment examples\n",{"type":993,"tag":1048,"props":1516,"children":1517},{"class":1050,"line":27},[1518,1523,1527],{"type":993,"tag":1048,"props":1519,"children":1520},{"style":1063},[1521],{"type":998,"value":1522},"name ",{"type":993,"tag":1048,"props":1524,"children":1525},{"style":1069},[1526],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1528,"children":1529},{"style":1141},[1530],{"type":998,"value":1531}," \"Alice\"\n",{"type":993,"tag":1048,"props":1533,"children":1534},{"class":1050,"line":36},[1535,1540,1544],{"type":993,"tag":1048,"props":1536,"children":1537},{"style":1063},[1538],{"type":998,"value":1539},"age ",{"type":993,"tag":1048,"props":1541,"children":1542},{"style":1069},[1543],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1545,"children":1546},{"style":1075},[1547],{"type":998,"value":1548}," 25\n",{"type":993,"tag":1048,"props":1550,"children":1551},{"class":1050,"line":45},[1552,1557,1561],{"type":993,"tag":1048,"props":1553,"children":1554},{"style":1063},[1555],{"type":998,"value":1556},"is_student ",{"type":993,"tag":1048,"props":1558,"children":1559},{"style":1069},[1560],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1562,"children":1563},{"style":1075},[1564],{"type":998,"value":1565}," True\n",{"type":993,"tag":1048,"props":1567,"children":1568},{"class":1050,"line":54},[1569],{"type":993,"tag":1048,"props":1570,"children":1571},{"emptyLinePlaceholder":13},[1572],{"type":998,"value":1086},{"type":993,"tag":1048,"props":1574,"children":1575},{"class":1050,"line":63},[1576,1580,1584,1588,1593,1597,1602,1606,1610],{"type":993,"tag":1048,"props":1577,"children":1578},{"style":1075},[1579],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1581,"children":1582},{"style":1063},[1583],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1585,"children":1586},{"style":1069},[1587],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1589,"children":1590},{"style":1141},[1591],{"type":998,"value":1592},"\"Name: ",{"type":993,"tag":1048,"props":1594,"children":1595},{"style":1075},[1596],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1598,"children":1599},{"style":1063},[1600],{"type":998,"value":1601},"name",{"type":993,"tag":1048,"props":1603,"children":1604},{"style":1075},[1605],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1607,"children":1608},{"style":1141},[1609],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1611,"children":1612},{"style":1063},[1613],{"type":998,"value":1614},")\n",{"type":993,"tag":1048,"props":1616,"children":1617},{"class":1050,"line":72},[1618,1622,1626,1630,1635,1639,1644,1648,1652],{"type":993,"tag":1048,"props":1619,"children":1620},{"style":1075},[1621],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1623,"children":1624},{"style":1063},[1625],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1627,"children":1628},{"style":1069},[1629],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1631,"children":1632},{"style":1141},[1633],{"type":998,"value":1634},"\"Age: ",{"type":993,"tag":1048,"props":1636,"children":1637},{"style":1075},[1638],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1640,"children":1641},{"style":1063},[1642],{"type":998,"value":1643},"age",{"type":993,"tag":1048,"props":1645,"children":1646},{"style":1075},[1647],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1649,"children":1650},{"style":1141},[1651],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1653,"children":1654},{"style":1063},[1655],{"type":998,"value":1614},{"type":993,"tag":1048,"props":1657,"children":1658},{"class":1050,"line":81},[1659,1663,1667,1671,1676,1680,1685,1689,1693],{"type":993,"tag":1048,"props":1660,"children":1661},{"style":1075},[1662],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1664,"children":1665},{"style":1063},[1666],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1668,"children":1669},{"style":1069},[1670],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1672,"children":1673},{"style":1141},[1674],{"type":998,"value":1675},"\"Student: ",{"type":993,"tag":1048,"props":1677,"children":1678},{"style":1075},[1679],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1681,"children":1682},{"style":1063},[1683],{"type":998,"value":1684},"is_student",{"type":993,"tag":1048,"props":1686,"children":1687},{"style":1075},[1688],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1690,"children":1691},{"style":1141},[1692],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1694,"children":1695},{"style":1063},[1696],{"type":998,"value":1614},{"type":993,"tag":1048,"props":1698,"children":1699},{"class":1050,"line":91},[1700],{"type":993,"tag":1048,"props":1701,"children":1702},{"emptyLinePlaceholder":13},[1703],{"type":998,"value":1086},{"type":993,"tag":1048,"props":1705,"children":1706},{"class":1050,"line":100},[1707],{"type":993,"tag":1048,"props":1708,"children":1709},{"style":1054},[1710],{"type":998,"value":1711},"# Multiple assignment\n",{"type":993,"tag":1048,"props":1713,"children":1714},{"class":1050,"line":109},[1715,1720,1724,1729,1733,1738,1742],{"type":993,"tag":1048,"props":1716,"children":1717},{"style":1063},[1718],{"type":998,"value":1719},"x ",{"type":993,"tag":1048,"props":1721,"children":1722},{"style":1069},[1723],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1725,"children":1726},{"style":1063},[1727],{"type":998,"value":1728}," y ",{"type":993,"tag":1048,"props":1730,"children":1731},{"style":1069},[1732],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1734,"children":1735},{"style":1063},[1736],{"type":998,"value":1737}," z ",{"type":993,"tag":1048,"props":1739,"children":1740},{"style":1069},[1741],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1743,"children":1744},{"style":1075},[1745],{"type":998,"value":1746}," 0\n",{"type":993,"tag":1048,"props":1748,"children":1749},{"class":1050,"line":118},[1750,1754,1758,1762,1767,1771,1776,1780,1785,1789,1794,1798,1803,1807,1812,1816,1820,1825],{"type":993,"tag":1048,"props":1751,"children":1752},{"style":1075},[1753],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1755,"children":1756},{"style":1063},[1757],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1759,"children":1760},{"style":1069},[1761],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1763,"children":1764},{"style":1141},[1765],{"type":998,"value":1766},"\"x=",{"type":993,"tag":1048,"props":1768,"children":1769},{"style":1075},[1770],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1772,"children":1773},{"style":1063},[1774],{"type":998,"value":1775},"x",{"type":993,"tag":1048,"props":1777,"children":1778},{"style":1075},[1779],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1781,"children":1782},{"style":1141},[1783],{"type":998,"value":1784},", y=",{"type":993,"tag":1048,"props":1786,"children":1787},{"style":1075},[1788],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1790,"children":1791},{"style":1063},[1792],{"type":998,"value":1793},"y",{"type":993,"tag":1048,"props":1795,"children":1796},{"style":1075},[1797],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1799,"children":1800},{"style":1141},[1801],{"type":998,"value":1802},", z=",{"type":993,"tag":1048,"props":1804,"children":1805},{"style":1075},[1806],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1808,"children":1809},{"style":1063},[1810],{"type":998,"value":1811},"z",{"type":993,"tag":1048,"props":1813,"children":1814},{"style":1075},[1815],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1817,"children":1818},{"style":1141},[1819],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1821,"children":1822},{"style":1063},[1823],{"type":998,"value":1824},")                     ",{"type":993,"tag":1048,"props":1826,"children":1827},{"style":1054},[1828],{"type":998,"value":1829},"# All are 0\n",{"type":993,"tag":1048,"props":1831,"children":1832},{"class":1050,"line":127},[1833],{"type":993,"tag":1048,"props":1834,"children":1835},{"emptyLinePlaceholder":13},[1836],{"type":998,"value":1086},{"type":993,"tag":1048,"props":1838,"children":1839},{"class":1050,"line":136},[1840],{"type":993,"tag":1048,"props":1841,"children":1842},{"style":1054},[1843],{"type":998,"value":1844},"# Tuple unpacking assignment\n",{"type":993,"tag":1048,"props":1846,"children":1847},{"class":1050,"line":146},[1848,1853,1857,1862,1867,1872,1877],{"type":993,"tag":1048,"props":1849,"children":1850},{"style":1063},[1851],{"type":998,"value":1852},"coordinates ",{"type":993,"tag":1048,"props":1854,"children":1855},{"style":1069},[1856],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1858,"children":1859},{"style":1063},[1860],{"type":998,"value":1861}," (",{"type":993,"tag":1048,"props":1863,"children":1864},{"style":1075},[1865],{"type":998,"value":1866},"10",{"type":993,"tag":1048,"props":1868,"children":1869},{"style":1063},[1870],{"type":998,"value":1871},", ",{"type":993,"tag":1048,"props":1873,"children":1874},{"style":1075},[1875],{"type":998,"value":1876},"20",{"type":993,"tag":1048,"props":1878,"children":1879},{"style":1063},[1880],{"type":998,"value":1614},{"type":993,"tag":1048,"props":1882,"children":1883},{"class":1050,"line":155},[1884,1889,1893],{"type":993,"tag":1048,"props":1885,"children":1886},{"style":1063},[1887],{"type":998,"value":1888},"x, y ",{"type":993,"tag":1048,"props":1890,"children":1891},{"style":1069},[1892],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1894,"children":1895},{"style":1063},[1896],{"type":998,"value":1897}," coordinates\n",{"type":993,"tag":1048,"props":1899,"children":1900},{"class":1050,"line":164},[1901,1905,1909,1913,1917,1921,1925,1929,1933,1937,1941,1945,1949,1954],{"type":993,"tag":1048,"props":1902,"children":1903},{"style":1075},[1904],{"type":998,"value":1128},{"type":993,"tag":1048,"props":1906,"children":1907},{"style":1063},[1908],{"type":998,"value":1133},{"type":993,"tag":1048,"props":1910,"children":1911},{"style":1069},[1912],{"type":998,"value":1138},{"type":993,"tag":1048,"props":1914,"children":1915},{"style":1141},[1916],{"type":998,"value":1766},{"type":993,"tag":1048,"props":1918,"children":1919},{"style":1075},[1920],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1922,"children":1923},{"style":1063},[1924],{"type":998,"value":1775},{"type":993,"tag":1048,"props":1926,"children":1927},{"style":1075},[1928],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1930,"children":1931},{"style":1141},[1932],{"type":998,"value":1784},{"type":993,"tag":1048,"props":1934,"children":1935},{"style":1075},[1936],{"type":998,"value":1149},{"type":993,"tag":1048,"props":1938,"children":1939},{"style":1063},[1940],{"type":998,"value":1793},{"type":993,"tag":1048,"props":1942,"children":1943},{"style":1075},[1944],{"type":998,"value":1159},{"type":993,"tag":1048,"props":1946,"children":1947},{"style":1141},[1948],{"type":998,"value":1164},{"type":993,"tag":1048,"props":1950,"children":1951},{"style":1063},[1952],{"type":998,"value":1953},")                            ",{"type":993,"tag":1048,"props":1955,"children":1956},{"style":1054},[1957],{"type":998,"value":1958},"# x=10, y=20\n",{"type":993,"tag":1048,"props":1960,"children":1961},{"class":1050,"line":173},[1962],{"type":993,"tag":1048,"props":1963,"children":1964},{"emptyLinePlaceholder":13},[1965],{"type":998,"value":1086},{"type":993,"tag":1048,"props":1967,"children":1968},{"class":1050,"line":182},[1969],{"type":993,"tag":1048,"props":1970,"children":1971},{"style":1054},[1972],{"type":998,"value":1973},"# Variable swapping (Python specialty!)\n",{"type":993,"tag":1048,"props":1975,"children":1976},{"class":1050,"line":191},[1977,1982,1986,1990,1994],{"type":993,"tag":1048,"props":1978,"children":1979},{"style":1063},[1980],{"type":998,"value":1981},"a, b ",{"type":993,"tag":1048,"props":1983,"children":1984},{"style":1069},[1985],{"type":998,"value":1072},{"type":993,"tag":1048,"props":1987,"children":1988},{"style":1075},[1989],{"type":998,"value":1289},{"type":993,"tag":1048,"props":1991,"children":1992},{"style":1063},[1993],{"type":998,"value":1871},{"type":993,"tag":1048,"props":1995,"children":1996},{"style":1075},[1997],{"type":998,"value":1998},"10\n",{"type":993,"tag":1048,"props":2000,"children":2001},{"class":1050,"line":201},[2002,2006,2010,2015],{"type":993,"tag":1048,"props":2003,"children":2004},{"style":1063},[2005],{"type":998,"value":1981},{"type":993,"tag":1048,"props":2007,"children":2008},{"style":1069},[2009],{"type":998,"value":1072},{"type":993,"tag":1048,"props":2011,"children":2012},{"style":1063},[2013],{"type":998,"value":2014}," b, a  ",{"type":993,"tag":1048,"props":2016,"children":2017},{"style":1054},[2018],{"type":998,"value":2019},"# Swap values\n",{"type":993,"tag":1048,"props":2021,"children":2022},{"class":1050,"line":210},[2023,2027,2031,2035,2040,2044,2048,2052,2057,2061,2066,2070,2074,2079],{"type":993,"tag":1048,"props":2024,"children":2025},{"style":1075},[2026],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2028,"children":2029},{"style":1063},[2030],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2032,"children":2033},{"style":1069},[2034],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2036,"children":2037},{"style":1141},[2038],{"type":998,"value":2039},"\"After swapping: a=",{"type":993,"tag":1048,"props":2041,"children":2042},{"style":1075},[2043],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2045,"children":2046},{"style":1063},[2047],{"type":998,"value":1011},{"type":993,"tag":1048,"props":2049,"children":2050},{"style":1075},[2051],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2053,"children":2054},{"style":1141},[2055],{"type":998,"value":2056},", b=",{"type":993,"tag":1048,"props":2058,"children":2059},{"style":1075},[2060],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2062,"children":2063},{"style":1063},[2064],{"type":998,"value":2065},"b",{"type":993,"tag":1048,"props":2067,"children":2068},{"style":1075},[2069],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2071,"children":2072},{"style":1141},[2073],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2075,"children":2076},{"style":1063},[2077],{"type":998,"value":2078},")            ",{"type":993,"tag":1048,"props":2080,"children":2081},{"style":1054},[2082],{"type":998,"value":2083},"# a=10, b=5\n",{"type":993,"tag":1364,"props":2085,"children":2087},{"id":2086},"arithmetic-assignment-operators",[2088],{"type":998,"value":2089},"➕ Arithmetic Assignment Operators",{"type":993,"tag":1001,"props":2091,"children":2092},{},[2093],{"type":998,"value":2094},"Arithmetic assignment operators combine mathematical operations with assignment. They provide a shorthand way to perform calculations and update variables in a single step.",{"type":993,"tag":1383,"props":2096,"children":2100},{"emoji":2097,"title":2098,"type":2099},"➕","Arithmetic Assignment","success",[2101,2109,2186,2194,2217,2227],{"type":993,"tag":1001,"props":2102,"children":2103},{},[2104],{"type":993,"tag":1007,"props":2105,"children":2106},{},[2107],{"type":998,"value":2108},"Core Operators:",{"type":993,"tag":1398,"props":2110,"children":2111},{},[2112,2122,2132,2142,2153,2164,2175],{"type":993,"tag":1402,"props":2113,"children":2114},{},[2115,2120],{"type":993,"tag":1044,"props":2116,"children":2118},{"className":2117},[],[2119],{"type":998,"value":1201},{"type":998,"value":2121}," Addition assignment",{"type":993,"tag":1402,"props":2123,"children":2124},{},[2125,2130],{"type":993,"tag":1044,"props":2126,"children":2128},{"className":2127},[],[2129],{"type":998,"value":1284},{"type":998,"value":2131}," Subtraction assignment",{"type":993,"tag":1402,"props":2133,"children":2134},{},[2135,2140],{"type":993,"tag":1044,"props":2136,"children":2138},{"className":2137},[],[2139],{"type":998,"value":1306},{"type":998,"value":2141}," Multiplication assignment",{"type":993,"tag":1402,"props":2143,"children":2144},{},[2145,2151],{"type":993,"tag":1044,"props":2146,"children":2148},{"className":2147},[],[2149],{"type":998,"value":2150},"/=",{"type":998,"value":2152}," Division assignment",{"type":993,"tag":1402,"props":2154,"children":2155},{},[2156,2162],{"type":993,"tag":1044,"props":2157,"children":2159},{"className":2158},[],[2160],{"type":998,"value":2161},"//=",{"type":998,"value":2163}," Floor division assignment",{"type":993,"tag":1402,"props":2165,"children":2166},{},[2167,2173],{"type":993,"tag":1044,"props":2168,"children":2170},{"className":2169},[],[2171],{"type":998,"value":2172},"%=",{"type":998,"value":2174}," Modulo assignment",{"type":993,"tag":1402,"props":2176,"children":2177},{},[2178,2184],{"type":993,"tag":1044,"props":2179,"children":2181},{"className":2180},[],[2182],{"type":998,"value":2183},"**=",{"type":998,"value":2185}," Exponentiation assignment",{"type":993,"tag":1001,"props":2187,"children":2188},{},[2189],{"type":993,"tag":1007,"props":2190,"children":2191},{},[2192],{"type":998,"value":2193},"Advantages:",{"type":993,"tag":1398,"props":2195,"children":2196},{},[2197,2202,2207,2212],{"type":993,"tag":1402,"props":2198,"children":2199},{},[2200],{"type":998,"value":2201},"More concise than separate operations",{"type":993,"tag":1402,"props":2203,"children":2204},{},[2205],{"type":998,"value":2206},"Reduces typing and potential errors",{"type":993,"tag":1402,"props":2208,"children":2209},{},[2210],{"type":998,"value":2211},"Clearly shows update intention",{"type":993,"tag":1402,"props":2213,"children":2214},{},[2215],{"type":998,"value":2216},"Common in loops and counters",{"type":993,"tag":1001,"props":2218,"children":2219},{},[2220,2225],{"type":993,"tag":1007,"props":2221,"children":2222},{},[2223],{"type":998,"value":2224},"Performance:",{"type":998,"value":2226}," Slightly more efficient than separate operations",{"type":993,"tag":1001,"props":2228,"children":2229},{},[2230,2235],{"type":993,"tag":1007,"props":2231,"children":2232},{},[2233],{"type":998,"value":2234},"Readability:",{"type":998,"value":2236}," Makes code intentions explicit",{"type":993,"tag":1034,"props":2238,"children":2239},{},[2240],{"type":993,"tag":1038,"props":2241,"children":2243},{"className":1040,"code":2242,"language":6,"meta":8,"style":8},"# Arithmetic assignment operators\ntotal = 100\n\n# Addition assignment\ntotal += 25    # total = total + 25\nprint(f\"After += 25: {total}\")                    # 125\n\n# Subtraction assignment\ntotal -= 10    # total = total - 10\nprint(f\"After -= 10: {total}\")                    # 115\n\n# Multiplication assignment\ntotal *= 2     # total = total * 2\nprint(f\"After *= 2: {total}\")                     # 230\n\n# Division assignment\ntotal /= 4     # total = total / 4\nprint(f\"After /= 4: {total}\")                     # 57.5\n",[2244],{"type":993,"tag":1044,"props":2245,"children":2246},{"__ignoreMap":8},[2247,2255,2271,2278,2286,2307,2353,2360,2368,2389,2434,2441,2449,2469,2514,2521,2529,2550],{"type":993,"tag":1048,"props":2248,"children":2249},{"class":1050,"line":12},[2250],{"type":993,"tag":1048,"props":2251,"children":2252},{"style":1054},[2253],{"type":998,"value":2254},"# Arithmetic assignment operators\n",{"type":993,"tag":1048,"props":2256,"children":2257},{"class":1050,"line":27},[2258,2263,2267],{"type":993,"tag":1048,"props":2259,"children":2260},{"style":1063},[2261],{"type":998,"value":2262},"total ",{"type":993,"tag":1048,"props":2264,"children":2265},{"style":1069},[2266],{"type":998,"value":1072},{"type":993,"tag":1048,"props":2268,"children":2269},{"style":1075},[2270],{"type":998,"value":1078},{"type":993,"tag":1048,"props":2272,"children":2273},{"class":1050,"line":36},[2274],{"type":993,"tag":1048,"props":2275,"children":2276},{"emptyLinePlaceholder":13},[2277],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2279,"children":2280},{"class":1050,"line":45},[2281],{"type":993,"tag":1048,"props":2282,"children":2283},{"style":1054},[2284],{"type":998,"value":2285},"# Addition assignment\n",{"type":993,"tag":1048,"props":2287,"children":2288},{"class":1050,"line":54},[2289,2293,2297,2302],{"type":993,"tag":1048,"props":2290,"children":2291},{"style":1063},[2292],{"type":998,"value":2262},{"type":993,"tag":1048,"props":2294,"children":2295},{"style":1069},[2296],{"type":998,"value":1201},{"type":993,"tag":1048,"props":2298,"children":2299},{"style":1075},[2300],{"type":998,"value":2301}," 25",{"type":993,"tag":1048,"props":2303,"children":2304},{"style":1054},[2305],{"type":998,"value":2306},"    # total = total + 25\n",{"type":993,"tag":1048,"props":2308,"children":2309},{"class":1050,"line":63},[2310,2314,2318,2322,2327,2331,2336,2340,2344,2349],{"type":993,"tag":1048,"props":2311,"children":2312},{"style":1075},[2313],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2315,"children":2316},{"style":1063},[2317],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2319,"children":2320},{"style":1069},[2321],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2323,"children":2324},{"style":1141},[2325],{"type":998,"value":2326},"\"After += 25: ",{"type":993,"tag":1048,"props":2328,"children":2329},{"style":1075},[2330],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2332,"children":2333},{"style":1063},[2334],{"type":998,"value":2335},"total",{"type":993,"tag":1048,"props":2337,"children":2338},{"style":1075},[2339],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2341,"children":2342},{"style":1141},[2343],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2345,"children":2346},{"style":1063},[2347],{"type":998,"value":2348},")                    ",{"type":993,"tag":1048,"props":2350,"children":2351},{"style":1054},[2352],{"type":998,"value":1257},{"type":993,"tag":1048,"props":2354,"children":2355},{"class":1050,"line":72},[2356],{"type":993,"tag":1048,"props":2357,"children":2358},{"emptyLinePlaceholder":13},[2359],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2361,"children":2362},{"class":1050,"line":81},[2363],{"type":993,"tag":1048,"props":2364,"children":2365},{"style":1054},[2366],{"type":998,"value":2367},"# Subtraction assignment\n",{"type":993,"tag":1048,"props":2369,"children":2370},{"class":1050,"line":91},[2371,2375,2379,2384],{"type":993,"tag":1048,"props":2372,"children":2373},{"style":1063},[2374],{"type":998,"value":2262},{"type":993,"tag":1048,"props":2376,"children":2377},{"style":1069},[2378],{"type":998,"value":1284},{"type":993,"tag":1048,"props":2380,"children":2381},{"style":1075},[2382],{"type":998,"value":2383}," 10",{"type":993,"tag":1048,"props":2385,"children":2386},{"style":1054},[2387],{"type":998,"value":2388},"    # total = total - 10\n",{"type":993,"tag":1048,"props":2390,"children":2391},{"class":1050,"line":100},[2392,2396,2400,2404,2409,2413,2417,2421,2425,2429],{"type":993,"tag":1048,"props":2393,"children":2394},{"style":1075},[2395],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2397,"children":2398},{"style":1063},[2399],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2401,"children":2402},{"style":1069},[2403],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2405,"children":2406},{"style":1141},[2407],{"type":998,"value":2408},"\"After -= 10: ",{"type":993,"tag":1048,"props":2410,"children":2411},{"style":1075},[2412],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2414,"children":2415},{"style":1063},[2416],{"type":998,"value":2335},{"type":993,"tag":1048,"props":2418,"children":2419},{"style":1075},[2420],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2422,"children":2423},{"style":1141},[2424],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2426,"children":2427},{"style":1063},[2428],{"type":998,"value":2348},{"type":993,"tag":1048,"props":2430,"children":2431},{"style":1054},[2432],{"type":998,"value":2433},"# 115\n",{"type":993,"tag":1048,"props":2435,"children":2436},{"class":1050,"line":109},[2437],{"type":993,"tag":1048,"props":2438,"children":2439},{"emptyLinePlaceholder":13},[2440],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2442,"children":2443},{"class":1050,"line":118},[2444],{"type":993,"tag":1048,"props":2445,"children":2446},{"style":1054},[2447],{"type":998,"value":2448},"# Multiplication assignment\n",{"type":993,"tag":1048,"props":2450,"children":2451},{"class":1050,"line":127},[2452,2456,2460,2464],{"type":993,"tag":1048,"props":2453,"children":2454},{"style":1063},[2455],{"type":998,"value":2262},{"type":993,"tag":1048,"props":2457,"children":2458},{"style":1069},[2459],{"type":998,"value":1306},{"type":993,"tag":1048,"props":2461,"children":2462},{"style":1075},[2463],{"type":998,"value":1311},{"type":993,"tag":1048,"props":2465,"children":2466},{"style":1054},[2467],{"type":998,"value":2468},"     # total = total * 2\n",{"type":993,"tag":1048,"props":2470,"children":2471},{"class":1050,"line":136},[2472,2476,2480,2484,2489,2493,2497,2501,2505,2509],{"type":993,"tag":1048,"props":2473,"children":2474},{"style":1075},[2475],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2477,"children":2478},{"style":1063},[2479],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2481,"children":2482},{"style":1069},[2483],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2485,"children":2486},{"style":1141},[2487],{"type":998,"value":2488},"\"After *= 2: ",{"type":993,"tag":1048,"props":2490,"children":2491},{"style":1075},[2492],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2494,"children":2495},{"style":1063},[2496],{"type":998,"value":2335},{"type":993,"tag":1048,"props":2498,"children":2499},{"style":1075},[2500],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2502,"children":2503},{"style":1141},[2504],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2506,"children":2507},{"style":1063},[2508],{"type":998,"value":1824},{"type":993,"tag":1048,"props":2510,"children":2511},{"style":1054},[2512],{"type":998,"value":2513},"# 230\n",{"type":993,"tag":1048,"props":2515,"children":2516},{"class":1050,"line":146},[2517],{"type":993,"tag":1048,"props":2518,"children":2519},{"emptyLinePlaceholder":13},[2520],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2522,"children":2523},{"class":1050,"line":155},[2524],{"type":993,"tag":1048,"props":2525,"children":2526},{"style":1054},[2527],{"type":998,"value":2528},"# Division assignment\n",{"type":993,"tag":1048,"props":2530,"children":2531},{"class":1050,"line":164},[2532,2536,2540,2545],{"type":993,"tag":1048,"props":2533,"children":2534},{"style":1063},[2535],{"type":998,"value":2262},{"type":993,"tag":1048,"props":2537,"children":2538},{"style":1069},[2539],{"type":998,"value":2150},{"type":993,"tag":1048,"props":2541,"children":2542},{"style":1075},[2543],{"type":998,"value":2544}," 4",{"type":993,"tag":1048,"props":2546,"children":2547},{"style":1054},[2548],{"type":998,"value":2549},"     # total = total / 4\n",{"type":993,"tag":1048,"props":2551,"children":2552},{"class":1050,"line":173},[2553,2557,2561,2565,2570,2574,2578,2582,2586,2590],{"type":993,"tag":1048,"props":2554,"children":2555},{"style":1075},[2556],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2558,"children":2559},{"style":1063},[2560],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2562,"children":2563},{"style":1069},[2564],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2566,"children":2567},{"style":1141},[2568],{"type":998,"value":2569},"\"After /= 4: ",{"type":993,"tag":1048,"props":2571,"children":2572},{"style":1075},[2573],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2575,"children":2576},{"style":1063},[2577],{"type":998,"value":2335},{"type":993,"tag":1048,"props":2579,"children":2580},{"style":1075},[2581],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2583,"children":2584},{"style":1141},[2585],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2587,"children":2588},{"style":1063},[2589],{"type":998,"value":1824},{"type":993,"tag":1048,"props":2591,"children":2592},{"style":1054},[2593],{"type":998,"value":2594},"# 57.5\n",{"type":993,"tag":1364,"props":2596,"children":2598},{"id":2597},"advanced-assignment-operators",[2599],{"type":998,"value":2600},"⚡ Advanced Assignment Operators",{"type":993,"tag":1001,"props":2602,"children":2603},{},[2604],{"type":998,"value":2605},"Python provides additional assignment operators for specialized mathematical operations. These include floor division, modulo, and exponentiation assignments.",{"type":993,"tag":1383,"props":2607,"children":2611},{"emoji":2608,"title":2609,"type":2610},"⚡","Advanced Assignment","warning",[2612,2620,2653,2661,2679,2687,2738],{"type":993,"tag":1001,"props":2613,"children":2614},{},[2615],{"type":993,"tag":1007,"props":2616,"children":2617},{},[2618],{"type":998,"value":2619},"Specialized Operations:",{"type":993,"tag":1398,"props":2621,"children":2622},{},[2623,2633,2643],{"type":993,"tag":1402,"props":2624,"children":2625},{},[2626,2631],{"type":993,"tag":1044,"props":2627,"children":2629},{"className":2628},[],[2630],{"type":998,"value":2161},{"type":998,"value":2632}," Floor division: Integer division result",{"type":993,"tag":1402,"props":2634,"children":2635},{},[2636,2641],{"type":993,"tag":1044,"props":2637,"children":2639},{"className":2638},[],[2640],{"type":998,"value":2172},{"type":998,"value":2642}," Modulo: Remainder after division",{"type":993,"tag":1402,"props":2644,"children":2645},{},[2646,2651],{"type":993,"tag":1044,"props":2647,"children":2649},{"className":2648},[],[2650],{"type":998,"value":2183},{"type":998,"value":2652}," Exponentiation: Power operations",{"type":993,"tag":1001,"props":2654,"children":2655},{},[2656],{"type":993,"tag":1007,"props":2657,"children":2658},{},[2659],{"type":998,"value":2660},"Use Cases:",{"type":993,"tag":1398,"props":2662,"children":2663},{},[2664,2669,2674],{"type":993,"tag":1402,"props":2665,"children":2666},{},[2667],{"type":998,"value":2668},"Floor division: Pagination, grouping",{"type":993,"tag":1402,"props":2670,"children":2671},{},[2672],{"type":998,"value":2673},"Modulo: Cycling, even/odd testing",{"type":993,"tag":1402,"props":2675,"children":2676},{},[2677],{"type":998,"value":2678},"Exponentiation: Scientific calculations, growth models",{"type":993,"tag":1001,"props":2680,"children":2681},{},[2682],{"type":993,"tag":1007,"props":2683,"children":2684},{},[2685],{"type":998,"value":2686},"Important Notes:",{"type":993,"tag":1398,"props":2688,"children":2689},{},[2690,2709,2720],{"type":993,"tag":1402,"props":2691,"children":2692},{},[2693,2699,2701,2707],{"type":993,"tag":1044,"props":2694,"children":2696},{"className":2695},[],[2697],{"type":998,"value":2698},"x *= 3",{"type":998,"value":2700}," means ",{"type":993,"tag":1044,"props":2702,"children":2704},{"className":2703},[],[2705],{"type":998,"value":2706},"x = x * 3",{"type":998,"value":2708}," (multiplication is commutative)",{"type":993,"tag":1402,"props":2710,"children":2711},{},[2712,2718],{"type":993,"tag":1044,"props":2713,"children":2715},{"className":2714},[],[2716],{"type":998,"value":2717},"x //= 3",{"type":998,"value":2719}," performs floor division and assignment",{"type":993,"tag":1402,"props":2721,"children":2722},{},[2723,2728,2730,2736],{"type":993,"tag":1044,"props":2724,"children":2726},{"className":2725},[],[2727],{"type":998,"value":2183},{"type":998,"value":2729}," is used for exponentiation assignment (not ",{"type":993,"tag":1044,"props":2731,"children":2733},{"className":2732},[],[2734],{"type":998,"value":2735},"^=",{"type":998,"value":2737},")",{"type":993,"tag":1001,"props":2739,"children":2740},{},[2741,2746],{"type":993,"tag":1007,"props":2742,"children":2743},{},[2744],{"type":998,"value":2745},"Precision:",{"type":998,"value":2747}," Maintains appropriate numeric types",{"type":993,"tag":1034,"props":2749,"children":2750},{},[2751],{"type":993,"tag":1038,"props":2752,"children":2754},{"className":1040,"code":2753,"language":6,"meta":8,"style":8},"# Advanced arithmetic assignment\nnumber = 17\n\n# Floor division assignment\nnumber //= 3   # number = number // 3\nprint(f\"After //= 3: {number}\")                   # 5\n\n# Reset for next examples\nnumber = 17\n\n# Modulo assignment\nnumber %= 5    # number = number % 5\nprint(f\"After %= 5: {number}\")                    # 2\n\n# Exponentiation assignment\nnumber **= 2   # number = number ** 2\nprint(f\"After **= 2: {number}\")                   # 4\n\n# Practical example: tracking step count\nsteps = 8\nsteps //= 3  # Complete groups of 3 steps\nprint(f\"Complete groups: {steps}\")                # 2\n",[2755],{"type":993,"tag":1044,"props":2756,"children":2757},{"__ignoreMap":8},[2758,2766,2783,2790,2798,2819,2866,2873,2881,2896,2903,2911,2931,2976,2983,2991,3011,3056,3063,3071,3088,3108],{"type":993,"tag":1048,"props":2759,"children":2760},{"class":1050,"line":12},[2761],{"type":993,"tag":1048,"props":2762,"children":2763},{"style":1054},[2764],{"type":998,"value":2765},"# Advanced arithmetic assignment\n",{"type":993,"tag":1048,"props":2767,"children":2768},{"class":1050,"line":27},[2769,2774,2778],{"type":993,"tag":1048,"props":2770,"children":2771},{"style":1063},[2772],{"type":998,"value":2773},"number ",{"type":993,"tag":1048,"props":2775,"children":2776},{"style":1069},[2777],{"type":998,"value":1072},{"type":993,"tag":1048,"props":2779,"children":2780},{"style":1075},[2781],{"type":998,"value":2782}," 17\n",{"type":993,"tag":1048,"props":2784,"children":2785},{"class":1050,"line":36},[2786],{"type":993,"tag":1048,"props":2787,"children":2788},{"emptyLinePlaceholder":13},[2789],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2791,"children":2792},{"class":1050,"line":45},[2793],{"type":993,"tag":1048,"props":2794,"children":2795},{"style":1054},[2796],{"type":998,"value":2797},"# Floor division assignment\n",{"type":993,"tag":1048,"props":2799,"children":2800},{"class":1050,"line":54},[2801,2805,2809,2814],{"type":993,"tag":1048,"props":2802,"children":2803},{"style":1063},[2804],{"type":998,"value":2773},{"type":993,"tag":1048,"props":2806,"children":2807},{"style":1069},[2808],{"type":998,"value":2161},{"type":993,"tag":1048,"props":2810,"children":2811},{"style":1075},[2812],{"type":998,"value":2813}," 3",{"type":993,"tag":1048,"props":2815,"children":2816},{"style":1054},[2817],{"type":998,"value":2818},"   # number = number // 3\n",{"type":993,"tag":1048,"props":2820,"children":2821},{"class":1050,"line":63},[2822,2826,2830,2834,2839,2843,2848,2852,2856,2861],{"type":993,"tag":1048,"props":2823,"children":2824},{"style":1075},[2825],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2827,"children":2828},{"style":1063},[2829],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2831,"children":2832},{"style":1069},[2833],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2835,"children":2836},{"style":1141},[2837],{"type":998,"value":2838},"\"After //= 3: ",{"type":993,"tag":1048,"props":2840,"children":2841},{"style":1075},[2842],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2844,"children":2845},{"style":1063},[2846],{"type":998,"value":2847},"number",{"type":993,"tag":1048,"props":2849,"children":2850},{"style":1075},[2851],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2853,"children":2854},{"style":1141},[2855],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2857,"children":2858},{"style":1063},[2859],{"type":998,"value":2860},")                   ",{"type":993,"tag":1048,"props":2862,"children":2863},{"style":1054},[2864],{"type":998,"value":2865},"# 5\n",{"type":993,"tag":1048,"props":2867,"children":2868},{"class":1050,"line":72},[2869],{"type":993,"tag":1048,"props":2870,"children":2871},{"emptyLinePlaceholder":13},[2872],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2874,"children":2875},{"class":1050,"line":81},[2876],{"type":993,"tag":1048,"props":2877,"children":2878},{"style":1054},[2879],{"type":998,"value":2880},"# Reset for next examples\n",{"type":993,"tag":1048,"props":2882,"children":2883},{"class":1050,"line":91},[2884,2888,2892],{"type":993,"tag":1048,"props":2885,"children":2886},{"style":1063},[2887],{"type":998,"value":2773},{"type":993,"tag":1048,"props":2889,"children":2890},{"style":1069},[2891],{"type":998,"value":1072},{"type":993,"tag":1048,"props":2893,"children":2894},{"style":1075},[2895],{"type":998,"value":2782},{"type":993,"tag":1048,"props":2897,"children":2898},{"class":1050,"line":100},[2899],{"type":993,"tag":1048,"props":2900,"children":2901},{"emptyLinePlaceholder":13},[2902],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2904,"children":2905},{"class":1050,"line":109},[2906],{"type":993,"tag":1048,"props":2907,"children":2908},{"style":1054},[2909],{"type":998,"value":2910},"# Modulo assignment\n",{"type":993,"tag":1048,"props":2912,"children":2913},{"class":1050,"line":118},[2914,2918,2922,2926],{"type":993,"tag":1048,"props":2915,"children":2916},{"style":1063},[2917],{"type":998,"value":2773},{"type":993,"tag":1048,"props":2919,"children":2920},{"style":1069},[2921],{"type":998,"value":2172},{"type":993,"tag":1048,"props":2923,"children":2924},{"style":1075},[2925],{"type":998,"value":1289},{"type":993,"tag":1048,"props":2927,"children":2928},{"style":1054},[2929],{"type":998,"value":2930},"    # number = number % 5\n",{"type":993,"tag":1048,"props":2932,"children":2933},{"class":1050,"line":127},[2934,2938,2942,2946,2951,2955,2959,2963,2967,2971],{"type":993,"tag":1048,"props":2935,"children":2936},{"style":1075},[2937],{"type":998,"value":1128},{"type":993,"tag":1048,"props":2939,"children":2940},{"style":1063},[2941],{"type":998,"value":1133},{"type":993,"tag":1048,"props":2943,"children":2944},{"style":1069},[2945],{"type":998,"value":1138},{"type":993,"tag":1048,"props":2947,"children":2948},{"style":1141},[2949],{"type":998,"value":2950},"\"After %= 5: ",{"type":993,"tag":1048,"props":2952,"children":2953},{"style":1075},[2954],{"type":998,"value":1149},{"type":993,"tag":1048,"props":2956,"children":2957},{"style":1063},[2958],{"type":998,"value":2847},{"type":993,"tag":1048,"props":2960,"children":2961},{"style":1075},[2962],{"type":998,"value":1159},{"type":993,"tag":1048,"props":2964,"children":2965},{"style":1141},[2966],{"type":998,"value":1164},{"type":993,"tag":1048,"props":2968,"children":2969},{"style":1063},[2970],{"type":998,"value":2348},{"type":993,"tag":1048,"props":2972,"children":2973},{"style":1054},[2974],{"type":998,"value":2975},"# 2\n",{"type":993,"tag":1048,"props":2977,"children":2978},{"class":1050,"line":136},[2979],{"type":993,"tag":1048,"props":2980,"children":2981},{"emptyLinePlaceholder":13},[2982],{"type":998,"value":1086},{"type":993,"tag":1048,"props":2984,"children":2985},{"class":1050,"line":146},[2986],{"type":993,"tag":1048,"props":2987,"children":2988},{"style":1054},[2989],{"type":998,"value":2990},"# Exponentiation assignment\n",{"type":993,"tag":1048,"props":2992,"children":2993},{"class":1050,"line":155},[2994,2998,3002,3006],{"type":993,"tag":1048,"props":2995,"children":2996},{"style":1063},[2997],{"type":998,"value":2773},{"type":993,"tag":1048,"props":2999,"children":3000},{"style":1069},[3001],{"type":998,"value":2183},{"type":993,"tag":1048,"props":3003,"children":3004},{"style":1075},[3005],{"type":998,"value":1311},{"type":993,"tag":1048,"props":3007,"children":3008},{"style":1054},[3009],{"type":998,"value":3010},"   # number = number ** 2\n",{"type":993,"tag":1048,"props":3012,"children":3013},{"class":1050,"line":164},[3014,3018,3022,3026,3031,3035,3039,3043,3047,3051],{"type":993,"tag":1048,"props":3015,"children":3016},{"style":1075},[3017],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3019,"children":3020},{"style":1063},[3021],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3023,"children":3024},{"style":1069},[3025],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3027,"children":3028},{"style":1141},[3029],{"type":998,"value":3030},"\"After **= 2: ",{"type":993,"tag":1048,"props":3032,"children":3033},{"style":1075},[3034],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3036,"children":3037},{"style":1063},[3038],{"type":998,"value":2847},{"type":993,"tag":1048,"props":3040,"children":3041},{"style":1075},[3042],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3044,"children":3045},{"style":1141},[3046],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3048,"children":3049},{"style":1063},[3050],{"type":998,"value":2860},{"type":993,"tag":1048,"props":3052,"children":3053},{"style":1054},[3054],{"type":998,"value":3055},"# 4\n",{"type":993,"tag":1048,"props":3057,"children":3058},{"class":1050,"line":173},[3059],{"type":993,"tag":1048,"props":3060,"children":3061},{"emptyLinePlaceholder":13},[3062],{"type":998,"value":1086},{"type":993,"tag":1048,"props":3064,"children":3065},{"class":1050,"line":182},[3066],{"type":993,"tag":1048,"props":3067,"children":3068},{"style":1054},[3069],{"type":998,"value":3070},"# Practical example: tracking step count\n",{"type":993,"tag":1048,"props":3072,"children":3073},{"class":1050,"line":191},[3074,3079,3083],{"type":993,"tag":1048,"props":3075,"children":3076},{"style":1063},[3077],{"type":998,"value":3078},"steps ",{"type":993,"tag":1048,"props":3080,"children":3081},{"style":1069},[3082],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3084,"children":3085},{"style":1075},[3086],{"type":998,"value":3087}," 8\n",{"type":993,"tag":1048,"props":3089,"children":3090},{"class":1050,"line":201},[3091,3095,3099,3103],{"type":993,"tag":1048,"props":3092,"children":3093},{"style":1063},[3094],{"type":998,"value":3078},{"type":993,"tag":1048,"props":3096,"children":3097},{"style":1069},[3098],{"type":998,"value":2161},{"type":993,"tag":1048,"props":3100,"children":3101},{"style":1075},[3102],{"type":998,"value":2813},{"type":993,"tag":1048,"props":3104,"children":3105},{"style":1054},[3106],{"type":998,"value":3107},"  # Complete groups of 3 steps\n",{"type":993,"tag":1048,"props":3109,"children":3110},{"class":1050,"line":210},[3111,3115,3119,3123,3128,3132,3137,3141,3145,3150],{"type":993,"tag":1048,"props":3112,"children":3113},{"style":1075},[3114],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3116,"children":3117},{"style":1063},[3118],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3120,"children":3121},{"style":1069},[3122],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3124,"children":3125},{"style":1141},[3126],{"type":998,"value":3127},"\"Complete groups: ",{"type":993,"tag":1048,"props":3129,"children":3130},{"style":1075},[3131],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3133,"children":3134},{"style":1063},[3135],{"type":998,"value":3136},"steps",{"type":993,"tag":1048,"props":3138,"children":3139},{"style":1075},[3140],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3142,"children":3143},{"style":1141},[3144],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3146,"children":3147},{"style":1063},[3148],{"type":998,"value":3149},")                ",{"type":993,"tag":1048,"props":3151,"children":3152},{"style":1054},[3153],{"type":998,"value":2975},{"type":993,"tag":1364,"props":3155,"children":3157},{"id":3156},"working-with-lists-and-assignment",[3158],{"type":998,"value":3159},"✨ Working with Lists and Assignment",{"type":993,"tag":1001,"props":3161,"children":3162},{},[3163],{"type":998,"value":3164},"Assignment operators behave differently with mutable objects like lists. Understanding this difference is crucial for avoiding unexpected behavior.",{"type":993,"tag":1383,"props":3166,"children":3169},{"emoji":3167,"title":3168,"type":1387},"✨","List Assignment Behavior",[3170,3178,3206,3214,3239,3247,3275],{"type":993,"tag":1001,"props":3171,"children":3172},{},[3173],{"type":993,"tag":1007,"props":3174,"children":3175},{},[3176],{"type":998,"value":3177},"Key Difference:",{"type":993,"tag":1398,"props":3179,"children":3180},{},[3181,3191,3201],{"type":993,"tag":1402,"props":3182,"children":3183},{},[3184,3189],{"type":993,"tag":1044,"props":3185,"children":3187},{"className":3186},[],[3188],{"type":998,"value":1201},{"type":998,"value":3190}," modifies the original list in place",{"type":993,"tag":1402,"props":3192,"children":3193},{},[3194,3199],{"type":993,"tag":1044,"props":3195,"children":3197},{"className":3196},[],[3198],{"type":998,"value":1115},{"type":998,"value":3200}," creates a new list object",{"type":993,"tag":1402,"props":3202,"children":3203},{},[3204],{"type":998,"value":3205},"Important for mutable vs immutable objects",{"type":993,"tag":1001,"props":3207,"children":3208},{},[3209],{"type":993,"tag":1007,"props":3210,"children":3211},{},[3212],{"type":998,"value":3213},"Example:",{"type":993,"tag":1398,"props":3215,"children":3216},{},[3217,3228],{"type":993,"tag":1402,"props":3218,"children":3219},{},[3220,3226],{"type":993,"tag":1044,"props":3221,"children":3223},{"className":3222},[],[3224],{"type":998,"value":3225},"x += [4]",{"type":998,"value":3227}," - modifies existing list",{"type":993,"tag":1402,"props":3229,"children":3230},{},[3231,3237],{"type":993,"tag":1044,"props":3232,"children":3234},{"className":3233},[],[3235],{"type":998,"value":3236},"x = x + [4]",{"type":998,"value":3238}," - creates new list",{"type":993,"tag":1001,"props":3240,"children":3241},{},[3242],{"type":993,"tag":1007,"props":3243,"children":3244},{},[3245],{"type":998,"value":3246},"Memory Impact:",{"type":993,"tag":1398,"props":3248,"children":3249},{},[3250,3260,3270],{"type":993,"tag":1402,"props":3251,"children":3252},{},[3253,3258],{"type":993,"tag":1044,"props":3254,"children":3256},{"className":3255},[],[3257],{"type":998,"value":1201},{"type":998,"value":3259}," more memory efficient",{"type":993,"tag":1402,"props":3261,"children":3262},{},[3263,3268],{"type":993,"tag":1044,"props":3264,"children":3266},{"className":3265},[],[3267],{"type":998,"value":1115},{"type":998,"value":3269}," safer for avoiding side effects",{"type":993,"tag":1402,"props":3271,"children":3272},{},[3273],{"type":998,"value":3274},"Different behavior with shared references",{"type":993,"tag":1001,"props":3276,"children":3277},{},[3278,3283,3285,3290,3292,3297],{"type":993,"tag":1007,"props":3279,"children":3280},{},[3281],{"type":998,"value":3282},"Key Point:",{"type":998,"value":3284}," ",{"type":993,"tag":1044,"props":3286,"children":3288},{"className":3287},[],[3289],{"type":998,"value":1201},{"type":998,"value":3291}," modifies original, ",{"type":993,"tag":1044,"props":3293,"children":3295},{"className":3294},[],[3296],{"type":998,"value":1115},{"type":998,"value":3298}," creates new list",{"type":993,"tag":1034,"props":3300,"children":3301},{},[3302],{"type":993,"tag":1038,"props":3303,"children":3305},{"className":1040,"code":3304,"language":6,"meta":8,"style":8},"# List assignment differences\nprint(\"=== LIST ASSIGNMENT ===\")\n\n# += modifies the original list\nlist1 = [1, 2, 3]\noriginal_list1 = list1  # Same reference\nlist1 += [4]\nprint(f\"After +=: list1 = {list1}\")               # [1, 2, 3, 4]\nprint(f\"Original reference: {original_list1}\")    # [1, 2, 3, 4] (also changed!)\n\n# + creates a new list\nlist2 = [1, 2, 3]\noriginal_list2 = list2  # Same reference\nlist2 = list2 + [4]\nprint(f\"After +: list2 = {list2}\")                # [1, 2, 3, 4]\nprint(f\"Original reference: {original_list2}\")    # [1, 2, 3] (unchanged!)\n",[3306],{"type":993,"tag":1044,"props":3307,"children":3308},{"__ignoreMap":8},[3309,3317,3337,3344,3352,3397,3419,3443,3490,3537,3544,3552,3592,3613,3645,3690],{"type":993,"tag":1048,"props":3310,"children":3311},{"class":1050,"line":12},[3312],{"type":993,"tag":1048,"props":3313,"children":3314},{"style":1054},[3315],{"type":998,"value":3316},"# List assignment differences\n",{"type":993,"tag":1048,"props":3318,"children":3319},{"class":1050,"line":27},[3320,3324,3328,3333],{"type":993,"tag":1048,"props":3321,"children":3322},{"style":1075},[3323],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3325,"children":3326},{"style":1063},[3327],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3329,"children":3330},{"style":1141},[3331],{"type":998,"value":3332},"\"=== LIST ASSIGNMENT ===\"",{"type":993,"tag":1048,"props":3334,"children":3335},{"style":1063},[3336],{"type":998,"value":1614},{"type":993,"tag":1048,"props":3338,"children":3339},{"class":1050,"line":36},[3340],{"type":993,"tag":1048,"props":3341,"children":3342},{"emptyLinePlaceholder":13},[3343],{"type":998,"value":1086},{"type":993,"tag":1048,"props":3345,"children":3346},{"class":1050,"line":45},[3347],{"type":993,"tag":1048,"props":3348,"children":3349},{"style":1054},[3350],{"type":998,"value":3351},"# += modifies the original list\n",{"type":993,"tag":1048,"props":3353,"children":3354},{"class":1050,"line":54},[3355,3360,3364,3369,3374,3378,3383,3387,3392],{"type":993,"tag":1048,"props":3356,"children":3357},{"style":1063},[3358],{"type":998,"value":3359},"list1 ",{"type":993,"tag":1048,"props":3361,"children":3362},{"style":1069},[3363],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3365,"children":3366},{"style":1063},[3367],{"type":998,"value":3368}," [",{"type":993,"tag":1048,"props":3370,"children":3371},{"style":1075},[3372],{"type":998,"value":3373},"1",{"type":993,"tag":1048,"props":3375,"children":3376},{"style":1063},[3377],{"type":998,"value":1871},{"type":993,"tag":1048,"props":3379,"children":3380},{"style":1075},[3381],{"type":998,"value":3382},"2",{"type":993,"tag":1048,"props":3384,"children":3385},{"style":1063},[3386],{"type":998,"value":1871},{"type":993,"tag":1048,"props":3388,"children":3389},{"style":1075},[3390],{"type":998,"value":3391},"3",{"type":993,"tag":1048,"props":3393,"children":3394},{"style":1063},[3395],{"type":998,"value":3396},"]\n",{"type":993,"tag":1048,"props":3398,"children":3399},{"class":1050,"line":63},[3400,3405,3409,3414],{"type":993,"tag":1048,"props":3401,"children":3402},{"style":1063},[3403],{"type":998,"value":3404},"original_list1 ",{"type":993,"tag":1048,"props":3406,"children":3407},{"style":1069},[3408],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3410,"children":3411},{"style":1063},[3412],{"type":998,"value":3413}," list1  ",{"type":993,"tag":1048,"props":3415,"children":3416},{"style":1054},[3417],{"type":998,"value":3418},"# Same reference\n",{"type":993,"tag":1048,"props":3420,"children":3421},{"class":1050,"line":72},[3422,3426,3430,3434,3439],{"type":993,"tag":1048,"props":3423,"children":3424},{"style":1063},[3425],{"type":998,"value":3359},{"type":993,"tag":1048,"props":3427,"children":3428},{"style":1069},[3429],{"type":998,"value":1201},{"type":993,"tag":1048,"props":3431,"children":3432},{"style":1063},[3433],{"type":998,"value":3368},{"type":993,"tag":1048,"props":3435,"children":3436},{"style":1075},[3437],{"type":998,"value":3438},"4",{"type":993,"tag":1048,"props":3440,"children":3441},{"style":1063},[3442],{"type":998,"value":3396},{"type":993,"tag":1048,"props":3444,"children":3445},{"class":1050,"line":81},[3446,3450,3454,3458,3463,3467,3472,3476,3480,3485],{"type":993,"tag":1048,"props":3447,"children":3448},{"style":1075},[3449],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3451,"children":3452},{"style":1063},[3453],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3455,"children":3456},{"style":1069},[3457],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3459,"children":3460},{"style":1141},[3461],{"type":998,"value":3462},"\"After +=: list1 = ",{"type":993,"tag":1048,"props":3464,"children":3465},{"style":1075},[3466],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3468,"children":3469},{"style":1063},[3470],{"type":998,"value":3471},"list1",{"type":993,"tag":1048,"props":3473,"children":3474},{"style":1075},[3475],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3477,"children":3478},{"style":1141},[3479],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3481,"children":3482},{"style":1063},[3483],{"type":998,"value":3484},")               ",{"type":993,"tag":1048,"props":3486,"children":3487},{"style":1054},[3488],{"type":998,"value":3489},"# [1, 2, 3, 4]\n",{"type":993,"tag":1048,"props":3491,"children":3492},{"class":1050,"line":91},[3493,3497,3501,3505,3510,3514,3519,3523,3527,3532],{"type":993,"tag":1048,"props":3494,"children":3495},{"style":1075},[3496],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3498,"children":3499},{"style":1063},[3500],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3502,"children":3503},{"style":1069},[3504],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3506,"children":3507},{"style":1141},[3508],{"type":998,"value":3509},"\"Original reference: ",{"type":993,"tag":1048,"props":3511,"children":3512},{"style":1075},[3513],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3515,"children":3516},{"style":1063},[3517],{"type":998,"value":3518},"original_list1",{"type":993,"tag":1048,"props":3520,"children":3521},{"style":1075},[3522],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3524,"children":3525},{"style":1141},[3526],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3528,"children":3529},{"style":1063},[3530],{"type":998,"value":3531},")    ",{"type":993,"tag":1048,"props":3533,"children":3534},{"style":1054},[3535],{"type":998,"value":3536},"# [1, 2, 3, 4] (also changed!)\n",{"type":993,"tag":1048,"props":3538,"children":3539},{"class":1050,"line":100},[3540],{"type":993,"tag":1048,"props":3541,"children":3542},{"emptyLinePlaceholder":13},[3543],{"type":998,"value":1086},{"type":993,"tag":1048,"props":3545,"children":3546},{"class":1050,"line":109},[3547],{"type":993,"tag":1048,"props":3548,"children":3549},{"style":1054},[3550],{"type":998,"value":3551},"# + creates a new list\n",{"type":993,"tag":1048,"props":3553,"children":3554},{"class":1050,"line":118},[3555,3560,3564,3568,3572,3576,3580,3584,3588],{"type":993,"tag":1048,"props":3556,"children":3557},{"style":1063},[3558],{"type":998,"value":3559},"list2 ",{"type":993,"tag":1048,"props":3561,"children":3562},{"style":1069},[3563],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3565,"children":3566},{"style":1063},[3567],{"type":998,"value":3368},{"type":993,"tag":1048,"props":3569,"children":3570},{"style":1075},[3571],{"type":998,"value":3373},{"type":993,"tag":1048,"props":3573,"children":3574},{"style":1063},[3575],{"type":998,"value":1871},{"type":993,"tag":1048,"props":3577,"children":3578},{"style":1075},[3579],{"type":998,"value":3382},{"type":993,"tag":1048,"props":3581,"children":3582},{"style":1063},[3583],{"type":998,"value":1871},{"type":993,"tag":1048,"props":3585,"children":3586},{"style":1075},[3587],{"type":998,"value":3391},{"type":993,"tag":1048,"props":3589,"children":3590},{"style":1063},[3591],{"type":998,"value":3396},{"type":993,"tag":1048,"props":3593,"children":3594},{"class":1050,"line":127},[3595,3600,3604,3609],{"type":993,"tag":1048,"props":3596,"children":3597},{"style":1063},[3598],{"type":998,"value":3599},"original_list2 ",{"type":993,"tag":1048,"props":3601,"children":3602},{"style":1069},[3603],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3605,"children":3606},{"style":1063},[3607],{"type":998,"value":3608}," list2  ",{"type":993,"tag":1048,"props":3610,"children":3611},{"style":1054},[3612],{"type":998,"value":3418},{"type":993,"tag":1048,"props":3614,"children":3615},{"class":1050,"line":136},[3616,3620,3624,3629,3633,3637,3641],{"type":993,"tag":1048,"props":3617,"children":3618},{"style":1063},[3619],{"type":998,"value":3559},{"type":993,"tag":1048,"props":3621,"children":3622},{"style":1069},[3623],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3625,"children":3626},{"style":1063},[3627],{"type":998,"value":3628}," list2 ",{"type":993,"tag":1048,"props":3630,"children":3631},{"style":1069},[3632],{"type":998,"value":1115},{"type":993,"tag":1048,"props":3634,"children":3635},{"style":1063},[3636],{"type":998,"value":3368},{"type":993,"tag":1048,"props":3638,"children":3639},{"style":1075},[3640],{"type":998,"value":3438},{"type":993,"tag":1048,"props":3642,"children":3643},{"style":1063},[3644],{"type":998,"value":3396},{"type":993,"tag":1048,"props":3646,"children":3647},{"class":1050,"line":146},[3648,3652,3656,3660,3665,3669,3674,3678,3682,3686],{"type":993,"tag":1048,"props":3649,"children":3650},{"style":1075},[3651],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3653,"children":3654},{"style":1063},[3655],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3657,"children":3658},{"style":1069},[3659],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3661,"children":3662},{"style":1141},[3663],{"type":998,"value":3664},"\"After +: list2 = ",{"type":993,"tag":1048,"props":3666,"children":3667},{"style":1075},[3668],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3670,"children":3671},{"style":1063},[3672],{"type":998,"value":3673},"list2",{"type":993,"tag":1048,"props":3675,"children":3676},{"style":1075},[3677],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3679,"children":3680},{"style":1141},[3681],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3683,"children":3684},{"style":1063},[3685],{"type":998,"value":3149},{"type":993,"tag":1048,"props":3687,"children":3688},{"style":1054},[3689],{"type":998,"value":3489},{"type":993,"tag":1048,"props":3691,"children":3692},{"class":1050,"line":155},[3693,3697,3701,3705,3709,3713,3718,3722,3726,3730],{"type":993,"tag":1048,"props":3694,"children":3695},{"style":1075},[3696],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3698,"children":3699},{"style":1063},[3700],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3702,"children":3703},{"style":1069},[3704],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3706,"children":3707},{"style":1141},[3708],{"type":998,"value":3509},{"type":993,"tag":1048,"props":3710,"children":3711},{"style":1075},[3712],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3714,"children":3715},{"style":1063},[3716],{"type":998,"value":3717},"original_list2",{"type":993,"tag":1048,"props":3719,"children":3720},{"style":1075},[3721],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3723,"children":3724},{"style":1141},[3725],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3727,"children":3728},{"style":1063},[3729],{"type":998,"value":3531},{"type":993,"tag":1048,"props":3731,"children":3732},{"style":1054},[3733],{"type":998,"value":3734},"# [1, 2, 3] (unchanged!)\n",{"type":993,"tag":1364,"props":3736,"children":3738},{"id":3737},"practical-applications",[3739],{"type":998,"value":3740},"💼 Practical Applications",{"type":993,"tag":1001,"props":3742,"children":3743},{},[3744],{"type":998,"value":3745},"Assignment operators are essential for many programming patterns, especially in loops, counters, and accumulator operations.",{"type":993,"tag":1034,"props":3747,"children":3748},{},[3749],{"type":993,"tag":1038,"props":3750,"children":3752},{"className":1040,"code":3751,"language":6,"meta":8,"style":8},"# Practical assignment examples\nprint(\"=== PRACTICAL EXAMPLES ===\")\n\n# Counter pattern\ncount = 0\ncount += 1  # Increment counter\ncount += 1  # Increment again\nprint(f\"Counter value: {count}\")                  # 2\n\n# Accumulator pattern  \ntotal = 0\nprices = [19.99, 25.50, 12.75]\nfor price in prices:\n    total += price  # Accumulate total\nprint(f\"Total price: ${total:.2f}\")               # $58.24\n\n# Level progression in game\nexperience = 1000\nexperience *= 1.5  # 50% bonus\nexperience //= 100  # Convert to level points\nprint(f\"Level points: {experience}\")              # 15\n\n# Step by step breakdown from exercise\nx = 10\nprint(f\"Starting value: {x}\")                     # 10\nx += 5\nprint(f\"After += 5: {x}\")                         # 15\nx *= 2  \nprint(f\"After *= 2: {x}\")                         # 30\n",[3753],{"type":993,"tag":1044,"props":3754,"children":3755},{"__ignoreMap":8},[3756,3764,3784,3791,3799,3815,3836,3856,3902,3909,3917,3932,3975,3998,4020,4070,4077,4085,4102,4123,4144,4191,4198,4206,4221,4266,4282,4327,4347],{"type":993,"tag":1048,"props":3757,"children":3758},{"class":1050,"line":12},[3759],{"type":993,"tag":1048,"props":3760,"children":3761},{"style":1054},[3762],{"type":998,"value":3763},"# Practical assignment examples\n",{"type":993,"tag":1048,"props":3765,"children":3766},{"class":1050,"line":27},[3767,3771,3775,3780],{"type":993,"tag":1048,"props":3768,"children":3769},{"style":1075},[3770],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3772,"children":3773},{"style":1063},[3774],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3776,"children":3777},{"style":1141},[3778],{"type":998,"value":3779},"\"=== PRACTICAL EXAMPLES ===\"",{"type":993,"tag":1048,"props":3781,"children":3782},{"style":1063},[3783],{"type":998,"value":1614},{"type":993,"tag":1048,"props":3785,"children":3786},{"class":1050,"line":36},[3787],{"type":993,"tag":1048,"props":3788,"children":3789},{"emptyLinePlaceholder":13},[3790],{"type":998,"value":1086},{"type":993,"tag":1048,"props":3792,"children":3793},{"class":1050,"line":45},[3794],{"type":993,"tag":1048,"props":3795,"children":3796},{"style":1054},[3797],{"type":998,"value":3798},"# Counter pattern\n",{"type":993,"tag":1048,"props":3800,"children":3801},{"class":1050,"line":54},[3802,3807,3811],{"type":993,"tag":1048,"props":3803,"children":3804},{"style":1063},[3805],{"type":998,"value":3806},"count ",{"type":993,"tag":1048,"props":3808,"children":3809},{"style":1069},[3810],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3812,"children":3813},{"style":1075},[3814],{"type":998,"value":1746},{"type":993,"tag":1048,"props":3816,"children":3817},{"class":1050,"line":63},[3818,3822,3826,3831],{"type":993,"tag":1048,"props":3819,"children":3820},{"style":1063},[3821],{"type":998,"value":3806},{"type":993,"tag":1048,"props":3823,"children":3824},{"style":1069},[3825],{"type":998,"value":1201},{"type":993,"tag":1048,"props":3827,"children":3828},{"style":1075},[3829],{"type":998,"value":3830}," 1",{"type":993,"tag":1048,"props":3832,"children":3833},{"style":1054},[3834],{"type":998,"value":3835},"  # Increment counter\n",{"type":993,"tag":1048,"props":3837,"children":3838},{"class":1050,"line":72},[3839,3843,3847,3851],{"type":993,"tag":1048,"props":3840,"children":3841},{"style":1063},[3842],{"type":998,"value":3806},{"type":993,"tag":1048,"props":3844,"children":3845},{"style":1069},[3846],{"type":998,"value":1201},{"type":993,"tag":1048,"props":3848,"children":3849},{"style":1075},[3850],{"type":998,"value":3830},{"type":993,"tag":1048,"props":3852,"children":3853},{"style":1054},[3854],{"type":998,"value":3855},"  # Increment again\n",{"type":993,"tag":1048,"props":3857,"children":3858},{"class":1050,"line":81},[3859,3863,3867,3871,3876,3880,3885,3889,3893,3898],{"type":993,"tag":1048,"props":3860,"children":3861},{"style":1075},[3862],{"type":998,"value":1128},{"type":993,"tag":1048,"props":3864,"children":3865},{"style":1063},[3866],{"type":998,"value":1133},{"type":993,"tag":1048,"props":3868,"children":3869},{"style":1069},[3870],{"type":998,"value":1138},{"type":993,"tag":1048,"props":3872,"children":3873},{"style":1141},[3874],{"type":998,"value":3875},"\"Counter value: ",{"type":993,"tag":1048,"props":3877,"children":3878},{"style":1075},[3879],{"type":998,"value":1149},{"type":993,"tag":1048,"props":3881,"children":3882},{"style":1063},[3883],{"type":998,"value":3884},"count",{"type":993,"tag":1048,"props":3886,"children":3887},{"style":1075},[3888],{"type":998,"value":1159},{"type":993,"tag":1048,"props":3890,"children":3891},{"style":1141},[3892],{"type":998,"value":1164},{"type":993,"tag":1048,"props":3894,"children":3895},{"style":1063},[3896],{"type":998,"value":3897},")                  ",{"type":993,"tag":1048,"props":3899,"children":3900},{"style":1054},[3901],{"type":998,"value":2975},{"type":993,"tag":1048,"props":3903,"children":3904},{"class":1050,"line":91},[3905],{"type":993,"tag":1048,"props":3906,"children":3907},{"emptyLinePlaceholder":13},[3908],{"type":998,"value":1086},{"type":993,"tag":1048,"props":3910,"children":3911},{"class":1050,"line":100},[3912],{"type":993,"tag":1048,"props":3913,"children":3914},{"style":1054},[3915],{"type":998,"value":3916},"# Accumulator pattern  \n",{"type":993,"tag":1048,"props":3918,"children":3919},{"class":1050,"line":109},[3920,3924,3928],{"type":993,"tag":1048,"props":3921,"children":3922},{"style":1063},[3923],{"type":998,"value":2262},{"type":993,"tag":1048,"props":3925,"children":3926},{"style":1069},[3927],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3929,"children":3930},{"style":1075},[3931],{"type":998,"value":1746},{"type":993,"tag":1048,"props":3933,"children":3934},{"class":1050,"line":118},[3935,3940,3944,3948,3953,3957,3962,3966,3971],{"type":993,"tag":1048,"props":3936,"children":3937},{"style":1063},[3938],{"type":998,"value":3939},"prices ",{"type":993,"tag":1048,"props":3941,"children":3942},{"style":1069},[3943],{"type":998,"value":1072},{"type":993,"tag":1048,"props":3945,"children":3946},{"style":1063},[3947],{"type":998,"value":3368},{"type":993,"tag":1048,"props":3949,"children":3950},{"style":1075},[3951],{"type":998,"value":3952},"19.99",{"type":993,"tag":1048,"props":3954,"children":3955},{"style":1063},[3956],{"type":998,"value":1871},{"type":993,"tag":1048,"props":3958,"children":3959},{"style":1075},[3960],{"type":998,"value":3961},"25.50",{"type":993,"tag":1048,"props":3963,"children":3964},{"style":1063},[3965],{"type":998,"value":1871},{"type":993,"tag":1048,"props":3967,"children":3968},{"style":1075},[3969],{"type":998,"value":3970},"12.75",{"type":993,"tag":1048,"props":3972,"children":3973},{"style":1063},[3974],{"type":998,"value":3396},{"type":993,"tag":1048,"props":3976,"children":3977},{"class":1050,"line":127},[3978,3983,3988,3993],{"type":993,"tag":1048,"props":3979,"children":3980},{"style":1069},[3981],{"type":998,"value":3982},"for",{"type":993,"tag":1048,"props":3984,"children":3985},{"style":1063},[3986],{"type":998,"value":3987}," price ",{"type":993,"tag":1048,"props":3989,"children":3990},{"style":1069},[3991],{"type":998,"value":3992},"in",{"type":993,"tag":1048,"props":3994,"children":3995},{"style":1063},[3996],{"type":998,"value":3997}," prices:\n",{"type":993,"tag":1048,"props":3999,"children":4000},{"class":1050,"line":136},[4001,4006,4010,4015],{"type":993,"tag":1048,"props":4002,"children":4003},{"style":1063},[4004],{"type":998,"value":4005},"    total ",{"type":993,"tag":1048,"props":4007,"children":4008},{"style":1069},[4009],{"type":998,"value":1201},{"type":993,"tag":1048,"props":4011,"children":4012},{"style":1063},[4013],{"type":998,"value":4014}," price  ",{"type":993,"tag":1048,"props":4016,"children":4017},{"style":1054},[4018],{"type":998,"value":4019},"# Accumulate total\n",{"type":993,"tag":1048,"props":4021,"children":4022},{"class":1050,"line":146},[4023,4027,4031,4035,4040,4044,4048,4053,4057,4061,4065],{"type":993,"tag":1048,"props":4024,"children":4025},{"style":1075},[4026],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4028,"children":4029},{"style":1063},[4030],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4032,"children":4033},{"style":1069},[4034],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4036,"children":4037},{"style":1141},[4038],{"type":998,"value":4039},"\"Total price: $",{"type":993,"tag":1048,"props":4041,"children":4042},{"style":1075},[4043],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4045,"children":4046},{"style":1063},[4047],{"type":998,"value":2335},{"type":993,"tag":1048,"props":4049,"children":4050},{"style":1069},[4051],{"type":998,"value":4052},":.2f",{"type":993,"tag":1048,"props":4054,"children":4055},{"style":1075},[4056],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4058,"children":4059},{"style":1141},[4060],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4062,"children":4063},{"style":1063},[4064],{"type":998,"value":3484},{"type":993,"tag":1048,"props":4066,"children":4067},{"style":1054},[4068],{"type":998,"value":4069},"# $58.24\n",{"type":993,"tag":1048,"props":4071,"children":4072},{"class":1050,"line":155},[4073],{"type":993,"tag":1048,"props":4074,"children":4075},{"emptyLinePlaceholder":13},[4076],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4078,"children":4079},{"class":1050,"line":164},[4080],{"type":993,"tag":1048,"props":4081,"children":4082},{"style":1054},[4083],{"type":998,"value":4084},"# Level progression in game\n",{"type":993,"tag":1048,"props":4086,"children":4087},{"class":1050,"line":173},[4088,4093,4097],{"type":993,"tag":1048,"props":4089,"children":4090},{"style":1063},[4091],{"type":998,"value":4092},"experience ",{"type":993,"tag":1048,"props":4094,"children":4095},{"style":1069},[4096],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4098,"children":4099},{"style":1075},[4100],{"type":998,"value":4101}," 1000\n",{"type":993,"tag":1048,"props":4103,"children":4104},{"class":1050,"line":182},[4105,4109,4113,4118],{"type":993,"tag":1048,"props":4106,"children":4107},{"style":1063},[4108],{"type":998,"value":4092},{"type":993,"tag":1048,"props":4110,"children":4111},{"style":1069},[4112],{"type":998,"value":1306},{"type":993,"tag":1048,"props":4114,"children":4115},{"style":1075},[4116],{"type":998,"value":4117}," 1.5",{"type":993,"tag":1048,"props":4119,"children":4120},{"style":1054},[4121],{"type":998,"value":4122},"  # 50% bonus\n",{"type":993,"tag":1048,"props":4124,"children":4125},{"class":1050,"line":191},[4126,4130,4134,4139],{"type":993,"tag":1048,"props":4127,"children":4128},{"style":1063},[4129],{"type":998,"value":4092},{"type":993,"tag":1048,"props":4131,"children":4132},{"style":1069},[4133],{"type":998,"value":2161},{"type":993,"tag":1048,"props":4135,"children":4136},{"style":1075},[4137],{"type":998,"value":4138}," 100",{"type":993,"tag":1048,"props":4140,"children":4141},{"style":1054},[4142],{"type":998,"value":4143},"  # Convert to level points\n",{"type":993,"tag":1048,"props":4145,"children":4146},{"class":1050,"line":201},[4147,4151,4155,4159,4164,4168,4173,4177,4181,4186],{"type":993,"tag":1048,"props":4148,"children":4149},{"style":1075},[4150],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4152,"children":4153},{"style":1063},[4154],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4156,"children":4157},{"style":1069},[4158],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4160,"children":4161},{"style":1141},[4162],{"type":998,"value":4163},"\"Level points: ",{"type":993,"tag":1048,"props":4165,"children":4166},{"style":1075},[4167],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4169,"children":4170},{"style":1063},[4171],{"type":998,"value":4172},"experience",{"type":993,"tag":1048,"props":4174,"children":4175},{"style":1075},[4176],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4178,"children":4179},{"style":1141},[4180],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4182,"children":4183},{"style":1063},[4184],{"type":998,"value":4185},")              ",{"type":993,"tag":1048,"props":4187,"children":4188},{"style":1054},[4189],{"type":998,"value":4190},"# 15\n",{"type":993,"tag":1048,"props":4192,"children":4193},{"class":1050,"line":210},[4194],{"type":993,"tag":1048,"props":4195,"children":4196},{"emptyLinePlaceholder":13},[4197],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4199,"children":4200},{"class":1050,"line":219},[4201],{"type":993,"tag":1048,"props":4202,"children":4203},{"style":1054},[4204],{"type":998,"value":4205},"# Step by step breakdown from exercise\n",{"type":993,"tag":1048,"props":4207,"children":4208},{"class":1050,"line":228},[4209,4213,4217],{"type":993,"tag":1048,"props":4210,"children":4211},{"style":1063},[4212],{"type":998,"value":1719},{"type":993,"tag":1048,"props":4214,"children":4215},{"style":1069},[4216],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4218,"children":4219},{"style":1075},[4220],{"type":998,"value":1120},{"type":993,"tag":1048,"props":4222,"children":4223},{"class":1050,"line":238},[4224,4228,4232,4236,4241,4245,4249,4253,4257,4261],{"type":993,"tag":1048,"props":4225,"children":4226},{"style":1075},[4227],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4229,"children":4230},{"style":1063},[4231],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4233,"children":4234},{"style":1069},[4235],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4237,"children":4238},{"style":1141},[4239],{"type":998,"value":4240},"\"Starting value: ",{"type":993,"tag":1048,"props":4242,"children":4243},{"style":1075},[4244],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4246,"children":4247},{"style":1063},[4248],{"type":998,"value":1775},{"type":993,"tag":1048,"props":4250,"children":4251},{"style":1075},[4252],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4254,"children":4255},{"style":1141},[4256],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4258,"children":4259},{"style":1063},[4260],{"type":998,"value":1824},{"type":993,"tag":1048,"props":4262,"children":4263},{"style":1054},[4264],{"type":998,"value":4265},"# 10\n",{"type":993,"tag":1048,"props":4267,"children":4268},{"class":1050,"line":247},[4269,4273,4277],{"type":993,"tag":1048,"props":4270,"children":4271},{"style":1063},[4272],{"type":998,"value":1719},{"type":993,"tag":1048,"props":4274,"children":4275},{"style":1069},[4276],{"type":998,"value":1201},{"type":993,"tag":1048,"props":4278,"children":4279},{"style":1075},[4280],{"type":998,"value":4281}," 5\n",{"type":993,"tag":1048,"props":4283,"children":4284},{"class":1050,"line":256},[4285,4289,4293,4297,4302,4306,4310,4314,4318,4323],{"type":993,"tag":1048,"props":4286,"children":4287},{"style":1075},[4288],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4290,"children":4291},{"style":1063},[4292],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4294,"children":4295},{"style":1069},[4296],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4298,"children":4299},{"style":1141},[4300],{"type":998,"value":4301},"\"After += 5: ",{"type":993,"tag":1048,"props":4303,"children":4304},{"style":1075},[4305],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4307,"children":4308},{"style":1063},[4309],{"type":998,"value":1775},{"type":993,"tag":1048,"props":4311,"children":4312},{"style":1075},[4313],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4315,"children":4316},{"style":1141},[4317],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4319,"children":4320},{"style":1063},[4321],{"type":998,"value":4322},")                         ",{"type":993,"tag":1048,"props":4324,"children":4325},{"style":1054},[4326],{"type":998,"value":4190},{"type":993,"tag":1048,"props":4328,"children":4329},{"class":1050,"line":265},[4330,4334,4338,4342],{"type":993,"tag":1048,"props":4331,"children":4332},{"style":1063},[4333],{"type":998,"value":1719},{"type":993,"tag":1048,"props":4335,"children":4336},{"style":1069},[4337],{"type":998,"value":1306},{"type":993,"tag":1048,"props":4339,"children":4340},{"style":1075},[4341],{"type":998,"value":1311},{"type":993,"tag":1048,"props":4343,"children":4344},{"style":1063},[4345],{"type":998,"value":4346},"  \n",{"type":993,"tag":1048,"props":4348,"children":4349},{"class":1050,"line":274},[4350,4354,4358,4362,4366,4370,4374,4378,4382,4386],{"type":993,"tag":1048,"props":4351,"children":4352},{"style":1075},[4353],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4355,"children":4356},{"style":1063},[4357],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4359,"children":4360},{"style":1069},[4361],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4363,"children":4364},{"style":1141},[4365],{"type":998,"value":2488},{"type":993,"tag":1048,"props":4367,"children":4368},{"style":1075},[4369],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4371,"children":4372},{"style":1063},[4373],{"type":998,"value":1775},{"type":993,"tag":1048,"props":4375,"children":4376},{"style":1075},[4377],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4379,"children":4380},{"style":1141},[4381],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4383,"children":4384},{"style":1063},[4385],{"type":998,"value":4322},{"type":993,"tag":1048,"props":4387,"children":4388},{"style":1054},[4389],{"type":998,"value":4390},"# 30\n",{"type":993,"tag":4392,"props":4393,"children":4395},"content-exercise",{":widget-view":4394,"category":6,"id":172},"true",[],{"type":993,"tag":1364,"props":4397,"children":4399},{"id":4398},"quick-assignment-practice",[4400],{"type":998,"value":4401},"🔧 Quick Assignment Practice",{"type":993,"tag":1001,"props":4403,"children":4404},{},[4405],{"type":998,"value":4406},"Let's practice using assignment operators to update variables efficiently!",{"type":993,"tag":4408,"props":4409,"children":4412},"exercise",{"hint":4410,"prompt":4411},"Try updating a score with different assignment operators!","Practice using assignment shortcuts like +=, -=, *=, and /= to update variables.",[4413],{"type":993,"tag":1038,"props":4414,"children":4416},{"className":1040,"code":4415,"language":6,"meta":8,"style":8},"# Assignment Practice - Simple updates!\n\n# Game score tracking\nscore = 100\nlives = 3\nmultiplier = 1\n\n# Player gets bonus points\n# TODO: Add 50 points\n\n# Player loses a life  \n# TODO: Subtract 1 life\n\n# Activate score multiplier\n# TODO: Double the multiplier\n\n# Apply multiplier to score\n# TODO: Multiply score by multiplier\n\nprint(f\"Final score: {score}\")\nprint(f\"Lives remaining: {lives}\")\nprint(f\"Score multiplier: {multiplier}\")\n",[4417],{"type":993,"tag":1044,"props":4418,"children":4419},{"__ignoreMap":8},[4420,4428,4435,4443,4458,4475,4492,4499,4507,4525,4532,4540,4556,4563,4571,4587,4594,4602,4618,4625,4664,4705],{"type":993,"tag":1048,"props":4421,"children":4422},{"class":1050,"line":12},[4423],{"type":993,"tag":1048,"props":4424,"children":4425},{"style":1054},[4426],{"type":998,"value":4427},"# Assignment Practice - Simple updates!\n",{"type":993,"tag":1048,"props":4429,"children":4430},{"class":1050,"line":27},[4431],{"type":993,"tag":1048,"props":4432,"children":4433},{"emptyLinePlaceholder":13},[4434],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4436,"children":4437},{"class":1050,"line":36},[4438],{"type":993,"tag":1048,"props":4439,"children":4440},{"style":1054},[4441],{"type":998,"value":4442},"# Game score tracking\n",{"type":993,"tag":1048,"props":4444,"children":4445},{"class":1050,"line":45},[4446,4450,4454],{"type":993,"tag":1048,"props":4447,"children":4448},{"style":1063},[4449],{"type":998,"value":1066},{"type":993,"tag":1048,"props":4451,"children":4452},{"style":1069},[4453],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4455,"children":4456},{"style":1075},[4457],{"type":998,"value":1078},{"type":993,"tag":1048,"props":4459,"children":4460},{"class":1050,"line":54},[4461,4466,4470],{"type":993,"tag":1048,"props":4462,"children":4463},{"style":1063},[4464],{"type":998,"value":4465},"lives ",{"type":993,"tag":1048,"props":4467,"children":4468},{"style":1069},[4469],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4471,"children":4472},{"style":1075},[4473],{"type":998,"value":4474}," 3\n",{"type":993,"tag":1048,"props":4476,"children":4477},{"class":1050,"line":63},[4478,4483,4487],{"type":993,"tag":1048,"props":4479,"children":4480},{"style":1063},[4481],{"type":998,"value":4482},"multiplier ",{"type":993,"tag":1048,"props":4484,"children":4485},{"style":1069},[4486],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4488,"children":4489},{"style":1075},[4490],{"type":998,"value":4491}," 1\n",{"type":993,"tag":1048,"props":4493,"children":4494},{"class":1050,"line":72},[4495],{"type":993,"tag":1048,"props":4496,"children":4497},{"emptyLinePlaceholder":13},[4498],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4500,"children":4501},{"class":1050,"line":81},[4502],{"type":993,"tag":1048,"props":4503,"children":4504},{"style":1054},[4505],{"type":998,"value":4506},"# Player gets bonus points\n",{"type":993,"tag":1048,"props":4508,"children":4509},{"class":1050,"line":91},[4510,4515,4520],{"type":993,"tag":1048,"props":4511,"children":4512},{"style":1054},[4513],{"type":998,"value":4514},"# ",{"type":993,"tag":1048,"props":4516,"children":4517},{"style":1069},[4518],{"type":998,"value":4519},"TODO",{"type":993,"tag":1048,"props":4521,"children":4522},{"style":1054},[4523],{"type":998,"value":4524},": Add 50 points\n",{"type":993,"tag":1048,"props":4526,"children":4527},{"class":1050,"line":100},[4528],{"type":993,"tag":1048,"props":4529,"children":4530},{"emptyLinePlaceholder":13},[4531],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4533,"children":4534},{"class":1050,"line":109},[4535],{"type":993,"tag":1048,"props":4536,"children":4537},{"style":1054},[4538],{"type":998,"value":4539},"# Player loses a life  \n",{"type":993,"tag":1048,"props":4541,"children":4542},{"class":1050,"line":118},[4543,4547,4551],{"type":993,"tag":1048,"props":4544,"children":4545},{"style":1054},[4546],{"type":998,"value":4514},{"type":993,"tag":1048,"props":4548,"children":4549},{"style":1069},[4550],{"type":998,"value":4519},{"type":993,"tag":1048,"props":4552,"children":4553},{"style":1054},[4554],{"type":998,"value":4555},": Subtract 1 life\n",{"type":993,"tag":1048,"props":4557,"children":4558},{"class":1050,"line":127},[4559],{"type":993,"tag":1048,"props":4560,"children":4561},{"emptyLinePlaceholder":13},[4562],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4564,"children":4565},{"class":1050,"line":136},[4566],{"type":993,"tag":1048,"props":4567,"children":4568},{"style":1054},[4569],{"type":998,"value":4570},"# Activate score multiplier\n",{"type":993,"tag":1048,"props":4572,"children":4573},{"class":1050,"line":146},[4574,4578,4582],{"type":993,"tag":1048,"props":4575,"children":4576},{"style":1054},[4577],{"type":998,"value":4514},{"type":993,"tag":1048,"props":4579,"children":4580},{"style":1069},[4581],{"type":998,"value":4519},{"type":993,"tag":1048,"props":4583,"children":4584},{"style":1054},[4585],{"type":998,"value":4586},": Double the multiplier\n",{"type":993,"tag":1048,"props":4588,"children":4589},{"class":1050,"line":155},[4590],{"type":993,"tag":1048,"props":4591,"children":4592},{"emptyLinePlaceholder":13},[4593],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4595,"children":4596},{"class":1050,"line":164},[4597],{"type":993,"tag":1048,"props":4598,"children":4599},{"style":1054},[4600],{"type":998,"value":4601},"# Apply multiplier to score\n",{"type":993,"tag":1048,"props":4603,"children":4604},{"class":1050,"line":173},[4605,4609,4613],{"type":993,"tag":1048,"props":4606,"children":4607},{"style":1054},[4608],{"type":998,"value":4514},{"type":993,"tag":1048,"props":4610,"children":4611},{"style":1069},[4612],{"type":998,"value":4519},{"type":993,"tag":1048,"props":4614,"children":4615},{"style":1054},[4616],{"type":998,"value":4617},": Multiply score by multiplier\n",{"type":993,"tag":1048,"props":4619,"children":4620},{"class":1050,"line":182},[4621],{"type":993,"tag":1048,"props":4622,"children":4623},{"emptyLinePlaceholder":13},[4624],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4626,"children":4627},{"class":1050,"line":191},[4628,4632,4636,4640,4644,4648,4652,4656,4660],{"type":993,"tag":1048,"props":4629,"children":4630},{"style":1075},[4631],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4633,"children":4634},{"style":1063},[4635],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4637,"children":4638},{"style":1069},[4639],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4641,"children":4642},{"style":1141},[4643],{"type":998,"value":1336},{"type":993,"tag":1048,"props":4645,"children":4646},{"style":1075},[4647],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4649,"children":4650},{"style":1063},[4651],{"type":998,"value":1154},{"type":993,"tag":1048,"props":4653,"children":4654},{"style":1075},[4655],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4657,"children":4658},{"style":1141},[4659],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4661,"children":4662},{"style":1063},[4663],{"type":998,"value":1614},{"type":993,"tag":1048,"props":4665,"children":4666},{"class":1050,"line":201},[4667,4671,4675,4679,4684,4688,4693,4697,4701],{"type":993,"tag":1048,"props":4668,"children":4669},{"style":1075},[4670],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4672,"children":4673},{"style":1063},[4674],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4676,"children":4677},{"style":1069},[4678],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4680,"children":4681},{"style":1141},[4682],{"type":998,"value":4683},"\"Lives remaining: ",{"type":993,"tag":1048,"props":4685,"children":4686},{"style":1075},[4687],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4689,"children":4690},{"style":1063},[4691],{"type":998,"value":4692},"lives",{"type":993,"tag":1048,"props":4694,"children":4695},{"style":1075},[4696],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4698,"children":4699},{"style":1141},[4700],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4702,"children":4703},{"style":1063},[4704],{"type":998,"value":1614},{"type":993,"tag":1048,"props":4706,"children":4707},{"class":1050,"line":210},[4708,4712,4716,4720,4725,4729,4734,4738,4742],{"type":993,"tag":1048,"props":4709,"children":4710},{"style":1075},[4711],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4713,"children":4714},{"style":1063},[4715],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4717,"children":4718},{"style":1069},[4719],{"type":998,"value":1138},{"type":993,"tag":1048,"props":4721,"children":4722},{"style":1141},[4723],{"type":998,"value":4724},"\"Score multiplier: ",{"type":993,"tag":1048,"props":4726,"children":4727},{"style":1075},[4728],{"type":998,"value":1149},{"type":993,"tag":1048,"props":4730,"children":4731},{"style":1063},[4732],{"type":998,"value":4733},"multiplier",{"type":993,"tag":1048,"props":4735,"children":4736},{"style":1075},[4737],{"type":998,"value":1159},{"type":993,"tag":1048,"props":4739,"children":4740},{"style":1141},[4741],{"type":998,"value":1164},{"type":993,"tag":1048,"props":4743,"children":4744},{"style":1063},[4745],{"type":998,"value":1614},{"type":993,"tag":4747,"props":4748,"children":4750},"h3",{"id":4749},"solution-and-explanation",[4751],{"type":998,"value":4752},"Solution and Explanation 💡",{"type":993,"tag":4754,"props":4755,"children":4756},"details",{},[4757,4765,5104,5112],{"type":993,"tag":4758,"props":4759,"children":4762},"summary",{"className":4760},[4761],"cursor-pointer",[4763],{"type":998,"value":4764},"Click to see the complete solution",{"type":993,"tag":1034,"props":4766,"children":4767},{},[4768],{"type":993,"tag":1038,"props":4769,"children":4771},{"className":1040,"code":4770,"language":6,"meta":8,"style":8},"# Assignment Practice - Simple solution\n\n# Game score tracking\nscore = 100\nlives = 3\nmultiplier = 1\n\n# Player gets bonus points\nscore += 50    # score = score + 50 → 150\n\n# Player loses a life  \nlives -= 1     # lives = lives - 1 → 2\n\n# Activate score multiplier\nmultiplier *= 2  # multiplier = multiplier * 2 → 2\n\n# Apply multiplier to score\nscore *= multiplier  # score = score * multiplier → 300\n\nprint(f\"Final score: {score}\")\nprint(f\"Lives remaining: {lives}\")\nprint(f\"Score multiplier: {multiplier}\")\n",[4772],{"type":993,"tag":1044,"props":4773,"children":4774},{"__ignoreMap":8},[4775,4783,4790,4797,4812,4827,4842,4849,4856,4877,4884,4891,4911,4918,4925,4945,4952,4959,4980,4987,5026,5065],{"type":993,"tag":1048,"props":4776,"children":4777},{"class":1050,"line":12},[4778],{"type":993,"tag":1048,"props":4779,"children":4780},{"style":1054},[4781],{"type":998,"value":4782},"# Assignment Practice - Simple solution\n",{"type":993,"tag":1048,"props":4784,"children":4785},{"class":1050,"line":27},[4786],{"type":993,"tag":1048,"props":4787,"children":4788},{"emptyLinePlaceholder":13},[4789],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4791,"children":4792},{"class":1050,"line":36},[4793],{"type":993,"tag":1048,"props":4794,"children":4795},{"style":1054},[4796],{"type":998,"value":4442},{"type":993,"tag":1048,"props":4798,"children":4799},{"class":1050,"line":45},[4800,4804,4808],{"type":993,"tag":1048,"props":4801,"children":4802},{"style":1063},[4803],{"type":998,"value":1066},{"type":993,"tag":1048,"props":4805,"children":4806},{"style":1069},[4807],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4809,"children":4810},{"style":1075},[4811],{"type":998,"value":1078},{"type":993,"tag":1048,"props":4813,"children":4814},{"class":1050,"line":54},[4815,4819,4823],{"type":993,"tag":1048,"props":4816,"children":4817},{"style":1063},[4818],{"type":998,"value":4465},{"type":993,"tag":1048,"props":4820,"children":4821},{"style":1069},[4822],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4824,"children":4825},{"style":1075},[4826],{"type":998,"value":4474},{"type":993,"tag":1048,"props":4828,"children":4829},{"class":1050,"line":63},[4830,4834,4838],{"type":993,"tag":1048,"props":4831,"children":4832},{"style":1063},[4833],{"type":998,"value":4482},{"type":993,"tag":1048,"props":4835,"children":4836},{"style":1069},[4837],{"type":998,"value":1072},{"type":993,"tag":1048,"props":4839,"children":4840},{"style":1075},[4841],{"type":998,"value":4491},{"type":993,"tag":1048,"props":4843,"children":4844},{"class":1050,"line":72},[4845],{"type":993,"tag":1048,"props":4846,"children":4847},{"emptyLinePlaceholder":13},[4848],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4850,"children":4851},{"class":1050,"line":81},[4852],{"type":993,"tag":1048,"props":4853,"children":4854},{"style":1054},[4855],{"type":998,"value":4506},{"type":993,"tag":1048,"props":4857,"children":4858},{"class":1050,"line":91},[4859,4863,4867,4872],{"type":993,"tag":1048,"props":4860,"children":4861},{"style":1063},[4862],{"type":998,"value":1066},{"type":993,"tag":1048,"props":4864,"children":4865},{"style":1069},[4866],{"type":998,"value":1201},{"type":993,"tag":1048,"props":4868,"children":4869},{"style":1075},[4870],{"type":998,"value":4871}," 50",{"type":993,"tag":1048,"props":4873,"children":4874},{"style":1054},[4875],{"type":998,"value":4876},"    # score = score + 50 → 150\n",{"type":993,"tag":1048,"props":4878,"children":4879},{"class":1050,"line":100},[4880],{"type":993,"tag":1048,"props":4881,"children":4882},{"emptyLinePlaceholder":13},[4883],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4885,"children":4886},{"class":1050,"line":109},[4887],{"type":993,"tag":1048,"props":4888,"children":4889},{"style":1054},[4890],{"type":998,"value":4539},{"type":993,"tag":1048,"props":4892,"children":4893},{"class":1050,"line":118},[4894,4898,4902,4906],{"type":993,"tag":1048,"props":4895,"children":4896},{"style":1063},[4897],{"type":998,"value":4465},{"type":993,"tag":1048,"props":4899,"children":4900},{"style":1069},[4901],{"type":998,"value":1284},{"type":993,"tag":1048,"props":4903,"children":4904},{"style":1075},[4905],{"type":998,"value":3830},{"type":993,"tag":1048,"props":4907,"children":4908},{"style":1054},[4909],{"type":998,"value":4910},"     # lives = lives - 1 → 2\n",{"type":993,"tag":1048,"props":4912,"children":4913},{"class":1050,"line":127},[4914],{"type":993,"tag":1048,"props":4915,"children":4916},{"emptyLinePlaceholder":13},[4917],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4919,"children":4920},{"class":1050,"line":136},[4921],{"type":993,"tag":1048,"props":4922,"children":4923},{"style":1054},[4924],{"type":998,"value":4570},{"type":993,"tag":1048,"props":4926,"children":4927},{"class":1050,"line":146},[4928,4932,4936,4940],{"type":993,"tag":1048,"props":4929,"children":4930},{"style":1063},[4931],{"type":998,"value":4482},{"type":993,"tag":1048,"props":4933,"children":4934},{"style":1069},[4935],{"type":998,"value":1306},{"type":993,"tag":1048,"props":4937,"children":4938},{"style":1075},[4939],{"type":998,"value":1311},{"type":993,"tag":1048,"props":4941,"children":4942},{"style":1054},[4943],{"type":998,"value":4944},"  # multiplier = multiplier * 2 → 2\n",{"type":993,"tag":1048,"props":4946,"children":4947},{"class":1050,"line":155},[4948],{"type":993,"tag":1048,"props":4949,"children":4950},{"emptyLinePlaceholder":13},[4951],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4953,"children":4954},{"class":1050,"line":164},[4955],{"type":993,"tag":1048,"props":4956,"children":4957},{"style":1054},[4958],{"type":998,"value":4601},{"type":993,"tag":1048,"props":4960,"children":4961},{"class":1050,"line":173},[4962,4966,4970,4975],{"type":993,"tag":1048,"props":4963,"children":4964},{"style":1063},[4965],{"type":998,"value":1066},{"type":993,"tag":1048,"props":4967,"children":4968},{"style":1069},[4969],{"type":998,"value":1306},{"type":993,"tag":1048,"props":4971,"children":4972},{"style":1063},[4973],{"type":998,"value":4974}," multiplier  ",{"type":993,"tag":1048,"props":4976,"children":4977},{"style":1054},[4978],{"type":998,"value":4979},"# score = score * multiplier → 300\n",{"type":993,"tag":1048,"props":4981,"children":4982},{"class":1050,"line":182},[4983],{"type":993,"tag":1048,"props":4984,"children":4985},{"emptyLinePlaceholder":13},[4986],{"type":998,"value":1086},{"type":993,"tag":1048,"props":4988,"children":4989},{"class":1050,"line":191},[4990,4994,4998,5002,5006,5010,5014,5018,5022],{"type":993,"tag":1048,"props":4991,"children":4992},{"style":1075},[4993],{"type":998,"value":1128},{"type":993,"tag":1048,"props":4995,"children":4996},{"style":1063},[4997],{"type":998,"value":1133},{"type":993,"tag":1048,"props":4999,"children":5000},{"style":1069},[5001],{"type":998,"value":1138},{"type":993,"tag":1048,"props":5003,"children":5004},{"style":1141},[5005],{"type":998,"value":1336},{"type":993,"tag":1048,"props":5007,"children":5008},{"style":1075},[5009],{"type":998,"value":1149},{"type":993,"tag":1048,"props":5011,"children":5012},{"style":1063},[5013],{"type":998,"value":1154},{"type":993,"tag":1048,"props":5015,"children":5016},{"style":1075},[5017],{"type":998,"value":1159},{"type":993,"tag":1048,"props":5019,"children":5020},{"style":1141},[5021],{"type":998,"value":1164},{"type":993,"tag":1048,"props":5023,"children":5024},{"style":1063},[5025],{"type":998,"value":1614},{"type":993,"tag":1048,"props":5027,"children":5028},{"class":1050,"line":201},[5029,5033,5037,5041,5045,5049,5053,5057,5061],{"type":993,"tag":1048,"props":5030,"children":5031},{"style":1075},[5032],{"type":998,"value":1128},{"type":993,"tag":1048,"props":5034,"children":5035},{"style":1063},[5036],{"type":998,"value":1133},{"type":993,"tag":1048,"props":5038,"children":5039},{"style":1069},[5040],{"type":998,"value":1138},{"type":993,"tag":1048,"props":5042,"children":5043},{"style":1141},[5044],{"type":998,"value":4683},{"type":993,"tag":1048,"props":5046,"children":5047},{"style":1075},[5048],{"type":998,"value":1149},{"type":993,"tag":1048,"props":5050,"children":5051},{"style":1063},[5052],{"type":998,"value":4692},{"type":993,"tag":1048,"props":5054,"children":5055},{"style":1075},[5056],{"type":998,"value":1159},{"type":993,"tag":1048,"props":5058,"children":5059},{"style":1141},[5060],{"type":998,"value":1164},{"type":993,"tag":1048,"props":5062,"children":5063},{"style":1063},[5064],{"type":998,"value":1614},{"type":993,"tag":1048,"props":5066,"children":5067},{"class":1050,"line":210},[5068,5072,5076,5080,5084,5088,5092,5096,5100],{"type":993,"tag":1048,"props":5069,"children":5070},{"style":1075},[5071],{"type":998,"value":1128},{"type":993,"tag":1048,"props":5073,"children":5074},{"style":1063},[5075],{"type":998,"value":1133},{"type":993,"tag":1048,"props":5077,"children":5078},{"style":1069},[5079],{"type":998,"value":1138},{"type":993,"tag":1048,"props":5081,"children":5082},{"style":1141},[5083],{"type":998,"value":4724},{"type":993,"tag":1048,"props":5085,"children":5086},{"style":1075},[5087],{"type":998,"value":1149},{"type":993,"tag":1048,"props":5089,"children":5090},{"style":1063},[5091],{"type":998,"value":4733},{"type":993,"tag":1048,"props":5093,"children":5094},{"style":1075},[5095],{"type":998,"value":1159},{"type":993,"tag":1048,"props":5097,"children":5098},{"style":1141},[5099],{"type":998,"value":1164},{"type":993,"tag":1048,"props":5101,"children":5102},{"style":1063},[5103],{"type":998,"value":1614},{"type":993,"tag":1001,"props":5105,"children":5106},{},[5107],{"type":993,"tag":1007,"props":5108,"children":5109},{},[5110],{"type":998,"value":5111},"Key Learning Points:",{"type":993,"tag":1398,"props":5113,"children":5114},{},[5115,5127,5138,5150],{"type":993,"tag":1402,"props":5116,"children":5117},{},[5118,5120,5125],{"type":998,"value":5119},"📌 ",{"type":993,"tag":1007,"props":5121,"children":5122},{},[5123],{"type":998,"value":5124},"+= operator",{"type":998,"value":5126},": Adds value and assigns result",{"type":993,"tag":1402,"props":5128,"children":5129},{},[5130,5131,5136],{"type":998,"value":5119},{"type":993,"tag":1007,"props":5132,"children":5133},{},[5134],{"type":998,"value":5135},"-= operator",{"type":998,"value":5137},": Subtracts value and assigns result",{"type":993,"tag":1402,"props":5139,"children":5140},{},[5141,5143,5148],{"type":998,"value":5142},"📌 *",{"type":993,"tag":1007,"props":5144,"children":5145},{},[5146],{"type":998,"value":5147},"= operator",{"type":998,"value":5149},": Multiplies value and assigns result",{"type":993,"tag":1402,"props":5151,"children":5152},{},[5153,5154,5159,5161],{"type":998,"value":5119},{"type":993,"tag":1007,"props":5155,"children":5156},{},[5157],{"type":998,"value":5158},"Shortcuts",{"type":998,"value":5160},": Much cleaner than writing ",{"type":993,"tag":1044,"props":5162,"children":5164},{"className":5163},[],[5165],{"type":998,"value":5166},"x = x + 5",{"type":993,"tag":1364,"props":5168,"children":5170},{"id":5169},"assignment-operators-reference",[5171],{"type":998,"value":5172},"📚 Assignment Operators Reference",{"type":993,"tag":5174,"props":5175,"children":5176},"table",{},[5177,5211],{"type":993,"tag":5178,"props":5179,"children":5180},"thead",{},[5181],{"type":993,"tag":5182,"props":5183,"children":5184},"tr",{},[5185,5191,5196,5201,5206],{"type":993,"tag":5186,"props":5187,"children":5188},"th",{},[5189],{"type":998,"value":5190},"Operator",{"type":993,"tag":5186,"props":5192,"children":5193},{},[5194],{"type":998,"value":5195},"Name",{"type":993,"tag":5186,"props":5197,"children":5198},{},[5199],{"type":998,"value":5200},"Example",{"type":993,"tag":5186,"props":5202,"children":5203},{},[5204],{"type":998,"value":5205},"Equivalent",{"type":993,"tag":5186,"props":5207,"children":5208},{},[5209],{"type":998,"value":5210},"Result",{"type":993,"tag":5212,"props":5213,"children":5214},"tbody",{},[5215,5253,5292,5331,5370,5409,5447,5486],{"type":993,"tag":5182,"props":5216,"children":5217},{},[5218,5227,5232,5240,5245],{"type":993,"tag":5219,"props":5220,"children":5221},"td",{},[5222],{"type":993,"tag":1044,"props":5223,"children":5225},{"className":5224},[],[5226],{"type":998,"value":1072},{"type":993,"tag":5219,"props":5228,"children":5229},{},[5230],{"type":998,"value":5231},"Assignment",{"type":993,"tag":5219,"props":5233,"children":5234},{},[5235],{"type":993,"tag":1044,"props":5236,"children":5238},{"className":5237},[],[5239],{"type":998,"value":1443},{"type":993,"tag":5219,"props":5241,"children":5242},{},[5243],{"type":998,"value":5244},"-",{"type":993,"tag":5219,"props":5246,"children":5247},{},[5248],{"type":993,"tag":1044,"props":5249,"children":5251},{"className":5250},[],[5252],{"type":998,"value":1443},{"type":993,"tag":5182,"props":5254,"children":5255},{},[5256,5264,5269,5278,5287],{"type":993,"tag":5219,"props":5257,"children":5258},{},[5259],{"type":993,"tag":1044,"props":5260,"children":5262},{"className":5261},[],[5263],{"type":998,"value":1201},{"type":993,"tag":5219,"props":5265,"children":5266},{},[5267],{"type":998,"value":5268},"Addition assignment",{"type":993,"tag":5219,"props":5270,"children":5271},{},[5272],{"type":993,"tag":1044,"props":5273,"children":5275},{"className":5274},[],[5276],{"type":998,"value":5277},"x += 3",{"type":993,"tag":5219,"props":5279,"children":5280},{},[5281],{"type":993,"tag":1044,"props":5282,"children":5284},{"className":5283},[],[5285],{"type":998,"value":5286},"x = x + 3",{"type":993,"tag":5219,"props":5288,"children":5289},{},[5290],{"type":998,"value":5291},"Add and assign",{"type":993,"tag":5182,"props":5293,"children":5294},{},[5295,5303,5308,5317,5326],{"type":993,"tag":5219,"props":5296,"children":5297},{},[5298],{"type":993,"tag":1044,"props":5299,"children":5301},{"className":5300},[],[5302],{"type":998,"value":1284},{"type":993,"tag":5219,"props":5304,"children":5305},{},[5306],{"type":998,"value":5307},"Subtraction assignment",{"type":993,"tag":5219,"props":5309,"children":5310},{},[5311],{"type":993,"tag":1044,"props":5312,"children":5314},{"className":5313},[],[5315],{"type":998,"value":5316},"x -= 2",{"type":993,"tag":5219,"props":5318,"children":5319},{},[5320],{"type":993,"tag":1044,"props":5321,"children":5323},{"className":5322},[],[5324],{"type":998,"value":5325},"x = x - 2",{"type":993,"tag":5219,"props":5327,"children":5328},{},[5329],{"type":998,"value":5330},"Subtract and assign",{"type":993,"tag":5182,"props":5332,"children":5333},{},[5334,5342,5347,5356,5365],{"type":993,"tag":5219,"props":5335,"children":5336},{},[5337],{"type":993,"tag":1044,"props":5338,"children":5340},{"className":5339},[],[5341],{"type":998,"value":1306},{"type":993,"tag":5219,"props":5343,"children":5344},{},[5345],{"type":998,"value":5346},"Multiplication assignment",{"type":993,"tag":5219,"props":5348,"children":5349},{},[5350],{"type":993,"tag":1044,"props":5351,"children":5353},{"className":5352},[],[5354],{"type":998,"value":5355},"x *= 4",{"type":993,"tag":5219,"props":5357,"children":5358},{},[5359],{"type":993,"tag":1044,"props":5360,"children":5362},{"className":5361},[],[5363],{"type":998,"value":5364},"x = x * 4",{"type":993,"tag":5219,"props":5366,"children":5367},{},[5368],{"type":998,"value":5369},"Multiply and assign",{"type":993,"tag":5182,"props":5371,"children":5372},{},[5373,5381,5386,5395,5404],{"type":993,"tag":5219,"props":5374,"children":5375},{},[5376],{"type":993,"tag":1044,"props":5377,"children":5379},{"className":5378},[],[5380],{"type":998,"value":2150},{"type":993,"tag":5219,"props":5382,"children":5383},{},[5384],{"type":998,"value":5385},"Division assignment",{"type":993,"tag":5219,"props":5387,"children":5388},{},[5389],{"type":993,"tag":1044,"props":5390,"children":5392},{"className":5391},[],[5393],{"type":998,"value":5394},"x /= 2",{"type":993,"tag":5219,"props":5396,"children":5397},{},[5398],{"type":993,"tag":1044,"props":5399,"children":5401},{"className":5400},[],[5402],{"type":998,"value":5403},"x = x / 2",{"type":993,"tag":5219,"props":5405,"children":5406},{},[5407],{"type":998,"value":5408},"Divide and assign",{"type":993,"tag":5182,"props":5410,"children":5411},{},[5412,5420,5425,5433,5442],{"type":993,"tag":5219,"props":5413,"children":5414},{},[5415],{"type":993,"tag":1044,"props":5416,"children":5418},{"className":5417},[],[5419],{"type":998,"value":2161},{"type":993,"tag":5219,"props":5421,"children":5422},{},[5423],{"type":998,"value":5424},"Floor division assignment",{"type":993,"tag":5219,"props":5426,"children":5427},{},[5428],{"type":993,"tag":1044,"props":5429,"children":5431},{"className":5430},[],[5432],{"type":998,"value":2717},{"type":993,"tag":5219,"props":5434,"children":5435},{},[5436],{"type":993,"tag":1044,"props":5437,"children":5439},{"className":5438},[],[5440],{"type":998,"value":5441},"x = x // 3",{"type":993,"tag":5219,"props":5443,"children":5444},{},[5445],{"type":998,"value":5446},"Floor divide and assign",{"type":993,"tag":5182,"props":5448,"children":5449},{},[5450,5458,5463,5472,5481],{"type":993,"tag":5219,"props":5451,"children":5452},{},[5453],{"type":993,"tag":1044,"props":5454,"children":5456},{"className":5455},[],[5457],{"type":998,"value":2172},{"type":993,"tag":5219,"props":5459,"children":5460},{},[5461],{"type":998,"value":5462},"Modulo assignment",{"type":993,"tag":5219,"props":5464,"children":5465},{},[5466],{"type":993,"tag":1044,"props":5467,"children":5469},{"className":5468},[],[5470],{"type":998,"value":5471},"x %= 5",{"type":993,"tag":5219,"props":5473,"children":5474},{},[5475],{"type":993,"tag":1044,"props":5476,"children":5478},{"className":5477},[],[5479],{"type":998,"value":5480},"x = x % 5",{"type":993,"tag":5219,"props":5482,"children":5483},{},[5484],{"type":998,"value":5485},"Modulo and assign",{"type":993,"tag":5182,"props":5487,"children":5488},{},[5489,5497,5502,5511,5520],{"type":993,"tag":5219,"props":5490,"children":5491},{},[5492],{"type":993,"tag":1044,"props":5493,"children":5495},{"className":5494},[],[5496],{"type":998,"value":2183},{"type":993,"tag":5219,"props":5498,"children":5499},{},[5500],{"type":998,"value":5501},"Exponentiation assignment",{"type":993,"tag":5219,"props":5503,"children":5504},{},[5505],{"type":993,"tag":1044,"props":5506,"children":5508},{"className":5507},[],[5509],{"type":998,"value":5510},"x **= 2",{"type":993,"tag":5219,"props":5512,"children":5513},{},[5514],{"type":993,"tag":1044,"props":5515,"children":5517},{"className":5516},[],[5518],{"type":998,"value":5519},"x = x ** 2",{"type":993,"tag":5219,"props":5521,"children":5522},{},[5523],{"type":998,"value":5524},"Exponentiate and assign",{"type":993,"tag":1364,"props":5526,"children":5528},{"id":5527},"key-takeaways",[5529],{"type":998,"value":5530},"🎯 Key Takeaways",{"type":993,"tag":1383,"props":5532,"children":5535},{"emoji":5533,"title":5534,"type":2099},"📚","Assignment Essentials",[5536,5544,5587,5595,5667,5675],{"type":993,"tag":1001,"props":5537,"children":5538},{},[5539],{"type":993,"tag":1007,"props":5540,"children":5541},{},[5542],{"type":998,"value":5543},"Core Benefits:",{"type":993,"tag":1398,"props":5545,"children":5546},{},[5547,5557,5567,5577],{"type":993,"tag":1402,"props":5548,"children":5549},{},[5550,5555],{"type":993,"tag":1007,"props":5551,"children":5552},{},[5553],{"type":998,"value":5554},"Conciseness",{"type":998,"value":5556},": Shorter, cleaner code",{"type":993,"tag":1402,"props":5558,"children":5559},{},[5560,5565],{"type":993,"tag":1007,"props":5561,"children":5562},{},[5563],{"type":998,"value":5564},"Clarity",{"type":998,"value":5566},": Shows update intentions clearly",{"type":993,"tag":1402,"props":5568,"children":5569},{},[5570,5575],{"type":993,"tag":1007,"props":5571,"children":5572},{},[5573],{"type":998,"value":5574},"Efficiency",{"type":998,"value":5576},": Slightly faster than separate operations",{"type":993,"tag":1402,"props":5578,"children":5579},{},[5580,5585],{"type":993,"tag":1007,"props":5581,"children":5582},{},[5583],{"type":998,"value":5584},"Common patterns",{"type":998,"value":5586},": Essential for loops and counters",{"type":993,"tag":1001,"props":5588,"children":5589},{},[5590],{"type":993,"tag":1007,"props":5591,"children":5592},{},[5593],{"type":998,"value":5594},"Important Concepts:",{"type":993,"tag":1398,"props":5596,"children":5597},{},[5598,5621,5631,5649],{"type":993,"tag":1402,"props":5599,"children":5600},{},[5601,5606,5608,5613,5615],{"type":993,"tag":1044,"props":5602,"children":5604},{"className":5603},[],[5605],{"type":998,"value":2698},{"type":998,"value":5607}," means both ",{"type":993,"tag":1044,"props":5609,"children":5611},{"className":5610},[],[5612],{"type":998,"value":2706},{"type":998,"value":5614}," and ",{"type":993,"tag":1044,"props":5616,"children":5618},{"className":5617},[],[5619],{"type":998,"value":5620},"x = 3 * x",{"type":993,"tag":1402,"props":5622,"children":5623},{},[5624,5626],{"type":998,"value":5625},"Floor division assignment: ",{"type":993,"tag":1044,"props":5627,"children":5629},{"className":5628},[],[5630],{"type":998,"value":2717},{"type":993,"tag":1402,"props":5632,"children":5633},{},[5634,5636,5641,5643,5648],{"type":998,"value":5635},"Exponentiation assignment: ",{"type":993,"tag":1044,"props":5637,"children":5639},{"className":5638},[],[5640],{"type":998,"value":2183},{"type":998,"value":5642}," (not ",{"type":993,"tag":1044,"props":5644,"children":5646},{"className":5645},[],[5647],{"type":998,"value":2735},{"type":998,"value":2737},{"type":993,"tag":1402,"props":5650,"children":5651},{},[5652,5654,5659,5660,5665],{"type":998,"value":5653},"List behavior: ",{"type":993,"tag":1044,"props":5655,"children":5657},{"className":5656},[],[5658],{"type":998,"value":1201},{"type":998,"value":3291},{"type":993,"tag":1044,"props":5661,"children":5663},{"className":5662},[],[5664],{"type":998,"value":1115},{"type":998,"value":5666}," creates new",{"type":993,"tag":1001,"props":5668,"children":5669},{},[5670],{"type":993,"tag":1007,"props":5671,"children":5672},{},[5673],{"type":998,"value":5674},"Best Practices:",{"type":993,"tag":1398,"props":5676,"children":5677},{},[5678,5683,5688],{"type":993,"tag":1402,"props":5679,"children":5680},{},[5681],{"type":998,"value":5682},"Use compound assignments for readability",{"type":993,"tag":1402,"props":5684,"children":5685},{},[5686],{"type":998,"value":5687},"Understand mutable object behavior",{"type":993,"tag":1402,"props":5689,"children":5690},{},[5691],{"type":998,"value":5692},"Practice with different data types",{"type":993,"tag":1001,"props":5694,"children":5695},{},[5696,5698,5706,5707,5715,5717,5725,5726,5734],{"type":998,"value":5697},"Understanding assignment operators prepares you for ",{"type":993,"tag":1007,"props":5699,"children":5700},{},[5701],{"type":993,"tag":1011,"props":5702,"children":5703},{"href":178},[5704],{"type":998,"value":5705},"operator precedence",{"type":998,"value":5614},{"type":993,"tag":1007,"props":5708,"children":5709},{},[5710],{"type":993,"tag":1011,"props":5711,"children":5712},{"href":243},[5713],{"type":998,"value":5714},"working with loops",{"type":998,"value":5716},". These operators are also essential for ",{"type":993,"tag":1007,"props":5718,"children":5719},{},[5720],{"type":993,"tag":1011,"props":5721,"children":5722},{"href":280},[5723],{"type":998,"value":5724},"data processing",{"type":998,"value":5614},{"type":993,"tag":1007,"props":5727,"children":5728},{},[5729],{"type":993,"tag":1011,"props":5730,"children":5731},{"href":617},[5732],{"type":998,"value":5733},"function development",{"type":998,"value":5735},".",{"type":993,"tag":1364,"props":5737,"children":5739},{"id":5738},"test-your-knowledge",[5740],{"type":998,"value":5741},"Test Your Knowledge",{"type":993,"tag":5743,"props":5744,"children":5748},"redirect-button",{"icon":5745,"label":5746,"url":5747},"pi pi-send","Take Quiz","/tutorial-quiz/python/value-assignment",[],{"type":993,"tag":1364,"props":5750,"children":5752},{"id":5751},"whats-next",[5753],{"type":998,"value":5754},"🚀 What's Next?",{"type":993,"tag":1001,"props":5756,"children":5757},{},[5758],{"type":998,"value":5759},"Now that you understand how to efficiently update variables using assignment operators, you're ready to learn about how Python evaluates complex expressions with multiple operators.",{"type":993,"tag":1001,"props":5761,"children":5762},{},[5763,5765,5772],{"type":998,"value":5764},"In the next lesson, we'll explore ",{"type":993,"tag":1007,"props":5766,"children":5767},{},[5768],{"type":993,"tag":1011,"props":5769,"children":5770},{"href":178},[5771],{"type":998,"value":179},{"type":998,"value":5773},", where you'll learn the order in which Python evaluates different operators and how to control that order.",{"type":993,"tag":5775,"props":5776,"children":5777},"style",{},[5778],{"type":998,"value":5779},"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":5781},[5782,5783,5784,5785,5786,5787,5790,5791,5792,5793],{"id":1366,"depth":27,"text":1369},{"id":2086,"depth":27,"text":2089},{"id":2597,"depth":27,"text":2600},{"id":3156,"depth":27,"text":3159},{"id":3737,"depth":27,"text":3740},{"id":4398,"depth":27,"text":4401,"children":5788},[5789],{"id":4749,"depth":36,"text":4752},{"id":5169,"depth":27,"text":5172},{"id":5527,"depth":27,"text":5530},{"id":5738,"depth":27,"text":5741},{"id":5751,"depth":27,"text":5754},1782373732909]