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