[{"data":1,"prerenderedAt":2995},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/python-lists":988},[4,22,31,40,49,58,67,76,86,95,104,113,122,131,141,150,159,168,177,186,196,205,214,223,233,242,251,260,269,279,288,297,306,315,324,333,342,351,360,369,379,388,397,406,415,424,433,442,452,461,470,479,488,497,506,515,525,534,543,552,561,570,579,588,597,606,616,625,634,643,652,661,670,680,689,698,707,716,725,734,744,753,762,771,780,789,798,807,817,826,835,844,853,863,872,881,890,900,909,918,927,936,945,953,961,970,979],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python/getting-started","python",false,"","Getting Started","Begin your Python programming journey. Learn what Python is, how to set it up, and write your first programs. Perfect for complete beginners starting their coding adventure.","getting-started",1,true,"pi pi-folder","markdown","content:python:1.getting-started.md","content","python/1.getting-started.md","python/1.getting-started","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python/what-is-python","What is Python","Discover Python's fascinating history, design philosophy, and key features. Learn why Python has become one of the world's most popular programming languages and perfect for beginners.","what-is-python",2,"content:python:2.what-is-python.md","python/2.what-is-python.md","python/2.what-is-python",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python/setup-python","Setup Python","Learn how to install Python on your computer and set up your development environment. Step-by-step guide for Windows, macOS, and Linux with beginner-friendly instructions.","setup-python",3,"content:python:3.setup-python.md","python/3.setup-python.md","python/3.setup-python",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python/your-first-program","Your First Program","Write and run your first Python program! Learn the basics of Python programming with simple examples and step-by-step instructions for beginners.","your-first-program",4,"content:python:4.your-first-program.md","python/4.your-first-program.md","python/4.your-first-program",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python/python-code-structure","Python Code Structure","Learn how Python code is organized and structured. Understand indentation, line breaks, and the basic rules that make Python programs work correctly.","python-code-structure",5,"content:python:5.python-code-structure.md","python/5.python-code-structure.md","python/5.python-code-structure",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python/writing-comments","Writing Comments","Learn how to write effective comments in Python. Discover when and how to document your code to make it clear, maintainable, and easy to understand.","writing-comments",6,"content:python:6.writing-comments.md","python/6.writing-comments.md","python/6.writing-comments",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python/working-with-variables","Working with Variables","Learn how to create, use, and manage variables in Python. Understand how to store data, change values, and follow naming conventions for clean, readable code.","working-with-variables",7,"content:python:7.working-with-variables.md","python/7.working-with-variables.md","python/7.working-with-variables",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python/basic-data-types","Basic Data Types","Learn about Python's fundamental data types including numbers, text, and boolean values","basic-data-types",8,"content:python:8.basic-data-types.md","python/8.basic-data-types.md","python/8.basic-data-types",[86,95,104,113,122],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":91,"_type":15,"_id":92,"_source":17,"_file":93,"_stem":94,"_extension":20},"/python/understanding-data-types","Understanding Data Types","Learn how Python identifies different data types and why they're important for programming","understanding-data-types",9,"content:python:9.understanding-data-types.md","python/9.understanding-data-types.md","python/9.understanding-data-types",{"_path":96,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":97,"description":98,"slug":99,"parentId":77,"order":100,"_type":15,"_id":101,"_source":17,"_file":102,"_stem":103,"_extension":20},"/python/working-with-numbers","Working with Numbers","Learn about Python's numeric data types including integers and floats, and how to perform calculations","working-with-numbers",10,"content:python:10.working-with-numbers.md","python/10.working-with-numbers.md","python/10.working-with-numbers",{"_path":105,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":106,"description":107,"slug":108,"parentId":77,"order":109,"_type":15,"_id":110,"_source":17,"_file":111,"_stem":112,"_extension":20},"/python/text-and-strings","Text and Strings","Learn how to work with text data in Python using strings, including creation, manipulation, and formatting","text-and-strings",11,"content:python:11.text-and-strings.md","python/11.text-and-strings.md","python/11.text-and-strings",{"_path":114,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":115,"description":116,"slug":117,"parentId":77,"order":118,"_type":15,"_id":119,"_source":17,"_file":120,"_stem":121,"_extension":20},"/python/true-false-values","True/False Values","Learn about boolean values in Python, including True/False logic, comparison operations, and how to use booleans for decision-making in your programs","true-false-values",12,"content:python:12.true-false-values.md","python/12.true-false-values.md","python/12.true-false-values",{"_path":123,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":124,"description":125,"slug":126,"parentId":77,"order":127,"_type":15,"_id":128,"_source":17,"_file":129,"_stem":130,"_extension":20},"/python/converting-types","Converting Types","Learn how to convert between different Python data types including strings, numbers, and booleans","converting-types",13,"content:python:13.converting-types.md","python/13.converting-types.md","python/13.converting-types",{"_path":132,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":133,"description":134,"slug":135,"order":136,"isParent":13,"icon":14,"_type":15,"_id":137,"_source":17,"_file":138,"_stem":139,"_extension":20,"children":140,"expanded":13},"/python/python-operators","Python Operators","Learn about Python operators - the symbols and keywords that perform operations on data. Discover arithmetic, comparison, logical, and assignment operators with simple examples.","python-operators",14,"content:python:14.python-operators.md","python/14.python-operators.md","python/14.python-operators",[141,150,159,168,177],{"_path":142,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":143,"description":144,"slug":145,"parentId":132,"order":146,"_type":15,"_id":147,"_source":17,"_file":148,"_stem":149,"_extension":20},"/python/math-operations","Math Operations","Learn Python's arithmetic operators for mathematical calculations. Master addition, subtraction, multiplication, division, and more with practical examples.","math-operations",15,"content:python:15.math-operations.md","python/15.math-operations.md","python/15.math-operations",{"_path":151,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":152,"description":153,"slug":154,"parentId":132,"order":155,"_type":15,"_id":156,"_source":17,"_file":157,"_stem":158,"_extension":20},"/python/comparing-values","Comparing Values","Learn Python's comparison operators to compare values and make decisions. Master equality, inequality, and relational operators with practical examples.","comparing-values",16,"content:python:16.comparing-values.md","python/16.comparing-values.md","python/16.comparing-values",{"_path":160,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":161,"description":162,"slug":163,"parentId":132,"order":164,"_type":15,"_id":165,"_source":17,"_file":166,"_stem":167,"_extension":20},"/python/logic-operations","Logic Operations","Learn about Python's logical operators for combining conditions and creating complex boolean expressions","logic-operations",17,"content:python:17.logic-operations.md","python/17.logic-operations.md","python/17.logic-operations",{"_path":169,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":170,"description":171,"slug":172,"parentId":132,"order":173,"_type":15,"_id":174,"_source":17,"_file":175,"_stem":176,"_extension":20},"/python/value-assignment","Value Assignment","Learn about Python's assignment operators for efficiently updating variables and performing calculations","value-assignment",18,"content:python:18.value-assignment.md","python/18.value-assignment.md","python/18.value-assignment",{"_path":178,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":179,"description":180,"slug":181,"parentId":132,"order":182,"_type":15,"_id":183,"_source":17,"_file":184,"_stem":185,"_extension":20},"/python/operator-precedence","Operator Precedence","Learn how Python evaluates expressions with multiple operators and how to control evaluation order","operator-precedence",19,"content:python:19.operator-precedence.md","python/19.operator-precedence.md","python/19.operator-precedence",{"_path":187,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":188,"description":189,"slug":190,"order":191,"isParent":13,"icon":14,"_type":15,"_id":192,"_source":17,"_file":193,"_stem":194,"_extension":20,"children":195,"expanded":13},"/python/decision-making","Decision Making","Learn how to make decisions in your Python programs using conditional statements and control flow","decision-making",20,"content:python:20.decision-making.md","python/20.decision-making.md","python/20.decision-making",[196,205,214],{"_path":197,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":198,"description":199,"slug":200,"parentId":187,"order":201,"_type":15,"_id":202,"_source":17,"_file":203,"_stem":204,"_extension":20},"/python/if-statements","If Statements","Learn how to use if statements to make decisions and control program flow in Python","if-statements",21,"content:python:21.if-statements.md","python/21.if-statements.md","python/21.if-statements",{"_path":206,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":207,"description":208,"slug":209,"parentId":187,"order":210,"_type":15,"_id":211,"_source":17,"_file":212,"_stem":213,"_extension":20},"/python/multiple-conditions","Multiple Conditions","Learn how to handle multiple conditions using elif statements and complex conditional logic in Python","multiple-conditions",22,"content:python:22.multiple-conditions.md","python/22.multiple-conditions.md","python/22.multiple-conditions",{"_path":215,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":216,"description":217,"slug":218,"parentId":187,"order":219,"_type":15,"_id":220,"_source":17,"_file":221,"_stem":222,"_extension":20},"/python/pattern-matching","Pattern Matching","Learn how to use Python's match-case statements for powerful pattern matching and complex decision making","pattern-matching",23,"content:python:23.pattern-matching.md","python/23.pattern-matching.md","python/23.pattern-matching",{"_path":224,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":225,"description":226,"slug":227,"order":228,"isParent":13,"icon":14,"_type":15,"_id":229,"_source":17,"_file":230,"_stem":231,"_extension":20,"children":232,"expanded":13},"/python/repetition-and-loops","Python Loops","Learn how to use loops to repeat code efficiently and handle repetitive tasks in Python","repetition-and-loops",24,"content:python:24.repetition-and-loops.md","python/24.repetition-and-loops.md","python/24.repetition-and-loops",[233,242,251,260],{"_path":234,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":235,"description":236,"slug":237,"parentId":224,"order":238,"_type":15,"_id":239,"_source":17,"_file":240,"_stem":241,"_extension":20},"/python/while-loops","While Loops","Learn how to use while loops for condition-based repetition and create loops that run until specific conditions are met","while-loops",25,"content:python:25.while-loops.md","python/25.while-loops.md","python/25.while-loops",{"_path":243,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":244,"description":245,"slug":246,"parentId":224,"order":247,"_type":15,"_id":248,"_source":17,"_file":249,"_stem":250,"_extension":20},"/python/for-loops","For Loops","Learn how to use for loops to iterate through sequences, collections, and ranges efficiently in Python","for-loops",26,"content:python:26.for-loops.md","python/26.for-loops.md","python/26.for-loops",{"_path":252,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":253,"description":254,"slug":255,"parentId":224,"order":256,"_type":15,"_id":257,"_source":17,"_file":258,"_stem":259,"_extension":20},"/python/loop-control","Loop Control","Master advanced loop control techniques including break, continue, and else clauses for sophisticated iteration patterns","loop-control",27,"content:python:27.loop-control.md","python/27.loop-control.md","python/27.loop-control",{"_path":261,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":262,"description":263,"slug":264,"parentId":224,"order":265,"_type":15,"_id":266,"_source":17,"_file":267,"_stem":268,"_extension":20},"/python/nested-loops","Nested Loops","Learn how to use nested loops to process multi-dimensional data, create patterns, and handle complex iteration scenarios","nested-loops",28,"content:python:28.nested-loops.md","python/28.nested-loops.md","python/28.nested-loops",{"_path":270,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":271,"description":272,"slug":273,"order":274,"isParent":13,"icon":14,"_type":15,"_id":275,"_source":17,"_file":276,"_stem":277,"_extension":20,"children":278},"/python/python-lists","Python Lists","Learn about Python lists, one of the most important and versatile data structures for storing and organizing collections of data","python-lists",29,"content:python:29.python-lists.md","python/29.python-lists.md","python/29.python-lists",[279,288,297,306,315,324,333,342,351,360],{"_path":280,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":281,"description":282,"slug":283,"parentId":270,"order":284,"_type":15,"_id":285,"_source":17,"_file":286,"_stem":287,"_extension":20},"/python/creating-lists","Creating Lists","Learn different methods to create and initialize Python lists, from simple literals to advanced techniques","creating-lists",30,"content:python:30.creating-lists.md","python/30.creating-lists.md","python/30.creating-lists",{"_path":289,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":290,"description":291,"slug":292,"parentId":270,"order":293,"_type":15,"_id":294,"_source":17,"_file":295,"_stem":296,"_extension":20},"/python/reading-list-data","Reading List Data","Master techniques for accessing and retrieving data from Python lists using indexing, slicing, and built-in methods","reading-list-data",31,"content:python:31.reading-list-data.md","python/31.reading-list-data.md","python/31.reading-list-data",{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":270,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python/modifying-lists","Modifying Lists","Learn how to change, update, and modify existing elements in Python lists using indexing and various methods","modifying-lists",32,"content:python:32.modifying-lists.md","python/32.modifying-lists.md","python/32.modifying-lists",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":270,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python/adding-to-lists","Adding to Lists","Learn various methods to add elements to Python lists including append, insert, extend, and concatenation techniques","adding-to-lists",33,"content:python:33.adding-to-lists.md","python/33.adding-to-lists.md","python/33.adding-to-lists",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":270,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python/removing-from-lists","Removing from Lists","Learn different methods to remove and delete elements from Python lists including remove, pop, del, and clear","removing-from-lists",34,"content:python:34.removing-from-lists.md","python/34.removing-from-lists.md","python/34.removing-from-lists",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":270,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python/looping-through-lists","Looping Through Lists","Learn different ways to iterate through Python lists using for loops, while loops, enumerate, and other iteration techniques","looping-through-lists",35,"content:python:35.looping-through-lists.md","python/35.looping-through-lists.md","python/35.looping-through-lists",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":270,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python/list-shortcuts","List Shortcuts","Learn powerful Python list shortcuts including list comprehensions, slicing tricks, and built-in functions for efficient list operations","list-shortcuts",36,"content:python:36.list-shortcuts.md","python/36.list-shortcuts.md","python/36.list-shortcuts",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":270,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python/organizing-lists","Organizing Lists","Learn how to sort, reverse, and organize Python lists using built-in methods and custom sorting techniques","organizing-lists",37,"content:python:37.organizing-lists.md","python/37.organizing-lists.md","python/37.organizing-lists",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":270,"order":356,"_type":15,"_id":357,"_source":17,"_file":358,"_stem":359,"_extension":20},"/python/combining-lists","Combining Lists","Learn various techniques to combine, merge, and join Python lists including concatenation, zipping, and advanced merging strategies","combining-lists",38,"content:python:38.combining-lists.md","python/38.combining-lists.md","python/38.combining-lists",{"_path":361,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":362,"description":363,"slug":364,"parentId":270,"order":365,"_type":15,"_id":366,"_source":17,"_file":367,"_stem":368,"_extension":20},"/python/essential-list-tools","Essential List Tools","Master powerful built-in functions and advanced techniques for efficient Python list manipulation and data processing","essential-list-tools",39,"content:python:39.essential-list-tools.md","python/39.essential-list-tools.md","python/39.essential-list-tools",{"_path":370,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":371,"description":372,"slug":373,"order":374,"isParent":13,"icon":14,"_type":15,"_id":375,"_source":17,"_file":376,"_stem":377,"_extension":20,"children":378},"/python/python-tuples","Python Tuples","Master Python tuples - immutable sequences perfect for storing related data that shouldn't change. Learn creation, access, and manipulation techniques.","python-tuples",40,"content:python:40.python-tuples.md","python/40.python-tuples.md","python/40.python-tuples",[379,388,397,406,415,424,433],{"_path":380,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":381,"description":382,"slug":383,"parentId":370,"order":384,"_type":15,"_id":385,"_source":17,"_file":386,"_stem":387,"_extension":20},"/python/creating-tuples","Creating Tuples","Learn different ways to create Python tuples, from basic syntax to advanced techniques. Master tuple initialization and understand when to use tuples.","creating-tuples",41,"content:python:41.creating-tuples.md","python/41.creating-tuples.md","python/41.creating-tuples",{"_path":389,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":390,"description":391,"slug":392,"parentId":370,"order":393,"_type":15,"_id":394,"_source":17,"_file":395,"_stem":396,"_extension":20},"/python/reading-tuple-data","Reading Tuple Data","Master accessing tuple elements through indexing, slicing, and searching. Learn efficient patterns for reading and working with tuple data.","reading-tuple-data",42,"content:python:42.reading-tuple-data.md","python/42.reading-tuple-data.md","python/42.reading-tuple-data",{"_path":398,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":399,"description":400,"slug":401,"parentId":370,"order":402,"_type":15,"_id":403,"_source":17,"_file":404,"_stem":405,"_extension":20},"/python/changing-tuples","Changing Tuples","Understand tuple immutability and learn techniques for working with unchangeable data. Master creating modified tuple versions and handling immutable constraints.","changing-tuples",43,"content:python:43.changing-tuples.md","python/43.changing-tuples.md","python/43.changing-tuples",{"_path":407,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":408,"description":409,"slug":410,"parentId":370,"order":411,"_type":15,"_id":412,"_source":17,"_file":413,"_stem":414,"_extension":20},"/python/tuple-unpacking","Tuple Unpacking","Master tuple unpacking for elegant variable assignment, function returns, and data extraction. Learn Python's powerful unpacking syntax and patterns.","tuple-unpacking",44,"content:python:44.tuple-unpacking.md","python/44.tuple-unpacking.md","python/44.tuple-unpacking",{"_path":416,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":417,"description":418,"slug":419,"parentId":370,"order":420,"_type":15,"_id":421,"_source":17,"_file":422,"_stem":423,"_extension":20},"/python/iterating-tuples","Iterating Tuples","Master tuple iteration techniques for processing sequence data. Learn basic loops, enumerate, nested iteration, and advanced patterns for efficient data processing.","iterating-tuples",45,"content:python:45.iterating-tuples.md","python/45.iterating-tuples.md","python/45.iterating-tuples",{"_path":425,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":426,"description":427,"slug":428,"parentId":370,"order":429,"_type":15,"_id":430,"_source":17,"_file":431,"_stem":432,"_extension":20},"/python/merging-tuples","Merging Tuples","Learn techniques for combining and merging tuples to create larger data structures. Master concatenation, joining multiple tuples, and advanced merging patterns.","merging-tuples",46,"content:python:46.merging-tuples.md","python/46.merging-tuples.md","python/46.merging-tuples",{"_path":434,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":436,"slug":437,"parentId":370,"order":438,"_type":15,"_id":439,"_source":17,"_file":440,"_stem":441,"_extension":20},"/python/tuple-operations","Tuple Operations","Master comprehensive tuple operations including built-in functions, mathematical operations, comparisons, and advanced techniques for efficient tuple manipulation.","tuple-operations",47,"content:python:47.tuple-operations.md","python/47.tuple-operations.md","python/47.tuple-operations",{"_path":443,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":444,"description":445,"slug":446,"order":447,"isParent":13,"icon":14,"_type":15,"_id":448,"_source":17,"_file":449,"_stem":450,"_extension":20,"children":451},"/python/python-sets","Python Sets","Discover Python sets - unique collections that automatically eliminate duplicates and provide powerful mathematical operations for data filtering and analysis.","python-sets",48,"content:python:48.python-sets.md","python/48.python-sets.md","python/48.python-sets",[452,461,470,479,488,497,506],{"_path":453,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":454,"description":455,"slug":456,"parentId":443,"order":457,"_type":15,"_id":458,"_source":17,"_file":459,"_stem":460,"_extension":20},"/python/creating-sets","Creating Sets","Learn multiple ways to create sets in Python including literal syntax, set() function, and set comprehensions. Master set creation from different data sources.","creating-sets",49,"content:python:49.creating-sets.md","python/49.creating-sets.md","python/49.creating-sets",{"_path":462,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":463,"description":464,"slug":465,"parentId":443,"order":466,"_type":15,"_id":467,"_source":17,"_file":468,"_stem":469,"_extension":20},"/python/reading-set-data","Reading Set Data","Learn how to access and examine set data in Python including membership testing, iteration, size checking, and converting sets to other data types.","reading-set-data",50,"content:python:50.reading-set-data.md","python/50.reading-set-data.md","python/50.reading-set-data",{"_path":471,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":472,"description":473,"slug":474,"parentId":443,"order":475,"_type":15,"_id":476,"_source":17,"_file":477,"_stem":478,"_extension":20},"/python/adding-to-sets","Adding to Sets","Learn how to add elements to sets in Python using add(), update(), and union operations. Master growing sets dynamically with single items and multiple elements.","adding-to-sets",51,"content:python:51.adding-to-sets.md","python/51.adding-to-sets.md","python/51.adding-to-sets",{"_path":480,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":481,"description":482,"slug":483,"parentId":443,"order":484,"_type":15,"_id":485,"_source":17,"_file":486,"_stem":487,"_extension":20},"/python/removing-from-sets","Removing from Sets","Learn how to remove elements from Python sets using different methods like remove(), discard(), pop(), and clear()","removing-from-sets",52,"content:python:52.removing-from-sets.md","python/52.removing-from-sets.md","python/52.removing-from-sets",{"_path":489,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":490,"description":491,"slug":492,"parentId":443,"order":493,"_type":15,"_id":494,"_source":17,"_file":495,"_stem":496,"_extension":20},"/python/iterating-sets","Iterating Sets","Learn different ways to iterate through Python sets using for loops, comprehensions, and built-in functions","iterating-sets",53,"content:python:53.iterating-sets.md","python/53.iterating-sets.md","python/53.iterating-sets",{"_path":498,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":499,"description":500,"slug":501,"parentId":443,"order":502,"_type":15,"_id":503,"_source":17,"_file":504,"_stem":505,"_extension":20},"/python/combining-sets","Combining Sets","Learn how to combine Python sets using union, intersection, difference, and other set operations","combining-sets",54,"content:python:54.combining-sets.md","python/54.combining-sets.md","python/54.combining-sets",{"_path":507,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":509,"slug":510,"parentId":443,"order":511,"_type":15,"_id":512,"_source":17,"_file":513,"_stem":514,"_extension":20},"/python/set-operations","Set Operations","Learn advanced Python set operations including comparisons, subsets, supersets, and mathematical set relationships","set-operations",55,"content:python:55.set-operations.md","python/55.set-operations.md","python/55.set-operations",{"_path":516,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":517,"description":518,"slug":519,"order":520,"isParent":13,"icon":14,"_type":15,"_id":521,"_source":17,"_file":522,"_stem":523,"_extension":20,"children":524},"/python/python-dictionaries","Python Dictionaries","Learn about Python dictionaries - key-value data structures for storing and organizing related information","python-dictionaries",56,"content:python:56.python-dictionaries.md","python/56.python-dictionaries.md","python/56.python-dictionaries",[525,534,543,552,561,570,579,588,597],{"_path":526,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":527,"description":528,"slug":529,"parentId":516,"order":530,"_type":15,"_id":531,"_source":17,"_file":532,"_stem":533,"_extension":20},"/python/creating-dictionaries","Creating Dictionaries","Learn different methods to create Python dictionaries using literals, constructors, and comprehensions","creating-dictionaries",57,"content:python:57.creating-dictionaries.md","python/57.creating-dictionaries.md","python/57.creating-dictionaries",{"_path":535,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":536,"description":537,"slug":538,"parentId":516,"order":539,"_type":15,"_id":540,"_source":17,"_file":541,"_stem":542,"_extension":20},"/python/getting-dictionary-values","Getting Dictionary Values","Learn safe and efficient methods to retrieve data from Python dictionaries using various access techniques","getting-dictionary-values",58,"content:python:58.getting-dictionary-values.md","python/58.getting-dictionary-values.md","python/58.getting-dictionary-values",{"_path":544,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":545,"description":546,"slug":547,"parentId":516,"order":548,"_type":15,"_id":549,"_source":17,"_file":550,"_stem":551,"_extension":20},"/python/updating-dictionaries","Updating Dictionaries","Learn how to modify and maintain Python dictionary data using various update methods and techniques","updating-dictionaries",59,"content:python:59.updating-dictionaries.md","python/59.updating-dictionaries.md","python/59.updating-dictionaries",{"_path":553,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":554,"description":555,"slug":556,"parentId":516,"order":557,"_type":15,"_id":558,"_source":17,"_file":559,"_stem":560,"_extension":20},"/python/adding-dictionary-items","Adding Dictionary Items","Learn effective techniques for adding new items to Python dictionaries with various methods and best practices","adding-dictionary-items",60,"content:python:60.adding-dictionary-items.md","python/60.adding-dictionary-items.md","python/60.adding-dictionary-items",{"_path":562,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":563,"description":564,"slug":565,"parentId":516,"order":566,"_type":15,"_id":567,"_source":17,"_file":568,"_stem":569,"_extension":20},"/python/deleting-dictionary-items","Deleting Dictionary Items","Master safe and efficient techniques for removing items from Python dictionaries with various methods and error handling","deleting-dictionary-items",61,"content:python:61.deleting-dictionary-items.md","python/61.deleting-dictionary-items.md","python/61.deleting-dictionary-items",{"_path":571,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":572,"description":573,"slug":574,"parentId":516,"order":575,"_type":15,"_id":576,"_source":17,"_file":577,"_stem":578,"_extension":20},"/python/looping-dictionaries","Looping Dictionaries","Learn efficient techniques for iterating through Python dictionaries using keys, values, and items","looping-dictionaries",62,"content:python:62.looping-dictionaries.md","python/62.looping-dictionaries.md","python/62.looping-dictionaries",{"_path":580,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":581,"description":582,"slug":583,"parentId":516,"order":584,"_type":15,"_id":585,"_source":17,"_file":586,"_stem":587,"_extension":20},"/python/dictionary-copies","Dictionary Copies","Learn safe techniques for duplicating Python dictionaries using shallow and deep copy methods","dictionary-copies",63,"content:python:63.dictionary-copies.md","python/63.dictionary-copies.md","python/63.dictionary-copies",{"_path":589,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":590,"description":591,"slug":592,"parentId":516,"order":593,"_type":15,"_id":594,"_source":17,"_file":595,"_stem":596,"_extension":20},"/python/multi-level-dictionaries","Multi-level Dictionaries","Master working with nested Python dictionaries for complex data structures and hierarchical information","multi-level-dictionaries",64,"content:python:64.multi-level-dictionaries.md","python/64.multi-level-dictionaries.md","python/64.multi-level-dictionaries",{"_path":598,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":599,"description":600,"slug":601,"parentId":516,"order":602,"_type":15,"_id":603,"_source":17,"_file":604,"_stem":605,"_extension":20},"/python/dictionary-tools","Dictionary Tools","Explore powerful built-in functions and advanced techniques for efficient Python dictionary manipulation and analysis","dictionary-tools",65,"content:python:65.dictionary-tools.md","python/65.dictionary-tools.md","python/65.dictionary-tools",{"_path":607,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":608,"description":609,"slug":610,"order":611,"isParent":13,"icon":14,"_type":15,"_id":612,"_source":17,"_file":613,"_stem":614,"_extension":20,"children":615},"/python/python-functions","Python Functions","Learn how to create and use Python functions to organize code into reusable, modular components that make programs more efficient and maintainable","python-functions",66,"content:python:66.python-functions.md","python/66.python-functions.md","python/66.python-functions",[616,625,634,643,652,661],{"_path":617,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":618,"description":619,"slug":620,"parentId":607,"order":621,"_type":15,"_id":622,"_source":17,"_file":623,"_stem":624,"_extension":20},"/python/function-basics","Function Basics","Learn the fundamentals of creating and using Python functions to organize code into reusable, modular components","function-basics",67,"content:python:67.function-basics.md","python/67.function-basics.md","python/67.function-basics",{"_path":626,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":627,"description":628,"slug":629,"parentId":607,"order":630,"_type":15,"_id":631,"_source":17,"_file":632,"_stem":633,"_extension":20},"/python/function-parameters","Function Parameters","Master different types of Python function parameters including positional, keyword, default, and variable-length arguments","function-parameters",68,"content:python:68.function-parameters.md","python/68.function-parameters.md","python/68.function-parameters",{"_path":635,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":636,"description":637,"slug":638,"parentId":607,"order":639,"_type":15,"_id":640,"_source":17,"_file":641,"_stem":642,"_extension":20},"/python/returning-values","Returning Values","Learn different ways Python functions return data including single values, multiple values, and conditional returns","returning-values",69,"content:python:69.returning-values.md","python/69.returning-values.md","python/69.returning-values",{"_path":644,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":645,"description":646,"slug":647,"parentId":607,"order":648,"_type":15,"_id":649,"_source":17,"_file":650,"_stem":651,"_extension":20},"/python/variable-scope","Variable Scope","Understand Python variable scope including local, global, and nonlocal variables and how they affect function behavior","variable-scope",70,"content:python:70.variable-scope.md","python/70.variable-scope.md","python/70.variable-scope",{"_path":653,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":654,"description":655,"slug":656,"parentId":607,"order":657,"_type":15,"_id":658,"_source":17,"_file":659,"_stem":660,"_extension":20},"/python/anonymous-functions","Anonymous Functions","Learn to create and use Python lambda functions for concise, inline function definitions and functional programming patterns","anonymous-functions",71,"content:python:71.anonymous-functions.md","python/71.anonymous-functions.md","python/71.anonymous-functions",{"_path":662,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":663,"description":664,"slug":665,"parentId":607,"order":666,"_type":15,"_id":667,"_source":17,"_file":668,"_stem":669,"_extension":20},"/python/function-recursion","Function Recursion","Master recursive functions in Python by learning how functions can call themselves to solve complex problems with elegant, mathematical solutions","function-recursion",72,"content:python:72.function-recursion.md","python/72.function-recursion.md","python/72.function-recursion",{"_path":671,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":672,"description":673,"slug":674,"order":675,"isParent":13,"icon":14,"_type":15,"_id":676,"_source":17,"_file":677,"_stem":678,"_extension":20,"children":679},"/python/object-programming","Object Programming","Learn object-oriented programming (OOP) in Python - create classes, objects, and methods to build organized, reusable code","object-programming",73,"content:python:73.object-programming.md","python/73.object-programming.md","python/73.object-programming",[680,689,698,707,716,725],{"_path":681,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":682,"description":683,"slug":684,"parentId":671,"order":685,"_type":15,"_id":686,"_source":17,"_file":687,"_stem":688,"_extension":20},"/python/classes-and-objects","Classes and Objects","Learn to create Python classes and objects - the foundation of object-oriented programming for building reusable, organized code","classes-and-objects",74,"content:python:74.classes-and-objects.md","python/74.classes-and-objects.md","python/74.classes-and-objects",{"_path":690,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":691,"description":692,"slug":693,"parentId":671,"order":694,"_type":15,"_id":695,"_source":17,"_file":696,"_stem":697,"_extension":20},"/python/object-methods","Object Methods","Master object methods in Python - learn to define behaviors, work with parameters, and create interactive objects that respond to actions","object-methods",75,"content:python:75.object-methods.md","python/75.object-methods.md","python/75.object-methods",{"_path":699,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":700,"description":701,"slug":702,"parentId":671,"order":703,"_type":15,"_id":704,"_source":17,"_file":705,"_stem":706,"_extension":20},"/python/class-inheritance","Class Inheritance","Learn Python class inheritance - create specialized classes that build upon existing functionality while adding new features and behaviors","class-inheritance",76,"content:python:76.class-inheritance.md","python/76.class-inheritance.md","python/76.class-inheritance",{"_path":708,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":709,"description":710,"slug":711,"parentId":671,"order":712,"_type":15,"_id":713,"_source":17,"_file":714,"_stem":715,"_extension":20},"/python/method-overriding","Method Overriding","Master method overriding in Python - learn to customize inherited methods, use super(), and create specialized behaviors while maintaining inheritance benefits","method-overriding",77,"content:python:77.method-overriding.md","python/77.method-overriding.md","python/77.method-overriding",{"_path":717,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":718,"description":719,"slug":720,"parentId":671,"order":721,"_type":15,"_id":722,"_source":17,"_file":723,"_stem":724,"_extension":20},"/python/variable-visibility","Variable Visibility","Master Python variable visibility - learn public, protected, and private attributes to control access and create well-encapsulated classes","variable-visibility",78,"content:python:78.variable-visibility.md","python/78.variable-visibility.md","python/78.variable-visibility",{"_path":726,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":727,"description":728,"slug":729,"parentId":671,"order":730,"_type":15,"_id":731,"_source":17,"_file":732,"_stem":733,"_extension":20},"/python/special-methods","Special Methods","Master Python special methods (magic methods) - learn to implement __str__, __len__, __eq__ and more to make your classes work seamlessly with Python's built-in functions","special-methods",79,"content:python:79.special-methods.md","python/79.special-methods.md","python/79.special-methods",{"_path":735,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":736,"description":737,"slug":738,"order":739,"isParent":13,"icon":14,"_type":15,"_id":740,"_source":17,"_file":741,"_stem":742,"_extension":20,"children":743},"/python/advanced-concepts","Advanced Concepts","Master advanced Python programming concepts - work with dates, mathematics, JSON data, pattern matching, and more sophisticated programming techniques","advanced-concepts",80,"content:python:80.advanced-concepts.md","python/80.advanced-concepts.md","python/80.advanced-concepts",[744,753,762,771,780,789,798],{"_path":745,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":746,"description":747,"slug":748,"parentId":735,"order":749,"_type":15,"_id":750,"_source":17,"_file":751,"_stem":752,"_extension":20},"/python/working-with-dates","Working with Dates","Master Python date and time handling - work with datetime objects, format dates, calculate durations, and build time-aware applications","working-with-dates",81,"content:python:81.working-with-dates.md","python/81.working-with-dates.md","python/81.working-with-dates",{"_path":754,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":755,"description":756,"slug":757,"parentId":735,"order":758,"_type":15,"_id":759,"_source":17,"_file":760,"_stem":761,"_extension":20},"/python/mathematical-operations","Mathematical Operations","Master Python mathematical computing - use math functions, perform statistical calculations, and implement scientific computing for data analysis and problem-solving","mathematical-operations",82,"content:python:82.mathematical-operations.md","python/82.mathematical-operations.md","python/82.mathematical-operations",{"_path":763,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":764,"description":765,"slug":766,"parentId":735,"order":767,"_type":15,"_id":768,"_source":17,"_file":769,"_stem":770,"_extension":20},"/python/json-data","JSON Data","Master JSON data handling in Python - serialize and deserialize data, work with APIs, manage configuration files, and exchange data between applications","json-data",83,"content:python:83.json-data.md","python/83.json-data.md","python/83.json-data",{"_path":772,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":773,"description":774,"slug":775,"parentId":735,"order":776,"_type":15,"_id":777,"_source":17,"_file":778,"_stem":779,"_extension":20},"/python/package-management","Package Management","Master Python package management with pip and virtual environments - install libraries, manage dependencies, create isolated environments, and distribute packages professionally","package-management",85,"content:python:85.package-management.md","python/85.package-management.md","python/85.package-management",{"_path":781,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":782,"description":783,"slug":784,"parentId":735,"order":785,"_type":15,"_id":786,"_source":17,"_file":787,"_stem":788,"_extension":20},"/python/error-handling","Error Handling","Master Python error handling with try/except blocks, exception types, custom exceptions, debugging techniques, and best practices for robust application development","error-handling",86,"content:python:86.error-handling.md","python/86.error-handling.md","python/86.error-handling",{"_path":790,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":791,"description":792,"slug":793,"parentId":735,"order":794,"_type":15,"_id":795,"_source":17,"_file":796,"_stem":797,"_extension":20},"/python/getting-user-input","Getting User Input","Master user input handling in Python with input validation, data type conversion, interactive programs, and command-line interfaces for engaging user experiences","getting-user-input",87,"content:python:87.getting-user-input.md","python/87.getting-user-input.md","python/87.getting-user-input",{"_path":799,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":800,"description":801,"slug":802,"parentId":735,"order":803,"_type":15,"_id":804,"_source":17,"_file":805,"_stem":806,"_extension":20},"/python/text-formatting","Text Formatting","Master Python text formatting with f-strings, format methods, alignment, number formatting, and advanced techniques for professional, readable output","text-formatting",88,"content:python:88.text-formatting.md","python/88.text-formatting.md","python/88.text-formatting",{"_path":808,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":809,"description":810,"slug":811,"order":812,"isParent":13,"icon":14,"_type":15,"_id":813,"_source":17,"_file":814,"_stem":815,"_extension":20,"children":816},"/python/file-operations","File Operations","Master Python file handling with reading, writing, and managing files for data persistence and real-world applications","file-operations",89,"content:python:89.file-operations.md","python/89.file-operations.md","python/89.file-operations",[817,826,835,844],{"_path":818,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":819,"description":820,"slug":821,"parentId":808,"order":822,"_type":15,"_id":823,"_source":17,"_file":824,"_stem":825,"_extension":20},"/python/file-basics","File Basics","Learn fundamental Python file operations including opening files, understanding file modes, using context managers, and basic file handling concepts","file-basics",90,"content:python:90.file-basics.md","python/90.file-basics.md","python/90.file-basics",{"_path":827,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":828,"description":829,"slug":830,"parentId":808,"order":831,"_type":15,"_id":832,"_source":17,"_file":833,"_stem":834,"_extension":20},"/python/reading-files","Reading Files","Master Python file reading techniques including reading entire files, line-by-line processing, and handling different file formats for efficient data processing","reading-files",91,"content:python:91.reading-files.md","python/91.reading-files.md","python/91.reading-files",{"_path":836,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":837,"description":838,"slug":839,"parentId":808,"order":840,"_type":15,"_id":841,"_source":17,"_file":842,"_stem":843,"_extension":20},"/python/writing-files","Writing Files","Learn Python file writing techniques including creating new files, appending content, updating existing files, and saving different data formats safely","writing-files",92,"content:python:92.writing-files.md","python/92.writing-files.md","python/92.writing-files",{"_path":845,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":846,"description":847,"slug":848,"parentId":808,"order":849,"_type":15,"_id":850,"_source":17,"_file":851,"_stem":852,"_extension":20},"/python/file-management","File Management","Learn Python file management techniques including checking file properties, organizing files, directory operations, and implementing file system maintenance tasks","file-management",93,"content:python:93.file-management.md","python/93.file-management.md","python/93.file-management",{"_path":854,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":855,"description":856,"slug":857,"order":858,"isParent":13,"icon":14,"_type":15,"_id":859,"_source":17,"_file":860,"_stem":861,"_extension":20,"children":862},"/python/code-organization","Code Organization","Master Python code organization with modules, built-in libraries, and path management for creating maintainable and reusable applications","code-organization",94,"content:python:94.code-organization.md","python/94.code-organization.md","python/94.code-organization",[863,872,881],{"_path":864,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":865,"description":866,"slug":867,"parentId":854,"order":868,"_type":15,"_id":869,"_source":17,"_file":870,"_stem":871,"_extension":20},"/python/creating-modules","Creating Modules","Learn how to create custom Python modules, organize functions and classes, write reusable code components, and design effective module structures","creating-modules",95,"content:python:95.creating-modules.md","python/95.creating-modules.md","python/95.creating-modules",{"_path":873,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":874,"description":875,"slug":876,"parentId":854,"order":877,"_type":15,"_id":878,"_source":17,"_file":879,"_stem":880,"_extension":20},"/python/using-built-in-modules","Using Built-in Modules","Discover Python's extensive standard library and learn to effectively use built-in modules for common programming tasks, data processing, and system operations","using-built-in-modules",96,"content:python:96.using-built-in-modules.md","python/96.using-built-in-modules.md","python/96.using-built-in-modules",{"_path":882,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":883,"description":884,"slug":885,"parentId":854,"order":886,"_type":15,"_id":887,"_source":17,"_file":888,"_stem":889,"_extension":20},"/python/module-paths","Module Paths","Understand Python's module search system, manage import paths, work with packages, and organize larger projects with proper module path management","module-paths",97,"content:python:97.module-paths.md","python/97.module-paths.md","python/97.module-paths",{"_path":891,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":892,"description":893,"slug":894,"order":895,"isParent":13,"icon":14,"_type":15,"_id":896,"_source":17,"_file":897,"_stem":898,"_extension":20,"children":899,"expanded":13},"/python/reference-materials","Reference Materials","Comprehensive Python reference materials including reserved words, built-in functions, and operation guides for quick lookup and development support","reference-materials",98,"content:python:98.reference-materials.md","python/98.reference-materials.md","python/98.reference-materials",[900,909,918,927,936,945,953,961,970],{"_path":901,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":902,"description":903,"slug":904,"parentId":891,"order":905,"_type":15,"_id":906,"_source":17,"_file":907,"_stem":908,"_extension":20},"/python/reserved-words","Reserved Words","Complete reference of Python keywords and reserved words with descriptions, usage examples, and syntax guidelines","reserved-words",99,"content:python:99.reserved-words.md","python/99.reserved-words.md","python/99.reserved-words",{"_path":910,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":911,"description":912,"slug":913,"parentId":891,"order":914,"_type":15,"_id":915,"_source":17,"_file":916,"_stem":917,"_extension":20},"/python/built-in-functions","Built-in Functions","Comprehensive reference of Python's built-in functions with parameters, return values, and practical usage examples","built-in-functions",100,"content:python:100.built-in-functions.md","python/100.built-in-functions.md","python/100.built-in-functions",{"_path":919,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":920,"description":921,"slug":922,"parentId":891,"order":923,"_type":15,"_id":924,"_source":17,"_file":925,"_stem":926,"_extension":20},"/python/string-operations","String Operations","Complete reference of Python string methods, operations, and formatting techniques with examples and use cases","string-operations",101,"content:python:101.string-operations.md","python/101.string-operations.md","python/101.string-operations",{"_path":928,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":929,"description":930,"slug":931,"parentId":891,"order":932,"_type":15,"_id":933,"_source":17,"_file":934,"_stem":935,"_extension":20},"/python/list-operations","List Operations","Complete reference of Python list methods, operations, and manipulation techniques with examples and performance notes","list-operations",102,"content:python:102.list-operations.md","python/102.list-operations.md","python/102.list-operations",{"_path":937,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":938,"description":939,"slug":940,"parentId":891,"order":941,"_type":15,"_id":942,"_source":17,"_file":943,"_stem":944,"_extension":20},"/python/dictionary-operations","Dictionary Operations","Complete reference of Python dictionary methods, operations, and manipulation techniques with examples and use cases","dictionary-operations",103,"content:python:103.dictionary-operations.md","python/103.dictionary-operations.md","python/103.dictionary-operations",{"_path":946,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":947,"slug":948,"parentId":891,"order":949,"_type":15,"_id":950,"_source":17,"_file":951,"_stem":952,"_extension":20},"/python/tuple-methods","Complete reference of Python tuple operations, methods, and techniques with examples and use cases","tuple-methods",104,"content:python:104.tuple-methods.md","python/104.tuple-methods.md","python/104.tuple-methods",{"_path":954,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":955,"slug":956,"parentId":891,"order":957,"_type":15,"_id":958,"_source":17,"_file":959,"_stem":960,"_extension":20},"/python/set-methods","Complete reference of Python set operations, methods, and mathematical set operations with examples and use cases","set-methods",105,"content:python:105.set-methods.md","python/105.set-methods.md","python/105.set-methods",{"_path":962,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":963,"description":964,"slug":965,"parentId":891,"order":966,"_type":15,"_id":967,"_source":17,"_file":968,"_stem":969,"_extension":20},"/python/file-operations-reference","File Operations Reference","Complete reference of Python file operations, modes, methods, and file handling techniques with examples","file-operations-reference",106,"content:python:106.file-operations-reference.md","python/106.file-operations-reference.md","python/106.file-operations-reference",{"_path":971,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":972,"description":973,"slug":974,"parentId":891,"order":975,"_type":15,"_id":976,"_source":17,"_file":977,"_stem":978,"_extension":20},"/python/error-types","Error Types","Complete reference of Python exception types, error handling patterns, and debugging techniques with examples","error-types",107,"content:python:107.error-types.md","python/107.error-types.md","python/107.error-types",{"_path":980,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":981,"description":10,"slug":982,"order":983,"icon":14,"_type":15,"_id":984,"_source":17,"_file":985,"_stem":986,"_extension":20},"/python","Introduction","python-tutorial",0,"content:python:index.md","python/index.md","python/index",[269],{"_path":270,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":271,"description":272,"slug":273,"order":274,"isParent":13,"icon":14,"body":989,"_type":15,"_id":275,"_source":17,"_file":276,"_stem":277,"_extension":20},{"type":990,"children":991,"toc":2983},"root",[992,1000,1006,1011,1410,1417,1430,1435,1441,1446,1543,1550,1555,1974,1980,1985,2179,2185,2190,2703,2709,2714,2802,2808,2813,2948,2954,2966,2977],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":273},[997],{"type":998,"value":999},"text","📋 Python Lists",{"type":993,"tag":1001,"props":1002,"children":1003},"p",{},[1004],{"type":998,"value":1005},"Python lists are one of the most fundamental and powerful data structures in the language. They allow you to store multiple items in a single variable, organize data in a specific order, and perform various operations on collections of information. Lists are essential for almost every Python program that deals with multiple pieces of data.",{"type":993,"tag":1001,"props":1007,"children":1008},{},[1009],{"type":998,"value":1010},"Think of lists as containers that can hold any type of data - numbers, strings, or even other lists. They're like digital filing cabinets where you can store, organize, retrieve, and modify your data efficiently.",{"type":993,"tag":1012,"props":1013,"children":1014},"code-try",{},[1015],{"type":993,"tag":1016,"props":1017,"children":1020},"pre",{"className":1018,"code":1019,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Basic list examples\nfruits = [\"apple\", \"banana\", \"cherry\"]\nnumbers = [1, 2, 3, 4, 5]\nmixed_data = [\"hello\", 42, True, 3.14]\n\nprint(\"Fruits:\", fruits)\nprint(\"Numbers:\", numbers)\nprint(\"Mixed data:\", mixed_data)\n\n# Lists are ordered and changeable\nprint(f\"First fruit: {fruits[0]}\")\nfruits[0] = \"orange\"\nprint(f\"Updated fruits: {fruits}\")\n",[1021],{"type":993,"tag":1022,"props":1023,"children":1024},"code",{"__ignoreMap":8},[1025,1036,1086,1148,1200,1208,1231,1252,1273,1280,1288,1344,1369],{"type":993,"tag":1026,"props":1027,"children":1029},"span",{"class":1028,"line":12},"line",[1030],{"type":993,"tag":1026,"props":1031,"children":1033},{"style":1032},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1034],{"type":998,"value":1035},"# Basic list examples\n",{"type":993,"tag":1026,"props":1037,"children":1038},{"class":1028,"line":27},[1039,1045,1051,1056,1062,1067,1072,1076,1081],{"type":993,"tag":1026,"props":1040,"children":1042},{"style":1041},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1043],{"type":998,"value":1044},"fruits ",{"type":993,"tag":1026,"props":1046,"children":1048},{"style":1047},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1049],{"type":998,"value":1050},"=",{"type":993,"tag":1026,"props":1052,"children":1053},{"style":1041},[1054],{"type":998,"value":1055}," [",{"type":993,"tag":1026,"props":1057,"children":1059},{"style":1058},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1060],{"type":998,"value":1061},"\"apple\"",{"type":993,"tag":1026,"props":1063,"children":1064},{"style":1041},[1065],{"type":998,"value":1066},", ",{"type":993,"tag":1026,"props":1068,"children":1069},{"style":1058},[1070],{"type":998,"value":1071},"\"banana\"",{"type":993,"tag":1026,"props":1073,"children":1074},{"style":1041},[1075],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1077,"children":1078},{"style":1058},[1079],{"type":998,"value":1080},"\"cherry\"",{"type":993,"tag":1026,"props":1082,"children":1083},{"style":1041},[1084],{"type":998,"value":1085},"]\n",{"type":993,"tag":1026,"props":1087,"children":1088},{"class":1028,"line":36},[1089,1094,1098,1102,1108,1112,1117,1121,1126,1130,1135,1139,1144],{"type":993,"tag":1026,"props":1090,"children":1091},{"style":1041},[1092],{"type":998,"value":1093},"numbers ",{"type":993,"tag":1026,"props":1095,"children":1096},{"style":1047},[1097],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1099,"children":1100},{"style":1041},[1101],{"type":998,"value":1055},{"type":993,"tag":1026,"props":1103,"children":1105},{"style":1104},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1106],{"type":998,"value":1107},"1",{"type":993,"tag":1026,"props":1109,"children":1110},{"style":1041},[1111],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1113,"children":1114},{"style":1104},[1115],{"type":998,"value":1116},"2",{"type":993,"tag":1026,"props":1118,"children":1119},{"style":1041},[1120],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1122,"children":1123},{"style":1104},[1124],{"type":998,"value":1125},"3",{"type":993,"tag":1026,"props":1127,"children":1128},{"style":1041},[1129],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1131,"children":1132},{"style":1104},[1133],{"type":998,"value":1134},"4",{"type":993,"tag":1026,"props":1136,"children":1137},{"style":1041},[1138],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1140,"children":1141},{"style":1104},[1142],{"type":998,"value":1143},"5",{"type":993,"tag":1026,"props":1145,"children":1146},{"style":1041},[1147],{"type":998,"value":1085},{"type":993,"tag":1026,"props":1149,"children":1150},{"class":1028,"line":45},[1151,1156,1160,1164,1169,1173,1178,1182,1187,1191,1196],{"type":993,"tag":1026,"props":1152,"children":1153},{"style":1041},[1154],{"type":998,"value":1155},"mixed_data ",{"type":993,"tag":1026,"props":1157,"children":1158},{"style":1047},[1159],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1161,"children":1162},{"style":1041},[1163],{"type":998,"value":1055},{"type":993,"tag":1026,"props":1165,"children":1166},{"style":1058},[1167],{"type":998,"value":1168},"\"hello\"",{"type":993,"tag":1026,"props":1170,"children":1171},{"style":1041},[1172],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1174,"children":1175},{"style":1104},[1176],{"type":998,"value":1177},"42",{"type":993,"tag":1026,"props":1179,"children":1180},{"style":1041},[1181],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1183,"children":1184},{"style":1104},[1185],{"type":998,"value":1186},"True",{"type":993,"tag":1026,"props":1188,"children":1189},{"style":1041},[1190],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1192,"children":1193},{"style":1104},[1194],{"type":998,"value":1195},"3.14",{"type":993,"tag":1026,"props":1197,"children":1198},{"style":1041},[1199],{"type":998,"value":1085},{"type":993,"tag":1026,"props":1201,"children":1202},{"class":1028,"line":54},[1203],{"type":993,"tag":1026,"props":1204,"children":1205},{"emptyLinePlaceholder":13},[1206],{"type":998,"value":1207},"\n",{"type":993,"tag":1026,"props":1209,"children":1210},{"class":1028,"line":63},[1211,1216,1221,1226],{"type":993,"tag":1026,"props":1212,"children":1213},{"style":1104},[1214],{"type":998,"value":1215},"print",{"type":993,"tag":1026,"props":1217,"children":1218},{"style":1041},[1219],{"type":998,"value":1220},"(",{"type":993,"tag":1026,"props":1222,"children":1223},{"style":1058},[1224],{"type":998,"value":1225},"\"Fruits:\"",{"type":993,"tag":1026,"props":1227,"children":1228},{"style":1041},[1229],{"type":998,"value":1230},", fruits)\n",{"type":993,"tag":1026,"props":1232,"children":1233},{"class":1028,"line":72},[1234,1238,1242,1247],{"type":993,"tag":1026,"props":1235,"children":1236},{"style":1104},[1237],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1239,"children":1240},{"style":1041},[1241],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1243,"children":1244},{"style":1058},[1245],{"type":998,"value":1246},"\"Numbers:\"",{"type":993,"tag":1026,"props":1248,"children":1249},{"style":1041},[1250],{"type":998,"value":1251},", numbers)\n",{"type":993,"tag":1026,"props":1253,"children":1254},{"class":1028,"line":81},[1255,1259,1263,1268],{"type":993,"tag":1026,"props":1256,"children":1257},{"style":1104},[1258],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1260,"children":1261},{"style":1041},[1262],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1264,"children":1265},{"style":1058},[1266],{"type":998,"value":1267},"\"Mixed data:\"",{"type":993,"tag":1026,"props":1269,"children":1270},{"style":1041},[1271],{"type":998,"value":1272},", mixed_data)\n",{"type":993,"tag":1026,"props":1274,"children":1275},{"class":1028,"line":91},[1276],{"type":993,"tag":1026,"props":1277,"children":1278},{"emptyLinePlaceholder":13},[1279],{"type":998,"value":1207},{"type":993,"tag":1026,"props":1281,"children":1282},{"class":1028,"line":100},[1283],{"type":993,"tag":1026,"props":1284,"children":1285},{"style":1032},[1286],{"type":998,"value":1287},"# Lists are ordered and changeable\n",{"type":993,"tag":1026,"props":1289,"children":1290},{"class":1028,"line":109},[1291,1295,1299,1304,1309,1314,1319,1324,1329,1334,1339],{"type":993,"tag":1026,"props":1292,"children":1293},{"style":1104},[1294],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1296,"children":1297},{"style":1041},[1298],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1300,"children":1301},{"style":1047},[1302],{"type":998,"value":1303},"f",{"type":993,"tag":1026,"props":1305,"children":1306},{"style":1058},[1307],{"type":998,"value":1308},"\"First fruit: ",{"type":993,"tag":1026,"props":1310,"children":1311},{"style":1104},[1312],{"type":998,"value":1313},"{",{"type":993,"tag":1026,"props":1315,"children":1316},{"style":1041},[1317],{"type":998,"value":1318},"fruits[",{"type":993,"tag":1026,"props":1320,"children":1321},{"style":1104},[1322],{"type":998,"value":1323},"0",{"type":993,"tag":1026,"props":1325,"children":1326},{"style":1041},[1327],{"type":998,"value":1328},"]",{"type":993,"tag":1026,"props":1330,"children":1331},{"style":1104},[1332],{"type":998,"value":1333},"}",{"type":993,"tag":1026,"props":1335,"children":1336},{"style":1058},[1337],{"type":998,"value":1338},"\"",{"type":993,"tag":1026,"props":1340,"children":1341},{"style":1041},[1342],{"type":998,"value":1343},")\n",{"type":993,"tag":1026,"props":1345,"children":1346},{"class":1028,"line":118},[1347,1351,1355,1360,1364],{"type":993,"tag":1026,"props":1348,"children":1349},{"style":1041},[1350],{"type":998,"value":1318},{"type":993,"tag":1026,"props":1352,"children":1353},{"style":1104},[1354],{"type":998,"value":1323},{"type":993,"tag":1026,"props":1356,"children":1357},{"style":1041},[1358],{"type":998,"value":1359},"] ",{"type":993,"tag":1026,"props":1361,"children":1362},{"style":1047},[1363],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1365,"children":1366},{"style":1058},[1367],{"type":998,"value":1368}," \"orange\"\n",{"type":993,"tag":1026,"props":1370,"children":1371},{"class":1028,"line":127},[1372,1376,1380,1384,1389,1393,1398,1402,1406],{"type":993,"tag":1026,"props":1373,"children":1374},{"style":1104},[1375],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1377,"children":1378},{"style":1041},[1379],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1381,"children":1382},{"style":1047},[1383],{"type":998,"value":1303},{"type":993,"tag":1026,"props":1385,"children":1386},{"style":1058},[1387],{"type":998,"value":1388},"\"Updated fruits: ",{"type":993,"tag":1026,"props":1390,"children":1391},{"style":1104},[1392],{"type":998,"value":1313},{"type":993,"tag":1026,"props":1394,"children":1395},{"style":1041},[1396],{"type":998,"value":1397},"fruits",{"type":993,"tag":1026,"props":1399,"children":1400},{"style":1104},[1401],{"type":998,"value":1333},{"type":993,"tag":1026,"props":1403,"children":1404},{"style":1058},[1405],{"type":998,"value":1338},{"type":993,"tag":1026,"props":1407,"children":1408},{"style":1041},[1409],{"type":998,"value":1343},{"type":993,"tag":1411,"props":1412,"children":1414},"h2",{"id":1413},"why-lists-matter",[1415],{"type":998,"value":1416},"🎯 Why Lists Matter",{"type":993,"tag":1001,"props":1418,"children":1419},{},[1420,1422,1428],{"type":998,"value":1421},"Lists solve the fundamental problem of managing multiple related pieces of data. Without lists, you would need separate variables for each item, making your code repetitive, hard to maintain, and impossible to scale. Lists enable you to process collections of data efficiently using ",{"type":993,"tag":1423,"props":1424,"children":1425},"a",{"href":243},[1426],{"type":998,"value":1427},"loops",{"type":998,"value":1429}," and other programming constructs.",{"type":993,"tag":1001,"props":1431,"children":1432},{},[1433],{"type":998,"value":1434},"Every real-world application uses lists in some form - from storing user information and shopping cart items to managing game scores and processing large datasets.",{"type":993,"tag":1411,"props":1436,"children":1438},{"id":1437},"key-characteristics-of-lists",[1439],{"type":998,"value":1440},"Key Characteristics of Lists",{"type":993,"tag":1001,"props":1442,"children":1443},{},[1444],{"type":998,"value":1445},"Python lists have several important characteristics that make them incredibly useful:",{"type":993,"tag":1447,"props":1448,"children":1452},"info-box",{"emoji":1449,"title":1450,"type":1451},"📝","List Fundamentals","info",[1453,1462,1517,1533],{"type":993,"tag":1001,"props":1454,"children":1455},{},[1456],{"type":993,"tag":1457,"props":1458,"children":1459},"strong",{},[1460],{"type":998,"value":1461},"Core Characteristics:",{"type":993,"tag":1463,"props":1464,"children":1465},"ul",{},[1466,1477,1487,1497,1507],{"type":993,"tag":1467,"props":1468,"children":1469},"li",{},[1470,1475],{"type":993,"tag":1457,"props":1471,"children":1472},{},[1473],{"type":998,"value":1474},"Ordered",{"type":998,"value":1476},": Items have a defined order that is maintained",{"type":993,"tag":1467,"props":1478,"children":1479},{},[1480,1485],{"type":993,"tag":1457,"props":1481,"children":1482},{},[1483],{"type":998,"value":1484},"Changeable",{"type":998,"value":1486},": You can modify, add, and remove items after creation",{"type":993,"tag":1467,"props":1488,"children":1489},{},[1490,1495],{"type":993,"tag":1457,"props":1491,"children":1492},{},[1493],{"type":998,"value":1494},"Allow duplicates",{"type":998,"value":1496},": The same value can appear multiple times",{"type":993,"tag":1467,"props":1498,"children":1499},{},[1500,1505],{"type":993,"tag":1457,"props":1501,"children":1502},{},[1503],{"type":998,"value":1504},"Dynamic size",{"type":998,"value":1506},": Lists can grow and shrink during program execution",{"type":993,"tag":1467,"props":1508,"children":1509},{},[1510,1515],{"type":993,"tag":1457,"props":1511,"children":1512},{},[1513],{"type":998,"value":1514},"Heterogeneous",{"type":998,"value":1516},": Can store different data types in the same list",{"type":993,"tag":1001,"props":1518,"children":1519},{},[1520,1525,1527],{"type":993,"tag":1457,"props":1521,"children":1522},{},[1523],{"type":998,"value":1524},"Syntax:",{"type":998,"value":1526}," ",{"type":993,"tag":1022,"props":1528,"children":1530},{"className":1529},[],[1531],{"type":998,"value":1532},"[item1, item2, item3, ...]",{"type":993,"tag":1001,"props":1534,"children":1535},{},[1536,1541],{"type":993,"tag":1457,"props":1537,"children":1538},{},[1539],{"type":998,"value":1540},"Memory:",{"type":998,"value":1542}," Lists store references to objects, not the objects themselves",{"type":993,"tag":1544,"props":1545,"children":1547},"h3",{"id":1546},"demonstrating-list-properties",[1548],{"type":998,"value":1549},"Demonstrating List Properties",{"type":993,"tag":1001,"props":1551,"children":1552},{},[1553],{"type":998,"value":1554},"Understanding these characteristics helps you choose when lists are the right data structure:",{"type":993,"tag":1012,"props":1556,"children":1557},{},[1558],{"type":993,"tag":1016,"props":1559,"children":1561},{"className":1018,"code":1560,"language":6,"meta":8,"style":8},"# Demonstrating list characteristics\n# Ordered - items maintain their position\ncolors = [\"red\", \"green\", \"blue\"]\nprint(f\"First color: {colors[0]}\")  # Always red\n\n# Changeable - can modify after creation\ncolors.append(\"yellow\")\nprint(f\"After adding: {colors}\")\n\n# Allow duplicates\nnumbers = [1, 2, 2, 3, 2]\nprint(f\"With duplicates: {numbers}\")\n\n# Dynamic size and mixed data types\nshopping_cart = []\nshopping_cart.append(\"milk\")\nshopping_cart.append(2.50)  # price\nprint(f\"Cart: {shopping_cart}\")\n",[1562],{"type":993,"tag":1022,"props":1563,"children":1564},{"__ignoreMap":8},[1565,1573,1581,1624,1679,1686,1694,1711,1752,1759,1767,1822,1863,1870,1878,1895,1912,1933],{"type":993,"tag":1026,"props":1566,"children":1567},{"class":1028,"line":12},[1568],{"type":993,"tag":1026,"props":1569,"children":1570},{"style":1032},[1571],{"type":998,"value":1572},"# Demonstrating list characteristics\n",{"type":993,"tag":1026,"props":1574,"children":1575},{"class":1028,"line":27},[1576],{"type":993,"tag":1026,"props":1577,"children":1578},{"style":1032},[1579],{"type":998,"value":1580},"# Ordered - items maintain their position\n",{"type":993,"tag":1026,"props":1582,"children":1583},{"class":1028,"line":36},[1584,1589,1593,1597,1602,1606,1611,1615,1620],{"type":993,"tag":1026,"props":1585,"children":1586},{"style":1041},[1587],{"type":998,"value":1588},"colors ",{"type":993,"tag":1026,"props":1590,"children":1591},{"style":1047},[1592],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1594,"children":1595},{"style":1041},[1596],{"type":998,"value":1055},{"type":993,"tag":1026,"props":1598,"children":1599},{"style":1058},[1600],{"type":998,"value":1601},"\"red\"",{"type":993,"tag":1026,"props":1603,"children":1604},{"style":1041},[1605],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1607,"children":1608},{"style":1058},[1609],{"type":998,"value":1610},"\"green\"",{"type":993,"tag":1026,"props":1612,"children":1613},{"style":1041},[1614],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1616,"children":1617},{"style":1058},[1618],{"type":998,"value":1619},"\"blue\"",{"type":993,"tag":1026,"props":1621,"children":1622},{"style":1041},[1623],{"type":998,"value":1085},{"type":993,"tag":1026,"props":1625,"children":1626},{"class":1028,"line":45},[1627,1631,1635,1639,1644,1648,1653,1657,1661,1665,1669,1674],{"type":993,"tag":1026,"props":1628,"children":1629},{"style":1104},[1630],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1632,"children":1633},{"style":1041},[1634],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1636,"children":1637},{"style":1047},[1638],{"type":998,"value":1303},{"type":993,"tag":1026,"props":1640,"children":1641},{"style":1058},[1642],{"type":998,"value":1643},"\"First color: ",{"type":993,"tag":1026,"props":1645,"children":1646},{"style":1104},[1647],{"type":998,"value":1313},{"type":993,"tag":1026,"props":1649,"children":1650},{"style":1041},[1651],{"type":998,"value":1652},"colors[",{"type":993,"tag":1026,"props":1654,"children":1655},{"style":1104},[1656],{"type":998,"value":1323},{"type":993,"tag":1026,"props":1658,"children":1659},{"style":1041},[1660],{"type":998,"value":1328},{"type":993,"tag":1026,"props":1662,"children":1663},{"style":1104},[1664],{"type":998,"value":1333},{"type":993,"tag":1026,"props":1666,"children":1667},{"style":1058},[1668],{"type":998,"value":1338},{"type":993,"tag":1026,"props":1670,"children":1671},{"style":1041},[1672],{"type":998,"value":1673},")  ",{"type":993,"tag":1026,"props":1675,"children":1676},{"style":1032},[1677],{"type":998,"value":1678},"# Always red\n",{"type":993,"tag":1026,"props":1680,"children":1681},{"class":1028,"line":54},[1682],{"type":993,"tag":1026,"props":1683,"children":1684},{"emptyLinePlaceholder":13},[1685],{"type":998,"value":1207},{"type":993,"tag":1026,"props":1687,"children":1688},{"class":1028,"line":63},[1689],{"type":993,"tag":1026,"props":1690,"children":1691},{"style":1032},[1692],{"type":998,"value":1693},"# Changeable - can modify after creation\n",{"type":993,"tag":1026,"props":1695,"children":1696},{"class":1028,"line":72},[1697,1702,1707],{"type":993,"tag":1026,"props":1698,"children":1699},{"style":1041},[1700],{"type":998,"value":1701},"colors.append(",{"type":993,"tag":1026,"props":1703,"children":1704},{"style":1058},[1705],{"type":998,"value":1706},"\"yellow\"",{"type":993,"tag":1026,"props":1708,"children":1709},{"style":1041},[1710],{"type":998,"value":1343},{"type":993,"tag":1026,"props":1712,"children":1713},{"class":1028,"line":81},[1714,1718,1722,1726,1731,1735,1740,1744,1748],{"type":993,"tag":1026,"props":1715,"children":1716},{"style":1104},[1717],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1719,"children":1720},{"style":1041},[1721],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1723,"children":1724},{"style":1047},[1725],{"type":998,"value":1303},{"type":993,"tag":1026,"props":1727,"children":1728},{"style":1058},[1729],{"type":998,"value":1730},"\"After adding: ",{"type":993,"tag":1026,"props":1732,"children":1733},{"style":1104},[1734],{"type":998,"value":1313},{"type":993,"tag":1026,"props":1736,"children":1737},{"style":1041},[1738],{"type":998,"value":1739},"colors",{"type":993,"tag":1026,"props":1741,"children":1742},{"style":1104},[1743],{"type":998,"value":1333},{"type":993,"tag":1026,"props":1745,"children":1746},{"style":1058},[1747],{"type":998,"value":1338},{"type":993,"tag":1026,"props":1749,"children":1750},{"style":1041},[1751],{"type":998,"value":1343},{"type":993,"tag":1026,"props":1753,"children":1754},{"class":1028,"line":91},[1755],{"type":993,"tag":1026,"props":1756,"children":1757},{"emptyLinePlaceholder":13},[1758],{"type":998,"value":1207},{"type":993,"tag":1026,"props":1760,"children":1761},{"class":1028,"line":100},[1762],{"type":993,"tag":1026,"props":1763,"children":1764},{"style":1032},[1765],{"type":998,"value":1766},"# Allow duplicates\n",{"type":993,"tag":1026,"props":1768,"children":1769},{"class":1028,"line":109},[1770,1774,1778,1782,1786,1790,1794,1798,1802,1806,1810,1814,1818],{"type":993,"tag":1026,"props":1771,"children":1772},{"style":1041},[1773],{"type":998,"value":1093},{"type":993,"tag":1026,"props":1775,"children":1776},{"style":1047},[1777],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1779,"children":1780},{"style":1041},[1781],{"type":998,"value":1055},{"type":993,"tag":1026,"props":1783,"children":1784},{"style":1104},[1785],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1787,"children":1788},{"style":1041},[1789],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1791,"children":1792},{"style":1104},[1793],{"type":998,"value":1116},{"type":993,"tag":1026,"props":1795,"children":1796},{"style":1041},[1797],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1799,"children":1800},{"style":1104},[1801],{"type":998,"value":1116},{"type":993,"tag":1026,"props":1803,"children":1804},{"style":1041},[1805],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1807,"children":1808},{"style":1104},[1809],{"type":998,"value":1125},{"type":993,"tag":1026,"props":1811,"children":1812},{"style":1041},[1813],{"type":998,"value":1066},{"type":993,"tag":1026,"props":1815,"children":1816},{"style":1104},[1817],{"type":998,"value":1116},{"type":993,"tag":1026,"props":1819,"children":1820},{"style":1041},[1821],{"type":998,"value":1085},{"type":993,"tag":1026,"props":1823,"children":1824},{"class":1028,"line":118},[1825,1829,1833,1837,1842,1846,1851,1855,1859],{"type":993,"tag":1026,"props":1826,"children":1827},{"style":1104},[1828],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1830,"children":1831},{"style":1041},[1832],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1834,"children":1835},{"style":1047},[1836],{"type":998,"value":1303},{"type":993,"tag":1026,"props":1838,"children":1839},{"style":1058},[1840],{"type":998,"value":1841},"\"With duplicates: ",{"type":993,"tag":1026,"props":1843,"children":1844},{"style":1104},[1845],{"type":998,"value":1313},{"type":993,"tag":1026,"props":1847,"children":1848},{"style":1041},[1849],{"type":998,"value":1850},"numbers",{"type":993,"tag":1026,"props":1852,"children":1853},{"style":1104},[1854],{"type":998,"value":1333},{"type":993,"tag":1026,"props":1856,"children":1857},{"style":1058},[1858],{"type":998,"value":1338},{"type":993,"tag":1026,"props":1860,"children":1861},{"style":1041},[1862],{"type":998,"value":1343},{"type":993,"tag":1026,"props":1864,"children":1865},{"class":1028,"line":127},[1866],{"type":993,"tag":1026,"props":1867,"children":1868},{"emptyLinePlaceholder":13},[1869],{"type":998,"value":1207},{"type":993,"tag":1026,"props":1871,"children":1872},{"class":1028,"line":136},[1873],{"type":993,"tag":1026,"props":1874,"children":1875},{"style":1032},[1876],{"type":998,"value":1877},"# Dynamic size and mixed data types\n",{"type":993,"tag":1026,"props":1879,"children":1880},{"class":1028,"line":146},[1881,1886,1890],{"type":993,"tag":1026,"props":1882,"children":1883},{"style":1041},[1884],{"type":998,"value":1885},"shopping_cart ",{"type":993,"tag":1026,"props":1887,"children":1888},{"style":1047},[1889],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1891,"children":1892},{"style":1041},[1893],{"type":998,"value":1894}," []\n",{"type":993,"tag":1026,"props":1896,"children":1897},{"class":1028,"line":155},[1898,1903,1908],{"type":993,"tag":1026,"props":1899,"children":1900},{"style":1041},[1901],{"type":998,"value":1902},"shopping_cart.append(",{"type":993,"tag":1026,"props":1904,"children":1905},{"style":1058},[1906],{"type":998,"value":1907},"\"milk\"",{"type":993,"tag":1026,"props":1909,"children":1910},{"style":1041},[1911],{"type":998,"value":1343},{"type":993,"tag":1026,"props":1913,"children":1914},{"class":1028,"line":164},[1915,1919,1924,1928],{"type":993,"tag":1026,"props":1916,"children":1917},{"style":1041},[1918],{"type":998,"value":1902},{"type":993,"tag":1026,"props":1920,"children":1921},{"style":1104},[1922],{"type":998,"value":1923},"2.50",{"type":993,"tag":1026,"props":1925,"children":1926},{"style":1041},[1927],{"type":998,"value":1673},{"type":993,"tag":1026,"props":1929,"children":1930},{"style":1032},[1931],{"type":998,"value":1932},"# price\n",{"type":993,"tag":1026,"props":1934,"children":1935},{"class":1028,"line":173},[1936,1940,1944,1948,1953,1957,1962,1966,1970],{"type":993,"tag":1026,"props":1937,"children":1938},{"style":1104},[1939],{"type":998,"value":1215},{"type":993,"tag":1026,"props":1941,"children":1942},{"style":1041},[1943],{"type":998,"value":1220},{"type":993,"tag":1026,"props":1945,"children":1946},{"style":1047},[1947],{"type":998,"value":1303},{"type":993,"tag":1026,"props":1949,"children":1950},{"style":1058},[1951],{"type":998,"value":1952},"\"Cart: ",{"type":993,"tag":1026,"props":1954,"children":1955},{"style":1104},[1956],{"type":998,"value":1313},{"type":993,"tag":1026,"props":1958,"children":1959},{"style":1041},[1960],{"type":998,"value":1961},"shopping_cart",{"type":993,"tag":1026,"props":1963,"children":1964},{"style":1104},[1965],{"type":998,"value":1333},{"type":993,"tag":1026,"props":1967,"children":1968},{"style":1058},[1969],{"type":998,"value":1338},{"type":993,"tag":1026,"props":1971,"children":1972},{"style":1041},[1973],{"type":998,"value":1343},{"type":993,"tag":1411,"props":1975,"children":1977},{"id":1976},"common-list-operations",[1978],{"type":998,"value":1979},"Common List Operations",{"type":993,"tag":1001,"props":1981,"children":1982},{},[1983],{"type":998,"value":1984},"Lists support numerous operations that make data manipulation straightforward and intuitive. You can access individual items, modify contents, add new items, remove unwanted ones, and perform various transformations.",{"type":993,"tag":1447,"props":1986,"children":1990},{"emoji":1987,"title":1988,"type":1989},"🔧","Essential List Operations","success",[1991,1999,2056,2064,2128,2136],{"type":993,"tag":1001,"props":1992,"children":1993},{},[1994],{"type":993,"tag":1457,"props":1995,"children":1996},{},[1997],{"type":998,"value":1998},"Access Operations:",{"type":993,"tag":1463,"props":2000,"children":2001},{},[2002,2020,2038],{"type":993,"tag":1467,"props":2003,"children":2004},{},[2005,2007,2013,2014],{"type":998,"value":2006},"Indexing: ",{"type":993,"tag":1022,"props":2008,"children":2010},{"className":2009},[],[2011],{"type":998,"value":2012},"list[0]",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2015,"children":2017},{"className":2016},[],[2018],{"type":998,"value":2019},"list[-1]",{"type":993,"tag":1467,"props":2021,"children":2022},{},[2023,2025,2031,2032],{"type":998,"value":2024},"Slicing: ",{"type":993,"tag":1022,"props":2026,"children":2028},{"className":2027},[],[2029],{"type":998,"value":2030},"list[1:3]",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2033,"children":2035},{"className":2034},[],[2036],{"type":998,"value":2037},"list[:5]",{"type":993,"tag":1467,"props":2039,"children":2040},{},[2041,2043,2049,2050],{"type":998,"value":2042},"Searching: ",{"type":993,"tag":1022,"props":2044,"children":2046},{"className":2045},[],[2047],{"type":998,"value":2048},"item in list",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2051,"children":2053},{"className":2052},[],[2054],{"type":998,"value":2055},"list.index(item)",{"type":993,"tag":1001,"props":2057,"children":2058},{},[2059],{"type":993,"tag":1457,"props":2060,"children":2061},{},[2062],{"type":998,"value":2063},"Modification Operations:",{"type":993,"tag":1463,"props":2065,"children":2066},{},[2067,2092,2117],{"type":993,"tag":1467,"props":2068,"children":2069},{},[2070,2072,2078,2079,2085,2086],{"type":998,"value":2071},"Adding: ",{"type":993,"tag":1022,"props":2073,"children":2075},{"className":2074},[],[2076],{"type":998,"value":2077},"append()",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2080,"children":2082},{"className":2081},[],[2083],{"type":998,"value":2084},"insert()",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2087,"children":2089},{"className":2088},[],[2090],{"type":998,"value":2091},"extend()",{"type":993,"tag":1467,"props":2093,"children":2094},{},[2095,2097,2103,2104,2110,2111],{"type":998,"value":2096},"Removing: ",{"type":993,"tag":1022,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":998,"value":2102},"remove()",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2105,"children":2107},{"className":2106},[],[2108],{"type":998,"value":2109},"pop()",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2112,"children":2114},{"className":2113},[],[2115],{"type":998,"value":2116},"del",{"type":993,"tag":1467,"props":2118,"children":2119},{},[2120,2122],{"type":998,"value":2121},"Changing: ",{"type":993,"tag":1022,"props":2123,"children":2125},{"className":2124},[],[2126],{"type":998,"value":2127},"list[index] = new_value",{"type":993,"tag":1001,"props":2129,"children":2130},{},[2131],{"type":993,"tag":1457,"props":2132,"children":2133},{},[2134],{"type":998,"value":2135},"Information Operations:",{"type":993,"tag":1463,"props":2137,"children":2138},{},[2139,2150,2161],{"type":993,"tag":1467,"props":2140,"children":2141},{},[2142,2144],{"type":998,"value":2143},"Length: ",{"type":993,"tag":1022,"props":2145,"children":2147},{"className":2146},[],[2148],{"type":998,"value":2149},"len(list)",{"type":993,"tag":1467,"props":2151,"children":2152},{},[2153,2155],{"type":998,"value":2154},"Counting: ",{"type":993,"tag":1022,"props":2156,"children":2158},{"className":2157},[],[2159],{"type":998,"value":2160},"list.count(item)",{"type":993,"tag":1467,"props":2162,"children":2163},{},[2164,2166,2172,2173],{"type":998,"value":2165},"Sorting: ",{"type":993,"tag":1022,"props":2167,"children":2169},{"className":2168},[],[2170],{"type":998,"value":2171},"sort()",{"type":998,"value":1066},{"type":993,"tag":1022,"props":2174,"children":2176},{"className":2175},[],[2177],{"type":998,"value":2178},"sorted()",{"type":993,"tag":1544,"props":2180,"children":2182},{"id":2181},"quick-operations-overview",[2183],{"type":998,"value":2184},"Quick Operations Overview",{"type":993,"tag":1001,"props":2186,"children":2187},{},[2188],{"type":998,"value":2189},"The combination of these operations with Python's loop constructs creates powerful data processing capabilities:",{"type":993,"tag":1012,"props":2191,"children":2192},{},[2193],{"type":993,"tag":1016,"props":2194,"children":2196},{"className":1018,"code":2195,"language":6,"meta":8,"style":8},"# Common list operations overview\ntasks = [\"email\", \"meeting\", \"coding\", \"lunch\"]\n\n# Accessing items\nprint(f\"First task: {tasks[0]}\")\nprint(f\"Last task: {tasks[-1]}\")\n\n# Modifying items\ntasks[1] = \"conference call\"\ntasks.append(\"review code\")\nprint(f\"Updated tasks: {tasks}\")\n\n# List information\nprint(f\"Number of tasks: {len(tasks)}\")\nprint(f\"Is 'lunch' in tasks? {'lunch' in tasks}\")\n\n# Remove completed task\ncompleted = tasks.pop(0)\nprint(f\"Completed: {completed}\")\nprint(f\"Remaining: {tasks}\")\n",[2197],{"type":993,"tag":1022,"props":2198,"children":2199},{"__ignoreMap":8},[2200,2208,2260,2267,2275,2324,2377,2384,2392,2416,2433,2474,2481,2489,2531,2582,2589,2597,2622,2663],{"type":993,"tag":1026,"props":2201,"children":2202},{"class":1028,"line":12},[2203],{"type":993,"tag":1026,"props":2204,"children":2205},{"style":1032},[2206],{"type":998,"value":2207},"# Common list operations overview\n",{"type":993,"tag":1026,"props":2209,"children":2210},{"class":1028,"line":27},[2211,2216,2220,2224,2229,2233,2238,2242,2247,2251,2256],{"type":993,"tag":1026,"props":2212,"children":2213},{"style":1041},[2214],{"type":998,"value":2215},"tasks ",{"type":993,"tag":1026,"props":2217,"children":2218},{"style":1047},[2219],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2221,"children":2222},{"style":1041},[2223],{"type":998,"value":1055},{"type":993,"tag":1026,"props":2225,"children":2226},{"style":1058},[2227],{"type":998,"value":2228},"\"email\"",{"type":993,"tag":1026,"props":2230,"children":2231},{"style":1041},[2232],{"type":998,"value":1066},{"type":993,"tag":1026,"props":2234,"children":2235},{"style":1058},[2236],{"type":998,"value":2237},"\"meeting\"",{"type":993,"tag":1026,"props":2239,"children":2240},{"style":1041},[2241],{"type":998,"value":1066},{"type":993,"tag":1026,"props":2243,"children":2244},{"style":1058},[2245],{"type":998,"value":2246},"\"coding\"",{"type":993,"tag":1026,"props":2248,"children":2249},{"style":1041},[2250],{"type":998,"value":1066},{"type":993,"tag":1026,"props":2252,"children":2253},{"style":1058},[2254],{"type":998,"value":2255},"\"lunch\"",{"type":993,"tag":1026,"props":2257,"children":2258},{"style":1041},[2259],{"type":998,"value":1085},{"type":993,"tag":1026,"props":2261,"children":2262},{"class":1028,"line":36},[2263],{"type":993,"tag":1026,"props":2264,"children":2265},{"emptyLinePlaceholder":13},[2266],{"type":998,"value":1207},{"type":993,"tag":1026,"props":2268,"children":2269},{"class":1028,"line":45},[2270],{"type":993,"tag":1026,"props":2271,"children":2272},{"style":1032},[2273],{"type":998,"value":2274},"# Accessing items\n",{"type":993,"tag":1026,"props":2276,"children":2277},{"class":1028,"line":54},[2278,2282,2286,2290,2295,2299,2304,2308,2312,2316,2320],{"type":993,"tag":1026,"props":2279,"children":2280},{"style":1104},[2281],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2283,"children":2284},{"style":1041},[2285],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2287,"children":2288},{"style":1047},[2289],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2291,"children":2292},{"style":1058},[2293],{"type":998,"value":2294},"\"First task: ",{"type":993,"tag":1026,"props":2296,"children":2297},{"style":1104},[2298],{"type":998,"value":1313},{"type":993,"tag":1026,"props":2300,"children":2301},{"style":1041},[2302],{"type":998,"value":2303},"tasks[",{"type":993,"tag":1026,"props":2305,"children":2306},{"style":1104},[2307],{"type":998,"value":1323},{"type":993,"tag":1026,"props":2309,"children":2310},{"style":1041},[2311],{"type":998,"value":1328},{"type":993,"tag":1026,"props":2313,"children":2314},{"style":1104},[2315],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2317,"children":2318},{"style":1058},[2319],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2321,"children":2322},{"style":1041},[2323],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2325,"children":2326},{"class":1028,"line":63},[2327,2331,2335,2339,2344,2348,2352,2357,2361,2365,2369,2373],{"type":993,"tag":1026,"props":2328,"children":2329},{"style":1104},[2330],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2332,"children":2333},{"style":1041},[2334],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2336,"children":2337},{"style":1047},[2338],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2340,"children":2341},{"style":1058},[2342],{"type":998,"value":2343},"\"Last task: ",{"type":993,"tag":1026,"props":2345,"children":2346},{"style":1104},[2347],{"type":998,"value":1313},{"type":993,"tag":1026,"props":2349,"children":2350},{"style":1041},[2351],{"type":998,"value":2303},{"type":993,"tag":1026,"props":2353,"children":2354},{"style":1047},[2355],{"type":998,"value":2356},"-",{"type":993,"tag":1026,"props":2358,"children":2359},{"style":1104},[2360],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2362,"children":2363},{"style":1041},[2364],{"type":998,"value":1328},{"type":993,"tag":1026,"props":2366,"children":2367},{"style":1104},[2368],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2370,"children":2371},{"style":1058},[2372],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2374,"children":2375},{"style":1041},[2376],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2378,"children":2379},{"class":1028,"line":72},[2380],{"type":993,"tag":1026,"props":2381,"children":2382},{"emptyLinePlaceholder":13},[2383],{"type":998,"value":1207},{"type":993,"tag":1026,"props":2385,"children":2386},{"class":1028,"line":81},[2387],{"type":993,"tag":1026,"props":2388,"children":2389},{"style":1032},[2390],{"type":998,"value":2391},"# Modifying items\n",{"type":993,"tag":1026,"props":2393,"children":2394},{"class":1028,"line":91},[2395,2399,2403,2407,2411],{"type":993,"tag":1026,"props":2396,"children":2397},{"style":1041},[2398],{"type":998,"value":2303},{"type":993,"tag":1026,"props":2400,"children":2401},{"style":1104},[2402],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2404,"children":2405},{"style":1041},[2406],{"type":998,"value":1359},{"type":993,"tag":1026,"props":2408,"children":2409},{"style":1047},[2410],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2412,"children":2413},{"style":1058},[2414],{"type":998,"value":2415}," \"conference call\"\n",{"type":993,"tag":1026,"props":2417,"children":2418},{"class":1028,"line":100},[2419,2424,2429],{"type":993,"tag":1026,"props":2420,"children":2421},{"style":1041},[2422],{"type":998,"value":2423},"tasks.append(",{"type":993,"tag":1026,"props":2425,"children":2426},{"style":1058},[2427],{"type":998,"value":2428},"\"review code\"",{"type":993,"tag":1026,"props":2430,"children":2431},{"style":1041},[2432],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2434,"children":2435},{"class":1028,"line":109},[2436,2440,2444,2448,2453,2457,2462,2466,2470],{"type":993,"tag":1026,"props":2437,"children":2438},{"style":1104},[2439],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2441,"children":2442},{"style":1041},[2443],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2445,"children":2446},{"style":1047},[2447],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2449,"children":2450},{"style":1058},[2451],{"type":998,"value":2452},"\"Updated tasks: ",{"type":993,"tag":1026,"props":2454,"children":2455},{"style":1104},[2456],{"type":998,"value":1313},{"type":993,"tag":1026,"props":2458,"children":2459},{"style":1041},[2460],{"type":998,"value":2461},"tasks",{"type":993,"tag":1026,"props":2463,"children":2464},{"style":1104},[2465],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2467,"children":2468},{"style":1058},[2469],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2471,"children":2472},{"style":1041},[2473],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2475,"children":2476},{"class":1028,"line":118},[2477],{"type":993,"tag":1026,"props":2478,"children":2479},{"emptyLinePlaceholder":13},[2480],{"type":998,"value":1207},{"type":993,"tag":1026,"props":2482,"children":2483},{"class":1028,"line":127},[2484],{"type":993,"tag":1026,"props":2485,"children":2486},{"style":1032},[2487],{"type":998,"value":2488},"# List information\n",{"type":993,"tag":1026,"props":2490,"children":2491},{"class":1028,"line":136},[2492,2496,2500,2504,2509,2514,2519,2523,2527],{"type":993,"tag":1026,"props":2493,"children":2494},{"style":1104},[2495],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2497,"children":2498},{"style":1041},[2499],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2501,"children":2502},{"style":1047},[2503],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2505,"children":2506},{"style":1058},[2507],{"type":998,"value":2508},"\"Number of tasks: ",{"type":993,"tag":1026,"props":2510,"children":2511},{"style":1104},[2512],{"type":998,"value":2513},"{len",{"type":993,"tag":1026,"props":2515,"children":2516},{"style":1041},[2517],{"type":998,"value":2518},"(tasks)",{"type":993,"tag":1026,"props":2520,"children":2521},{"style":1104},[2522],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2524,"children":2525},{"style":1058},[2526],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2528,"children":2529},{"style":1041},[2530],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2532,"children":2533},{"class":1028,"line":146},[2534,2538,2542,2546,2551,2555,2560,2565,2570,2574,2578],{"type":993,"tag":1026,"props":2535,"children":2536},{"style":1104},[2537],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2539,"children":2540},{"style":1041},[2541],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2543,"children":2544},{"style":1047},[2545],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2547,"children":2548},{"style":1058},[2549],{"type":998,"value":2550},"\"Is 'lunch' in tasks? ",{"type":993,"tag":1026,"props":2552,"children":2553},{"style":1104},[2554],{"type":998,"value":1313},{"type":993,"tag":1026,"props":2556,"children":2557},{"style":1058},[2558],{"type":998,"value":2559},"'lunch'",{"type":993,"tag":1026,"props":2561,"children":2562},{"style":1047},[2563],{"type":998,"value":2564}," in",{"type":993,"tag":1026,"props":2566,"children":2567},{"style":1041},[2568],{"type":998,"value":2569}," tasks",{"type":993,"tag":1026,"props":2571,"children":2572},{"style":1104},[2573],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2575,"children":2576},{"style":1058},[2577],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2579,"children":2580},{"style":1041},[2581],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2583,"children":2584},{"class":1028,"line":155},[2585],{"type":993,"tag":1026,"props":2586,"children":2587},{"emptyLinePlaceholder":13},[2588],{"type":998,"value":1207},{"type":993,"tag":1026,"props":2590,"children":2591},{"class":1028,"line":164},[2592],{"type":993,"tag":1026,"props":2593,"children":2594},{"style":1032},[2595],{"type":998,"value":2596},"# Remove completed task\n",{"type":993,"tag":1026,"props":2598,"children":2599},{"class":1028,"line":173},[2600,2605,2609,2614,2618],{"type":993,"tag":1026,"props":2601,"children":2602},{"style":1041},[2603],{"type":998,"value":2604},"completed ",{"type":993,"tag":1026,"props":2606,"children":2607},{"style":1047},[2608],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2610,"children":2611},{"style":1041},[2612],{"type":998,"value":2613}," tasks.pop(",{"type":993,"tag":1026,"props":2615,"children":2616},{"style":1104},[2617],{"type":998,"value":1323},{"type":993,"tag":1026,"props":2619,"children":2620},{"style":1041},[2621],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2623,"children":2624},{"class":1028,"line":182},[2625,2629,2633,2637,2642,2646,2651,2655,2659],{"type":993,"tag":1026,"props":2626,"children":2627},{"style":1104},[2628],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2630,"children":2631},{"style":1041},[2632],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2634,"children":2635},{"style":1047},[2636],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2638,"children":2639},{"style":1058},[2640],{"type":998,"value":2641},"\"Completed: ",{"type":993,"tag":1026,"props":2643,"children":2644},{"style":1104},[2645],{"type":998,"value":1313},{"type":993,"tag":1026,"props":2647,"children":2648},{"style":1041},[2649],{"type":998,"value":2650},"completed",{"type":993,"tag":1026,"props":2652,"children":2653},{"style":1104},[2654],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2656,"children":2657},{"style":1058},[2658],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2660,"children":2661},{"style":1041},[2662],{"type":998,"value":1343},{"type":993,"tag":1026,"props":2664,"children":2665},{"class":1028,"line":191},[2666,2670,2674,2678,2683,2687,2691,2695,2699],{"type":993,"tag":1026,"props":2667,"children":2668},{"style":1104},[2669],{"type":998,"value":1215},{"type":993,"tag":1026,"props":2671,"children":2672},{"style":1041},[2673],{"type":998,"value":1220},{"type":993,"tag":1026,"props":2675,"children":2676},{"style":1047},[2677],{"type":998,"value":1303},{"type":993,"tag":1026,"props":2679,"children":2680},{"style":1058},[2681],{"type":998,"value":2682},"\"Remaining: ",{"type":993,"tag":1026,"props":2684,"children":2685},{"style":1104},[2686],{"type":998,"value":1313},{"type":993,"tag":1026,"props":2688,"children":2689},{"style":1041},[2690],{"type":998,"value":2461},{"type":993,"tag":1026,"props":2692,"children":2693},{"style":1104},[2694],{"type":998,"value":1333},{"type":993,"tag":1026,"props":2696,"children":2697},{"style":1058},[2698],{"type":998,"value":1338},{"type":993,"tag":1026,"props":2700,"children":2701},{"style":1041},[2702],{"type":998,"value":1343},{"type":993,"tag":1411,"props":2704,"children":2706},{"id":2705},"lists-vs-other-data-types",[2707],{"type":998,"value":2708},"Lists vs Other Data Types",{"type":993,"tag":1001,"props":2710,"children":2711},{},[2712],{"type":998,"value":2713},"Understanding how lists compare to other data structures helps you choose the right tool for each situation. Lists excel at ordered collections where you need to maintain sequence and frequently modify contents.",{"type":993,"tag":1447,"props":2715,"children":2719},{"emoji":2716,"title":2717,"type":2718},"⚖️","When to Use Lists","warning",[2720,2728,2751,2759],{"type":993,"tag":1001,"props":2721,"children":2722},{},[2723],{"type":993,"tag":1457,"props":2724,"children":2725},{},[2726],{"type":998,"value":2727},"Choose Lists When:",{"type":993,"tag":1463,"props":2729,"children":2730},{},[2731,2736,2741,2746],{"type":993,"tag":1467,"props":2732,"children":2733},{},[2734],{"type":998,"value":2735},"You need ordered, changeable collections",{"type":993,"tag":1467,"props":2737,"children":2738},{},[2739],{"type":998,"value":2740},"Items can be duplicated",{"type":993,"tag":1467,"props":2742,"children":2743},{},[2744],{"type":998,"value":2745},"You need to frequently add/remove items",{"type":993,"tag":1467,"props":2747,"children":2748},{},[2749],{"type":998,"value":2750},"You want to access items by position",{"type":993,"tag":1001,"props":2752,"children":2753},{},[2754],{"type":993,"tag":1457,"props":2755,"children":2756},{},[2757],{"type":998,"value":2758},"Consider Alternatives:",{"type":993,"tag":1463,"props":2760,"children":2761},{},[2762,2772,2782,2792],{"type":993,"tag":1467,"props":2763,"children":2764},{},[2765,2770],{"type":993,"tag":1457,"props":2766,"children":2767},{},[2768],{"type":998,"value":2769},"Tuples",{"type":998,"value":2771},": For immutable ordered collections",{"type":993,"tag":1467,"props":2773,"children":2774},{},[2775,2780],{"type":993,"tag":1457,"props":2776,"children":2777},{},[2778],{"type":998,"value":2779},"Sets",{"type":998,"value":2781},": For unique items without order",{"type":993,"tag":1467,"props":2783,"children":2784},{},[2785,2790],{"type":993,"tag":1457,"props":2786,"children":2787},{},[2788],{"type":998,"value":2789},"Dictionaries",{"type":998,"value":2791},": For key-value relationships",{"type":993,"tag":1467,"props":2793,"children":2794},{},[2795,2800],{"type":993,"tag":1457,"props":2796,"children":2797},{},[2798],{"type":998,"value":2799},"Strings",{"type":998,"value":2801},": For character sequences only",{"type":993,"tag":1411,"props":2803,"children":2805},{"id":2804},"what-youll-learn",[2806],{"type":998,"value":2807},"What You'll Learn",{"type":993,"tag":1001,"props":2809,"children":2810},{},[2811],{"type":998,"value":2812},"This section covers everything you need to master Python lists:",{"type":993,"tag":1463,"props":2814,"children":2815},{},[2816,2828,2840,2852,2864,2876,2888,2900,2912,2924,2936],{"type":993,"tag":1467,"props":2817,"children":2818},{},[2819,2826],{"type":993,"tag":1457,"props":2820,"children":2821},{},[2822],{"type":993,"tag":1423,"props":2823,"children":2824},{"href":280},[2825],{"type":998,"value":281},{"type":998,"value":2827}," - Learn different ways to initialize and populate lists",{"type":993,"tag":1467,"props":2829,"children":2830},{},[2831,2838],{"type":993,"tag":1457,"props":2832,"children":2833},{},[2834],{"type":993,"tag":1423,"props":2835,"children":2836},{"href":289},[2837],{"type":998,"value":290},{"type":998,"value":2839}," - Master accessing and retrieving information from lists",{"type":993,"tag":1467,"props":2841,"children":2842},{},[2843,2850],{"type":993,"tag":1457,"props":2844,"children":2845},{},[2846],{"type":993,"tag":1423,"props":2847,"children":2848},{"href":298},[2849],{"type":998,"value":299},{"type":998,"value":2851}," - Understand how to change existing list items",{"type":993,"tag":1467,"props":2853,"children":2854},{},[2855,2862],{"type":993,"tag":1457,"props":2856,"children":2857},{},[2858],{"type":993,"tag":1423,"props":2859,"children":2860},{"href":307},[2861],{"type":998,"value":308},{"type":998,"value":2863}," - Discover methods to insert new items and expand lists",{"type":993,"tag":1467,"props":2865,"children":2866},{},[2867,2874],{"type":993,"tag":1457,"props":2868,"children":2869},{},[2870],{"type":993,"tag":1423,"props":2871,"children":2872},{"href":316},[2873],{"type":998,"value":317},{"type":998,"value":2875}," - Learn techniques to delete items and shrink lists",{"type":993,"tag":1467,"props":2877,"children":2878},{},[2879,2886],{"type":993,"tag":1457,"props":2880,"children":2881},{},[2882],{"type":993,"tag":1423,"props":2883,"children":2884},{"href":325},[2885],{"type":998,"value":326},{"type":998,"value":2887}," - Master iteration patterns and list processing",{"type":993,"tag":1467,"props":2889,"children":2890},{},[2891,2898],{"type":993,"tag":1457,"props":2892,"children":2893},{},[2894],{"type":993,"tag":1423,"props":2895,"children":2896},{"href":334},[2897],{"type":998,"value":335},{"type":998,"value":2899}," - Explore list comprehensions and advanced techniques",{"type":993,"tag":1467,"props":2901,"children":2902},{},[2903,2910],{"type":993,"tag":1457,"props":2904,"children":2905},{},[2906],{"type":993,"tag":1423,"props":2907,"children":2908},{"href":343},[2909],{"type":998,"value":344},{"type":998,"value":2911}," - Learn sorting, reversing, and arrangement methods",{"type":993,"tag":1467,"props":2913,"children":2914},{},[2915,2922],{"type":993,"tag":1457,"props":2916,"children":2917},{},[2918],{"type":993,"tag":1423,"props":2919,"children":2920},{"href":352},[2921],{"type":998,"value":353},{"type":998,"value":2923}," - Understand merging, extending, and joining operations",{"type":993,"tag":1467,"props":2925,"children":2926},{},[2927,2934],{"type":993,"tag":1457,"props":2928,"children":2929},{},[2930],{"type":993,"tag":1423,"props":2931,"children":2932},{"href":361},[2933],{"type":998,"value":362},{"type":998,"value":2935}," - Master built-in functions and advanced methods",{"type":993,"tag":1467,"props":2937,"children":2938},{},[2939,2946],{"type":993,"tag":1457,"props":2940,"children":2941},{},[2942],{"type":993,"tag":1423,"props":2943,"children":2944},{"href":928},[2945],{"type":998,"value":929},{"type":998,"value":2947}," - List methods and operations reference",{"type":993,"tag":1411,"props":2949,"children":2951},{"id":2950},"whats-next",[2952],{"type":998,"value":2953},"What's Next?",{"type":993,"tag":1001,"props":2955,"children":2956},{},[2957,2959,2964],{"type":998,"value":2958},"Ready to start working with Python lists? Let's begin with ",{"type":993,"tag":1457,"props":2960,"children":2961},{},[2962],{"type":998,"value":2963},"creating lists",{"type":998,"value":2965},", where you'll learn different ways to initialize and populate lists with data.",{"type":993,"tag":1001,"props":2967,"children":2968},{},[2969,2971,2975],{"type":998,"value":2970},"Check out our lesson on ",{"type":993,"tag":1423,"props":2972,"children":2973},{"href":280},[2974],{"type":998,"value":281},{"type":998,"value":2976}," to get started! 🚀",{"type":993,"tag":2978,"props":2979,"children":2980},"style",{},[2981],{"type":998,"value":2982},"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":2984},[2985,2986,2989,2992,2993,2994],{"id":1413,"depth":27,"text":1416},{"id":1437,"depth":27,"text":1440,"children":2987},[2988],{"id":1546,"depth":36,"text":1549},{"id":1976,"depth":27,"text":1979,"children":2990},[2991],{"id":2181,"depth":36,"text":2184},{"id":2705,"depth":27,"text":2708},{"id":2804,"depth":27,"text":2807},{"id":2950,"depth":27,"text":2953},1782373735916]