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