[{"data":1,"prerenderedAt":6475},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/understanding-data-types":988},[4,22,31,40,49,58,67,76,86,95,104,113,122,131,141,150,159,168,177,186,196,205,214,223,233,242,251,260,269,279,288,297,306,315,324,333,342,351,360,369,379,388,397,406,415,424,433,442,452,461,470,479,488,497,506,515,525,534,543,552,561,570,579,588,597,606,616,625,634,643,652,661,670,680,689,698,707,716,725,734,744,753,762,771,780,789,798,807,817,826,835,844,853,863,872,881,890,900,909,918,927,936,945,953,961,970,979],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python/getting-started","python",false,"","Getting Started","Begin your Python programming journey. Learn what Python is, how to set it up, and write your first programs. Perfect for complete beginners starting their coding adventure.","getting-started",1,true,"pi pi-folder","markdown","content:python:1.getting-started.md","content","python/1.getting-started.md","python/1.getting-started","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python/what-is-python","What is Python","Discover Python's fascinating history, design philosophy, and key features. Learn why Python has become one of the world's most popular programming languages and perfect for beginners.","what-is-python",2,"content:python:2.what-is-python.md","python/2.what-is-python.md","python/2.what-is-python",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python/setup-python","Setup Python","Learn how to install Python on your computer and set up your development environment. Step-by-step guide for Windows, macOS, and Linux with beginner-friendly instructions.","setup-python",3,"content:python:3.setup-python.md","python/3.setup-python.md","python/3.setup-python",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python/your-first-program","Your First Program","Write and run your first Python program! Learn the basics of Python programming with simple examples and step-by-step instructions for beginners.","your-first-program",4,"content:python:4.your-first-program.md","python/4.your-first-program.md","python/4.your-first-program",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python/python-code-structure","Python Code Structure","Learn how Python code is organized and structured. Understand indentation, line breaks, and the basic rules that make Python programs work correctly.","python-code-structure",5,"content:python:5.python-code-structure.md","python/5.python-code-structure.md","python/5.python-code-structure",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python/writing-comments","Writing Comments","Learn how to write effective comments in Python. Discover when and how to document your code to make it clear, maintainable, and easy to understand.","writing-comments",6,"content:python:6.writing-comments.md","python/6.writing-comments.md","python/6.writing-comments",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python/working-with-variables","Working with Variables","Learn how to create, use, and manage variables in Python. Understand how to store data, change values, and follow naming conventions for clean, readable code.","working-with-variables",7,"content:python:7.working-with-variables.md","python/7.working-with-variables.md","python/7.working-with-variables",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python/basic-data-types","Basic Data Types","Learn about Python's fundamental data types including numbers, text, and boolean values","basic-data-types",8,"content:python:8.basic-data-types.md","python/8.basic-data-types.md","python/8.basic-data-types",[86,95,104,113,122],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":91,"_type":15,"_id":92,"_source":17,"_file":93,"_stem":94,"_extension":20},"/python/understanding-data-types","Understanding Data Types","Learn how Python identifies different data types and why they're important for programming","understanding-data-types",9,"content:python:9.understanding-data-types.md","python/9.understanding-data-types.md","python/9.understanding-data-types",{"_path":96,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":97,"description":98,"slug":99,"parentId":77,"order":100,"_type":15,"_id":101,"_source":17,"_file":102,"_stem":103,"_extension":20},"/python/working-with-numbers","Working with Numbers","Learn about Python's numeric data types including integers and floats, and how to perform calculations","working-with-numbers",10,"content:python:10.working-with-numbers.md","python/10.working-with-numbers.md","python/10.working-with-numbers",{"_path":105,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":106,"description":107,"slug":108,"parentId":77,"order":109,"_type":15,"_id":110,"_source":17,"_file":111,"_stem":112,"_extension":20},"/python/text-and-strings","Text and Strings","Learn how to work with text data in Python using strings, including creation, manipulation, and formatting","text-and-strings",11,"content:python:11.text-and-strings.md","python/11.text-and-strings.md","python/11.text-and-strings",{"_path":114,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":115,"description":116,"slug":117,"parentId":77,"order":118,"_type":15,"_id":119,"_source":17,"_file":120,"_stem":121,"_extension":20},"/python/true-false-values","True/False Values","Learn about boolean values in Python, including True/False logic, comparison operations, and how to use booleans for decision-making in your programs","true-false-values",12,"content:python:12.true-false-values.md","python/12.true-false-values.md","python/12.true-false-values",{"_path":123,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":124,"description":125,"slug":126,"parentId":77,"order":127,"_type":15,"_id":128,"_source":17,"_file":129,"_stem":130,"_extension":20},"/python/converting-types","Converting Types","Learn how to convert between different Python data types including strings, numbers, and booleans","converting-types",13,"content:python:13.converting-types.md","python/13.converting-types.md","python/13.converting-types",{"_path":132,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":133,"description":134,"slug":135,"order":136,"isParent":13,"icon":14,"_type":15,"_id":137,"_source":17,"_file":138,"_stem":139,"_extension":20,"children":140,"expanded":13},"/python/python-operators","Python Operators","Learn about Python operators - the symbols and keywords that perform operations on data. Discover arithmetic, comparison, logical, and assignment operators with simple examples.","python-operators",14,"content:python:14.python-operators.md","python/14.python-operators.md","python/14.python-operators",[141,150,159,168,177],{"_path":142,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":143,"description":144,"slug":145,"parentId":132,"order":146,"_type":15,"_id":147,"_source":17,"_file":148,"_stem":149,"_extension":20},"/python/math-operations","Math Operations","Learn Python's arithmetic operators for mathematical calculations. Master addition, subtraction, multiplication, division, and more with practical examples.","math-operations",15,"content:python:15.math-operations.md","python/15.math-operations.md","python/15.math-operations",{"_path":151,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":152,"description":153,"slug":154,"parentId":132,"order":155,"_type":15,"_id":156,"_source":17,"_file":157,"_stem":158,"_extension":20},"/python/comparing-values","Comparing Values","Learn Python's comparison operators to compare values and make decisions. Master equality, inequality, and relational operators with practical examples.","comparing-values",16,"content:python:16.comparing-values.md","python/16.comparing-values.md","python/16.comparing-values",{"_path":160,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":161,"description":162,"slug":163,"parentId":132,"order":164,"_type":15,"_id":165,"_source":17,"_file":166,"_stem":167,"_extension":20},"/python/logic-operations","Logic Operations","Learn about Python's logical operators for combining conditions and creating complex boolean expressions","logic-operations",17,"content:python:17.logic-operations.md","python/17.logic-operations.md","python/17.logic-operations",{"_path":169,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":170,"description":171,"slug":172,"parentId":132,"order":173,"_type":15,"_id":174,"_source":17,"_file":175,"_stem":176,"_extension":20},"/python/value-assignment","Value Assignment","Learn about Python's assignment operators for efficiently updating variables and performing calculations","value-assignment",18,"content:python:18.value-assignment.md","python/18.value-assignment.md","python/18.value-assignment",{"_path":178,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":179,"description":180,"slug":181,"parentId":132,"order":182,"_type":15,"_id":183,"_source":17,"_file":184,"_stem":185,"_extension":20},"/python/operator-precedence","Operator Precedence","Learn how Python evaluates expressions with multiple operators and how to control evaluation order","operator-precedence",19,"content:python:19.operator-precedence.md","python/19.operator-precedence.md","python/19.operator-precedence",{"_path":187,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":188,"description":189,"slug":190,"order":191,"isParent":13,"icon":14,"_type":15,"_id":192,"_source":17,"_file":193,"_stem":194,"_extension":20,"children":195,"expanded":13},"/python/decision-making","Decision Making","Learn how to make decisions in your Python programs using conditional statements and control flow","decision-making",20,"content:python:20.decision-making.md","python/20.decision-making.md","python/20.decision-making",[196,205,214],{"_path":197,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":198,"description":199,"slug":200,"parentId":187,"order":201,"_type":15,"_id":202,"_source":17,"_file":203,"_stem":204,"_extension":20},"/python/if-statements","If Statements","Learn how to use if statements to make decisions and control program flow in Python","if-statements",21,"content:python:21.if-statements.md","python/21.if-statements.md","python/21.if-statements",{"_path":206,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":207,"description":208,"slug":209,"parentId":187,"order":210,"_type":15,"_id":211,"_source":17,"_file":212,"_stem":213,"_extension":20},"/python/multiple-conditions","Multiple Conditions","Learn how to handle multiple conditions using elif statements and complex conditional logic in Python","multiple-conditions",22,"content:python:22.multiple-conditions.md","python/22.multiple-conditions.md","python/22.multiple-conditions",{"_path":215,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":216,"description":217,"slug":218,"parentId":187,"order":219,"_type":15,"_id":220,"_source":17,"_file":221,"_stem":222,"_extension":20},"/python/pattern-matching","Pattern Matching","Learn how to use Python's match-case statements for powerful pattern matching and complex decision making","pattern-matching",23,"content:python:23.pattern-matching.md","python/23.pattern-matching.md","python/23.pattern-matching",{"_path":224,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":225,"description":226,"slug":227,"order":228,"isParent":13,"icon":14,"_type":15,"_id":229,"_source":17,"_file":230,"_stem":231,"_extension":20,"children":232,"expanded":13},"/python/repetition-and-loops","Python Loops","Learn how to use loops to repeat code efficiently and handle repetitive tasks in Python","repetition-and-loops",24,"content:python:24.repetition-and-loops.md","python/24.repetition-and-loops.md","python/24.repetition-and-loops",[233,242,251,260],{"_path":234,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":235,"description":236,"slug":237,"parentId":224,"order":238,"_type":15,"_id":239,"_source":17,"_file":240,"_stem":241,"_extension":20},"/python/while-loops","While Loops","Learn how to use while loops for condition-based repetition and create loops that run until specific conditions are met","while-loops",25,"content:python:25.while-loops.md","python/25.while-loops.md","python/25.while-loops",{"_path":243,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":244,"description":245,"slug":246,"parentId":224,"order":247,"_type":15,"_id":248,"_source":17,"_file":249,"_stem":250,"_extension":20},"/python/for-loops","For Loops","Learn how to use for loops to iterate through sequences, collections, and ranges efficiently in Python","for-loops",26,"content:python:26.for-loops.md","python/26.for-loops.md","python/26.for-loops",{"_path":252,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":253,"description":254,"slug":255,"parentId":224,"order":256,"_type":15,"_id":257,"_source":17,"_file":258,"_stem":259,"_extension":20},"/python/loop-control","Loop Control","Master advanced loop control techniques including break, continue, and else clauses for sophisticated iteration patterns","loop-control",27,"content:python:27.loop-control.md","python/27.loop-control.md","python/27.loop-control",{"_path":261,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":262,"description":263,"slug":264,"parentId":224,"order":265,"_type":15,"_id":266,"_source":17,"_file":267,"_stem":268,"_extension":20},"/python/nested-loops","Nested Loops","Learn how to use nested loops to process multi-dimensional data, create patterns, and handle complex iteration scenarios","nested-loops",28,"content:python:28.nested-loops.md","python/28.nested-loops.md","python/28.nested-loops",{"_path":270,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":271,"description":272,"slug":273,"order":274,"isParent":13,"icon":14,"_type":15,"_id":275,"_source":17,"_file":276,"_stem":277,"_extension":20,"children":278,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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",[86],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":91,"body":989,"_type":15,"_id":92,"_source":17,"_file":93,"_stem":94,"_extension":20},{"type":990,"children":991,"toc":6445},"root",[992,1000,1006,1011,1282,1289,1316,1323,1328,1605,1759,1765,1776,2042,2048,2061,2313,2319,2324,2550,2653,2659,2664,2670,3022,3028,3355,3361,3665,3671,3676,4151,4157,4650,4655,4661,4666,4672,4677,4827,4833,4838,5096,5102,5107,5309,5315,5321,5326,5716,5722,5727,5974,5980,6220,6226,6304,6391,6397,6402,6409,6415,6420,6434,6439],{"type":993,"tag":994,"props":995,"children":996},"element","h1",{"id":90},[997],{"type":998,"value":999},"text","🔍 Understanding Data Types",{"type":993,"tag":1001,"props":1002,"children":1003},"p",{},[1004],{"type":998,"value":1005},"Every piece of information in Python has a specific type that determines what you can do with it. The amazing thing? Python automatically figures out the type based on how you write your data—no need to tell it explicitly!",{"type":993,"tag":1001,"props":1007,"children":1008},{},[1009],{"type":998,"value":1010},"Understanding data types helps you predict how your code will behave and prevents common programming mistakes. Think of types as labels that tell Python: \"This is a number for math\" or \"This is text for display.\"",{"type":993,"tag":1012,"props":1013,"children":1014},"code-try",{},[1015],{"type":993,"tag":1016,"props":1017,"children":1020},"pre",{"className":1018,"code":1019,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Python automatically identifies data types\nnumber = 42\ntext = \"Hello\"\ndecision = True\n\nprint(f\"number: {number} is type {type(number)}\")\nprint(f\"text: {text} is type {type(text)}\")\nprint(f\"decision: {decision} is type {type(decision)}\")\n",[1021],{"type":993,"tag":1022,"props":1023,"children":1024},"code",{"__ignoreMap":8},[1025,1036,1057,1075,1092,1100,1167,1224],{"type":993,"tag":1026,"props":1027,"children":1029},"span",{"class":1028,"line":12},"line",[1030],{"type":993,"tag":1026,"props":1031,"children":1033},{"style":1032},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1034],{"type":998,"value":1035},"# Python automatically identifies data types\n",{"type":993,"tag":1026,"props":1037,"children":1038},{"class":1028,"line":27},[1039,1045,1051],{"type":993,"tag":1026,"props":1040,"children":1042},{"style":1041},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1043],{"type":998,"value":1044},"number ",{"type":993,"tag":1026,"props":1046,"children":1048},{"style":1047},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1049],{"type":998,"value":1050},"=",{"type":993,"tag":1026,"props":1052,"children":1054},{"style":1053},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1055],{"type":998,"value":1056}," 42\n",{"type":993,"tag":1026,"props":1058,"children":1059},{"class":1028,"line":36},[1060,1065,1069],{"type":993,"tag":1026,"props":1061,"children":1062},{"style":1041},[1063],{"type":998,"value":1064},"text ",{"type":993,"tag":1026,"props":1066,"children":1067},{"style":1047},[1068],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1070,"children":1072},{"style":1071},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1073],{"type":998,"value":1074}," \"Hello\"\n",{"type":993,"tag":1026,"props":1076,"children":1077},{"class":1028,"line":45},[1078,1083,1087],{"type":993,"tag":1026,"props":1079,"children":1080},{"style":1041},[1081],{"type":998,"value":1082},"decision ",{"type":993,"tag":1026,"props":1084,"children":1085},{"style":1047},[1086],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1088,"children":1089},{"style":1053},[1090],{"type":998,"value":1091}," True\n",{"type":993,"tag":1026,"props":1093,"children":1094},{"class":1028,"line":54},[1095],{"type":993,"tag":1026,"props":1096,"children":1097},{"emptyLinePlaceholder":13},[1098],{"type":998,"value":1099},"\n",{"type":993,"tag":1026,"props":1101,"children":1102},{"class":1028,"line":63},[1103,1108,1113,1118,1123,1128,1133,1138,1143,1148,1153,1157,1162],{"type":993,"tag":1026,"props":1104,"children":1105},{"style":1053},[1106],{"type":998,"value":1107},"print",{"type":993,"tag":1026,"props":1109,"children":1110},{"style":1041},[1111],{"type":998,"value":1112},"(",{"type":993,"tag":1026,"props":1114,"children":1115},{"style":1047},[1116],{"type":998,"value":1117},"f",{"type":993,"tag":1026,"props":1119,"children":1120},{"style":1071},[1121],{"type":998,"value":1122},"\"number: ",{"type":993,"tag":1026,"props":1124,"children":1125},{"style":1053},[1126],{"type":998,"value":1127},"{",{"type":993,"tag":1026,"props":1129,"children":1130},{"style":1041},[1131],{"type":998,"value":1132},"number",{"type":993,"tag":1026,"props":1134,"children":1135},{"style":1053},[1136],{"type":998,"value":1137},"}",{"type":993,"tag":1026,"props":1139,"children":1140},{"style":1071},[1141],{"type":998,"value":1142}," is type ",{"type":993,"tag":1026,"props":1144,"children":1145},{"style":1053},[1146],{"type":998,"value":1147},"{type",{"type":993,"tag":1026,"props":1149,"children":1150},{"style":1041},[1151],{"type":998,"value":1152},"(number)",{"type":993,"tag":1026,"props":1154,"children":1155},{"style":1053},[1156],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1158,"children":1159},{"style":1071},[1160],{"type":998,"value":1161},"\"",{"type":993,"tag":1026,"props":1163,"children":1164},{"style":1041},[1165],{"type":998,"value":1166},")\n",{"type":993,"tag":1026,"props":1168,"children":1169},{"class":1028,"line":72},[1170,1174,1178,1182,1187,1191,1195,1199,1203,1207,1212,1216,1220],{"type":993,"tag":1026,"props":1171,"children":1172},{"style":1053},[1173],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1175,"children":1176},{"style":1041},[1177],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1179,"children":1180},{"style":1047},[1181],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1183,"children":1184},{"style":1071},[1185],{"type":998,"value":1186},"\"text: ",{"type":993,"tag":1026,"props":1188,"children":1189},{"style":1053},[1190],{"type":998,"value":1127},{"type":993,"tag":1026,"props":1192,"children":1193},{"style":1041},[1194],{"type":998,"value":998},{"type":993,"tag":1026,"props":1196,"children":1197},{"style":1053},[1198],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1200,"children":1201},{"style":1071},[1202],{"type":998,"value":1142},{"type":993,"tag":1026,"props":1204,"children":1205},{"style":1053},[1206],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1208,"children":1209},{"style":1041},[1210],{"type":998,"value":1211},"(text)",{"type":993,"tag":1026,"props":1213,"children":1214},{"style":1053},[1215],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1217,"children":1218},{"style":1071},[1219],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1221,"children":1222},{"style":1041},[1223],{"type":998,"value":1166},{"type":993,"tag":1026,"props":1225,"children":1226},{"class":1028,"line":81},[1227,1231,1235,1239,1244,1248,1253,1257,1261,1265,1270,1274,1278],{"type":993,"tag":1026,"props":1228,"children":1229},{"style":1053},[1230],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1232,"children":1233},{"style":1041},[1234],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1236,"children":1237},{"style":1047},[1238],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1240,"children":1241},{"style":1071},[1242],{"type":998,"value":1243},"\"decision: ",{"type":993,"tag":1026,"props":1245,"children":1246},{"style":1053},[1247],{"type":998,"value":1127},{"type":993,"tag":1026,"props":1249,"children":1250},{"style":1041},[1251],{"type":998,"value":1252},"decision",{"type":993,"tag":1026,"props":1254,"children":1255},{"style":1053},[1256],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1258,"children":1259},{"style":1071},[1260],{"type":998,"value":1142},{"type":993,"tag":1026,"props":1262,"children":1263},{"style":1053},[1264],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1266,"children":1267},{"style":1041},[1268],{"type":998,"value":1269},"(decision)",{"type":993,"tag":1026,"props":1271,"children":1272},{"style":1053},[1273],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1275,"children":1276},{"style":1071},[1277],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1279,"children":1280},{"style":1041},[1281],{"type":998,"value":1166},{"type":993,"tag":1283,"props":1284,"children":1286},"h2",{"id":1285},"how-python-identifies-types",[1287],{"type":998,"value":1288},"🤖 How Python Identifies Types",{"type":993,"tag":1001,"props":1290,"children":1291},{},[1292,1294,1300,1302,1307,1309,1314],{"type":998,"value":1293},"Python determines the type of your data based on ",{"type":993,"tag":1295,"props":1296,"children":1297},"strong",{},[1298],{"type":998,"value":1299},"how you write it",{"type":998,"value":1301},", not what it represents. This is called ",{"type":993,"tag":1295,"props":1303,"children":1304},{},[1305],{"type":998,"value":1306},"automatic type detection",{"type":998,"value":1308}," (or ",{"type":993,"tag":1295,"props":1310,"children":1311},{},[1312],{"type":998,"value":1313},"dynamic typing",{"type":998,"value":1315},"), and it's one of Python's best beginner-friendly features!",{"type":993,"tag":1317,"props":1318,"children":1320},"h3",{"id":1319},"the-type-detection-rules",[1321],{"type":998,"value":1322},"The Type Detection Rules",{"type":993,"tag":1001,"props":1324,"children":1325},{},[1326],{"type":998,"value":1327},"Python follows simple patterns to recognize data types:",{"type":993,"tag":1012,"props":1329,"children":1330},{},[1331],{"type":993,"tag":1016,"props":1332,"children":1334},{"className":1018,"code":1333,"language":6,"meta":8,"style":8},"# Python recognizes types by syntax\nwhole_number = 42        # No quotes, no decimal → int\ndecimal_number = 42.0    # Has decimal point → float\ntext_number = \"42\"       # In quotes → str\nboolean_value = True     # Special keyword → bool\n\nprint(f\"42 is {type(whole_number)}\")\nprint(f\"42.0 is {type(decimal_number)}\")\nprint(f\"'42' is {type(text_number)}\")\nprint(f\"True is {type(boolean_value)}\")\n",[1335],{"type":993,"tag":1022,"props":1336,"children":1337},{"__ignoreMap":8},[1338,1346,1368,1390,1412,1434,1441,1482,1523,1564],{"type":993,"tag":1026,"props":1339,"children":1340},{"class":1028,"line":12},[1341],{"type":993,"tag":1026,"props":1342,"children":1343},{"style":1032},[1344],{"type":998,"value":1345},"# Python recognizes types by syntax\n",{"type":993,"tag":1026,"props":1347,"children":1348},{"class":1028,"line":27},[1349,1354,1358,1363],{"type":993,"tag":1026,"props":1350,"children":1351},{"style":1041},[1352],{"type":998,"value":1353},"whole_number ",{"type":993,"tag":1026,"props":1355,"children":1356},{"style":1047},[1357],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1359,"children":1360},{"style":1053},[1361],{"type":998,"value":1362}," 42",{"type":993,"tag":1026,"props":1364,"children":1365},{"style":1032},[1366],{"type":998,"value":1367},"        # No quotes, no decimal → int\n",{"type":993,"tag":1026,"props":1369,"children":1370},{"class":1028,"line":36},[1371,1376,1380,1385],{"type":993,"tag":1026,"props":1372,"children":1373},{"style":1041},[1374],{"type":998,"value":1375},"decimal_number ",{"type":993,"tag":1026,"props":1377,"children":1378},{"style":1047},[1379],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1381,"children":1382},{"style":1053},[1383],{"type":998,"value":1384}," 42.0",{"type":993,"tag":1026,"props":1386,"children":1387},{"style":1032},[1388],{"type":998,"value":1389},"    # Has decimal point → float\n",{"type":993,"tag":1026,"props":1391,"children":1392},{"class":1028,"line":45},[1393,1398,1402,1407],{"type":993,"tag":1026,"props":1394,"children":1395},{"style":1041},[1396],{"type":998,"value":1397},"text_number ",{"type":993,"tag":1026,"props":1399,"children":1400},{"style":1047},[1401],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1403,"children":1404},{"style":1071},[1405],{"type":998,"value":1406}," \"42\"",{"type":993,"tag":1026,"props":1408,"children":1409},{"style":1032},[1410],{"type":998,"value":1411},"       # In quotes → str\n",{"type":993,"tag":1026,"props":1413,"children":1414},{"class":1028,"line":54},[1415,1420,1424,1429],{"type":993,"tag":1026,"props":1416,"children":1417},{"style":1041},[1418],{"type":998,"value":1419},"boolean_value ",{"type":993,"tag":1026,"props":1421,"children":1422},{"style":1047},[1423],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1425,"children":1426},{"style":1053},[1427],{"type":998,"value":1428}," True",{"type":993,"tag":1026,"props":1430,"children":1431},{"style":1032},[1432],{"type":998,"value":1433},"     # Special keyword → bool\n",{"type":993,"tag":1026,"props":1435,"children":1436},{"class":1028,"line":63},[1437],{"type":993,"tag":1026,"props":1438,"children":1439},{"emptyLinePlaceholder":13},[1440],{"type":998,"value":1099},{"type":993,"tag":1026,"props":1442,"children":1443},{"class":1028,"line":72},[1444,1448,1452,1456,1461,1465,1470,1474,1478],{"type":993,"tag":1026,"props":1445,"children":1446},{"style":1053},[1447],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1449,"children":1450},{"style":1041},[1451],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1453,"children":1454},{"style":1047},[1455],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1457,"children":1458},{"style":1071},[1459],{"type":998,"value":1460},"\"42 is ",{"type":993,"tag":1026,"props":1462,"children":1463},{"style":1053},[1464],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1466,"children":1467},{"style":1041},[1468],{"type":998,"value":1469},"(whole_number)",{"type":993,"tag":1026,"props":1471,"children":1472},{"style":1053},[1473],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1475,"children":1476},{"style":1071},[1477],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1479,"children":1480},{"style":1041},[1481],{"type":998,"value":1166},{"type":993,"tag":1026,"props":1483,"children":1484},{"class":1028,"line":81},[1485,1489,1493,1497,1502,1506,1511,1515,1519],{"type":993,"tag":1026,"props":1486,"children":1487},{"style":1053},[1488],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1490,"children":1491},{"style":1041},[1492],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1494,"children":1495},{"style":1047},[1496],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1498,"children":1499},{"style":1071},[1500],{"type":998,"value":1501},"\"42.0 is ",{"type":993,"tag":1026,"props":1503,"children":1504},{"style":1053},[1505],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1507,"children":1508},{"style":1041},[1509],{"type":998,"value":1510},"(decimal_number)",{"type":993,"tag":1026,"props":1512,"children":1513},{"style":1053},[1514],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1516,"children":1517},{"style":1071},[1518],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1520,"children":1521},{"style":1041},[1522],{"type":998,"value":1166},{"type":993,"tag":1026,"props":1524,"children":1525},{"class":1028,"line":91},[1526,1530,1534,1538,1543,1547,1552,1556,1560],{"type":993,"tag":1026,"props":1527,"children":1528},{"style":1053},[1529],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1531,"children":1532},{"style":1041},[1533],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1535,"children":1536},{"style":1047},[1537],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1539,"children":1540},{"style":1071},[1541],{"type":998,"value":1542},"\"'42' is ",{"type":993,"tag":1026,"props":1544,"children":1545},{"style":1053},[1546],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1548,"children":1549},{"style":1041},[1550],{"type":998,"value":1551},"(text_number)",{"type":993,"tag":1026,"props":1553,"children":1554},{"style":1053},[1555],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1557,"children":1558},{"style":1071},[1559],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1561,"children":1562},{"style":1041},[1563],{"type":998,"value":1166},{"type":993,"tag":1026,"props":1565,"children":1566},{"class":1028,"line":100},[1567,1571,1575,1579,1584,1588,1593,1597,1601],{"type":993,"tag":1026,"props":1568,"children":1569},{"style":1053},[1570],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1572,"children":1573},{"style":1041},[1574],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1576,"children":1577},{"style":1047},[1578],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1580,"children":1581},{"style":1071},[1582],{"type":998,"value":1583},"\"True is ",{"type":993,"tag":1026,"props":1585,"children":1586},{"style":1053},[1587],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1589,"children":1590},{"style":1041},[1591],{"type":998,"value":1592},"(boolean_value)",{"type":993,"tag":1026,"props":1594,"children":1595},{"style":1053},[1596],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1598,"children":1599},{"style":1071},[1600],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1602,"children":1603},{"style":1041},[1604],{"type":998,"value":1166},{"type":993,"tag":1606,"props":1607,"children":1611},"info-box",{"emoji":1608,"title":1609,"type":1610},"🔍","Type Detection Rules","info",[1612,1620,1718,1735],{"type":993,"tag":1001,"props":1613,"children":1614},{},[1615],{"type":993,"tag":1295,"props":1616,"children":1617},{},[1618],{"type":998,"value":1619},"Python's Automatic Recognition:",{"type":993,"tag":1621,"props":1622,"children":1623},"ul",{},[1624,1651,1676,1701],{"type":993,"tag":1625,"props":1626,"children":1627},"li",{},[1628,1633,1635,1641,1643,1649],{"type":993,"tag":1295,"props":1629,"children":1630},{},[1631],{"type":998,"value":1632},"Numbers without quotes",{"type":998,"value":1634},": ",{"type":993,"tag":1022,"props":1636,"children":1638},{"className":1637},[],[1639],{"type":998,"value":1640},"42",{"type":998,"value":1642}," → int, ",{"type":993,"tag":1022,"props":1644,"children":1646},{"className":1645},[],[1647],{"type":998,"value":1648},"3.14",{"type":998,"value":1650}," → float",{"type":993,"tag":1625,"props":1652,"children":1653},{},[1654,1659,1660,1666,1668,1674],{"type":993,"tag":1295,"props":1655,"children":1656},{},[1657],{"type":998,"value":1658},"Text in quotes",{"type":998,"value":1634},{"type":993,"tag":1022,"props":1661,"children":1663},{"className":1662},[],[1664],{"type":998,"value":1665},"\"Hello\"",{"type":998,"value":1667}," or ",{"type":993,"tag":1022,"props":1669,"children":1671},{"className":1670},[],[1672],{"type":998,"value":1673},"'Hello'",{"type":998,"value":1675}," → str",{"type":993,"tag":1625,"props":1677,"children":1678},{},[1679,1684,1685,1691,1693,1699],{"type":993,"tag":1295,"props":1680,"children":1681},{},[1682],{"type":998,"value":1683},"True/False keywords",{"type":998,"value":1634},{"type":993,"tag":1022,"props":1686,"children":1688},{"className":1687},[],[1689],{"type":998,"value":1690},"True",{"type":998,"value":1692},", ",{"type":993,"tag":1022,"props":1694,"children":1696},{"className":1695},[],[1697],{"type":998,"value":1698},"False",{"type":998,"value":1700}," → bool",{"type":993,"tag":1625,"props":1702,"children":1703},{},[1704,1709,1710,1716],{"type":993,"tag":1295,"props":1705,"children":1706},{},[1707],{"type":998,"value":1708},"None keyword",{"type":998,"value":1634},{"type":993,"tag":1022,"props":1711,"children":1713},{"className":1712},[],[1714],{"type":998,"value":1715},"None",{"type":998,"value":1717}," → NoneType",{"type":993,"tag":1001,"props":1719,"children":1720},{},[1721,1726,1728,1733],{"type":993,"tag":1295,"props":1722,"children":1723},{},[1724],{"type":998,"value":1725},"Key Principle",{"type":998,"value":1727},": The ",{"type":993,"tag":1295,"props":1729,"children":1730},{},[1731],{"type":998,"value":1732},"syntax",{"type":998,"value":1734}," (how you write it) determines the type, not the content!",{"type":993,"tag":1001,"props":1736,"children":1737},{},[1738,1743,1744,1750,1752,1757],{"type":993,"tag":1295,"props":1739,"children":1740},{},[1741],{"type":998,"value":1742},"Example",{"type":998,"value":1634},{"type":993,"tag":1022,"props":1745,"children":1747},{"className":1746},[],[1748],{"type":998,"value":1749},"\"42\"",{"type":998,"value":1751}," is text, ",{"type":993,"tag":1022,"props":1753,"children":1755},{"className":1754},[],[1756],{"type":998,"value":1640},{"type":998,"value":1758}," is a number",{"type":993,"tag":1317,"props":1760,"children":1762},{"id":1761},"dynamic-typing-in-action",[1763],{"type":998,"value":1764},"Dynamic Typing in Action",{"type":993,"tag":1001,"props":1766,"children":1767},{},[1768,1770,1774],{"type":998,"value":1769},"Variables can change types during your program—this is called ",{"type":993,"tag":1295,"props":1771,"children":1772},{},[1773],{"type":998,"value":1313},{"type":998,"value":1775},":",{"type":993,"tag":1012,"props":1777,"children":1778},{},[1779],{"type":993,"tag":1016,"props":1780,"children":1782},{"className":1018,"code":1781,"language":6,"meta":8,"style":8},"# Variables can change types (dynamic typing)\nmy_variable = 25           # Starts as int\nprint(f\"First: {my_variable} is {type(my_variable)}\")\n\nmy_variable = \"Hello\"      # Changes to str\nprint(f\"Then: {my_variable} is {type(my_variable)}\")\n\nmy_variable = True         # Changes to bool\nprint(f\"Finally: {my_variable} is {type(my_variable)}\")\n",[1783],{"type":993,"tag":1022,"props":1784,"children":1785},{"__ignoreMap":8},[1786,1794,1816,1875,1882,1903,1959,1966,1986],{"type":993,"tag":1026,"props":1787,"children":1788},{"class":1028,"line":12},[1789],{"type":993,"tag":1026,"props":1790,"children":1791},{"style":1032},[1792],{"type":998,"value":1793},"# Variables can change types (dynamic typing)\n",{"type":993,"tag":1026,"props":1795,"children":1796},{"class":1028,"line":27},[1797,1802,1806,1811],{"type":993,"tag":1026,"props":1798,"children":1799},{"style":1041},[1800],{"type":998,"value":1801},"my_variable ",{"type":993,"tag":1026,"props":1803,"children":1804},{"style":1047},[1805],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1807,"children":1808},{"style":1053},[1809],{"type":998,"value":1810}," 25",{"type":993,"tag":1026,"props":1812,"children":1813},{"style":1032},[1814],{"type":998,"value":1815},"           # Starts as int\n",{"type":993,"tag":1026,"props":1817,"children":1818},{"class":1028,"line":36},[1819,1823,1827,1831,1836,1840,1845,1849,1854,1858,1863,1867,1871],{"type":993,"tag":1026,"props":1820,"children":1821},{"style":1053},[1822],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1824,"children":1825},{"style":1041},[1826],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1828,"children":1829},{"style":1047},[1830],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1832,"children":1833},{"style":1071},[1834],{"type":998,"value":1835},"\"First: ",{"type":993,"tag":1026,"props":1837,"children":1838},{"style":1053},[1839],{"type":998,"value":1127},{"type":993,"tag":1026,"props":1841,"children":1842},{"style":1041},[1843],{"type":998,"value":1844},"my_variable",{"type":993,"tag":1026,"props":1846,"children":1847},{"style":1053},[1848],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1850,"children":1851},{"style":1071},[1852],{"type":998,"value":1853}," is ",{"type":993,"tag":1026,"props":1855,"children":1856},{"style":1053},[1857],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1859,"children":1860},{"style":1041},[1861],{"type":998,"value":1862},"(my_variable)",{"type":993,"tag":1026,"props":1864,"children":1865},{"style":1053},[1866],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1868,"children":1869},{"style":1071},[1870],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1872,"children":1873},{"style":1041},[1874],{"type":998,"value":1166},{"type":993,"tag":1026,"props":1876,"children":1877},{"class":1028,"line":45},[1878],{"type":993,"tag":1026,"props":1879,"children":1880},{"emptyLinePlaceholder":13},[1881],{"type":998,"value":1099},{"type":993,"tag":1026,"props":1883,"children":1884},{"class":1028,"line":54},[1885,1889,1893,1898],{"type":993,"tag":1026,"props":1886,"children":1887},{"style":1041},[1888],{"type":998,"value":1801},{"type":993,"tag":1026,"props":1890,"children":1891},{"style":1047},[1892],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1894,"children":1895},{"style":1071},[1896],{"type":998,"value":1897}," \"Hello\"",{"type":993,"tag":1026,"props":1899,"children":1900},{"style":1032},[1901],{"type":998,"value":1902},"      # Changes to str\n",{"type":993,"tag":1026,"props":1904,"children":1905},{"class":1028,"line":63},[1906,1910,1914,1918,1923,1927,1931,1935,1939,1943,1947,1951,1955],{"type":993,"tag":1026,"props":1907,"children":1908},{"style":1053},[1909],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1911,"children":1912},{"style":1041},[1913],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1915,"children":1916},{"style":1047},[1917],{"type":998,"value":1117},{"type":993,"tag":1026,"props":1919,"children":1920},{"style":1071},[1921],{"type":998,"value":1922},"\"Then: ",{"type":993,"tag":1026,"props":1924,"children":1925},{"style":1053},[1926],{"type":998,"value":1127},{"type":993,"tag":1026,"props":1928,"children":1929},{"style":1041},[1930],{"type":998,"value":1844},{"type":993,"tag":1026,"props":1932,"children":1933},{"style":1053},[1934],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1936,"children":1937},{"style":1071},[1938],{"type":998,"value":1853},{"type":993,"tag":1026,"props":1940,"children":1941},{"style":1053},[1942],{"type":998,"value":1147},{"type":993,"tag":1026,"props":1944,"children":1945},{"style":1041},[1946],{"type":998,"value":1862},{"type":993,"tag":1026,"props":1948,"children":1949},{"style":1053},[1950],{"type":998,"value":1137},{"type":993,"tag":1026,"props":1952,"children":1953},{"style":1071},[1954],{"type":998,"value":1161},{"type":993,"tag":1026,"props":1956,"children":1957},{"style":1041},[1958],{"type":998,"value":1166},{"type":993,"tag":1026,"props":1960,"children":1961},{"class":1028,"line":72},[1962],{"type":993,"tag":1026,"props":1963,"children":1964},{"emptyLinePlaceholder":13},[1965],{"type":998,"value":1099},{"type":993,"tag":1026,"props":1967,"children":1968},{"class":1028,"line":81},[1969,1973,1977,1981],{"type":993,"tag":1026,"props":1970,"children":1971},{"style":1041},[1972],{"type":998,"value":1801},{"type":993,"tag":1026,"props":1974,"children":1975},{"style":1047},[1976],{"type":998,"value":1050},{"type":993,"tag":1026,"props":1978,"children":1979},{"style":1053},[1980],{"type":998,"value":1428},{"type":993,"tag":1026,"props":1982,"children":1983},{"style":1032},[1984],{"type":998,"value":1985},"         # Changes to bool\n",{"type":993,"tag":1026,"props":1987,"children":1988},{"class":1028,"line":91},[1989,1993,1997,2001,2006,2010,2014,2018,2022,2026,2030,2034,2038],{"type":993,"tag":1026,"props":1990,"children":1991},{"style":1053},[1992],{"type":998,"value":1107},{"type":993,"tag":1026,"props":1994,"children":1995},{"style":1041},[1996],{"type":998,"value":1112},{"type":993,"tag":1026,"props":1998,"children":1999},{"style":1047},[2000],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2002,"children":2003},{"style":1071},[2004],{"type":998,"value":2005},"\"Finally: ",{"type":993,"tag":1026,"props":2007,"children":2008},{"style":1053},[2009],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2011,"children":2012},{"style":1041},[2013],{"type":998,"value":1844},{"type":993,"tag":1026,"props":2015,"children":2016},{"style":1053},[2017],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2019,"children":2020},{"style":1071},[2021],{"type":998,"value":1853},{"type":993,"tag":1026,"props":2023,"children":2024},{"style":1053},[2025],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2027,"children":2028},{"style":1041},[2029],{"type":998,"value":1862},{"type":993,"tag":1026,"props":2031,"children":2032},{"style":1053},[2033],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2035,"children":2036},{"style":1071},[2037],{"type":998,"value":1161},{"type":993,"tag":1026,"props":2039,"children":2040},{"style":1041},[2041],{"type":998,"value":1166},{"type":993,"tag":1283,"props":2043,"children":2045},{"id":2044},"the-type-function",[2046],{"type":998,"value":2047},"🔍 The type() Function",{"type":993,"tag":1001,"props":2049,"children":2050},{},[2051,2053,2059],{"type":998,"value":2052},"The ",{"type":993,"tag":1022,"props":2054,"children":2056},{"className":2055},[],[2057],{"type":998,"value":2058},"type()",{"type":998,"value":2060}," function is your detective tool—it reveals exactly what type of data you're working with. This is super helpful for debugging and understanding your code!",{"type":993,"tag":1012,"props":2062,"children":2063},{},[2064],{"type":993,"tag":1016,"props":2065,"children":2067},{"className":1018,"code":2066,"language":6,"meta":8,"style":8},"# Using type() to check data types\nage = 25\nname = \"Sarah\"\nis_online = False\n\nprint(f\"age ({age}) is type: {type(age)}\")\nprint(f\"name ('{name}') is type: {type(name)}\")\nprint(f\"is_online ({is_online}) is type: {type(is_online)}\")\n",[2068],{"type":993,"tag":1022,"props":2069,"children":2070},{"__ignoreMap":8},[2071,2079,2096,2113,2130,2137,2196,2255],{"type":993,"tag":1026,"props":2072,"children":2073},{"class":1028,"line":12},[2074],{"type":993,"tag":1026,"props":2075,"children":2076},{"style":1032},[2077],{"type":998,"value":2078},"# Using type() to check data types\n",{"type":993,"tag":1026,"props":2080,"children":2081},{"class":1028,"line":27},[2082,2087,2091],{"type":993,"tag":1026,"props":2083,"children":2084},{"style":1041},[2085],{"type":998,"value":2086},"age ",{"type":993,"tag":1026,"props":2088,"children":2089},{"style":1047},[2090],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2092,"children":2093},{"style":1053},[2094],{"type":998,"value":2095}," 25\n",{"type":993,"tag":1026,"props":2097,"children":2098},{"class":1028,"line":36},[2099,2104,2108],{"type":993,"tag":1026,"props":2100,"children":2101},{"style":1041},[2102],{"type":998,"value":2103},"name ",{"type":993,"tag":1026,"props":2105,"children":2106},{"style":1047},[2107],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2109,"children":2110},{"style":1071},[2111],{"type":998,"value":2112}," \"Sarah\"\n",{"type":993,"tag":1026,"props":2114,"children":2115},{"class":1028,"line":45},[2116,2121,2125],{"type":993,"tag":1026,"props":2117,"children":2118},{"style":1041},[2119],{"type":998,"value":2120},"is_online ",{"type":993,"tag":1026,"props":2122,"children":2123},{"style":1047},[2124],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2126,"children":2127},{"style":1053},[2128],{"type":998,"value":2129}," False\n",{"type":993,"tag":1026,"props":2131,"children":2132},{"class":1028,"line":54},[2133],{"type":993,"tag":1026,"props":2134,"children":2135},{"emptyLinePlaceholder":13},[2136],{"type":998,"value":1099},{"type":993,"tag":1026,"props":2138,"children":2139},{"class":1028,"line":63},[2140,2144,2148,2152,2157,2161,2166,2170,2175,2179,2184,2188,2192],{"type":993,"tag":1026,"props":2141,"children":2142},{"style":1053},[2143],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2145,"children":2146},{"style":1041},[2147],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2149,"children":2150},{"style":1047},[2151],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2153,"children":2154},{"style":1071},[2155],{"type":998,"value":2156},"\"age (",{"type":993,"tag":1026,"props":2158,"children":2159},{"style":1053},[2160],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2162,"children":2163},{"style":1041},[2164],{"type":998,"value":2165},"age",{"type":993,"tag":1026,"props":2167,"children":2168},{"style":1053},[2169],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2171,"children":2172},{"style":1071},[2173],{"type":998,"value":2174},") is type: ",{"type":993,"tag":1026,"props":2176,"children":2177},{"style":1053},[2178],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2180,"children":2181},{"style":1041},[2182],{"type":998,"value":2183},"(age)",{"type":993,"tag":1026,"props":2185,"children":2186},{"style":1053},[2187],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2189,"children":2190},{"style":1071},[2191],{"type":998,"value":1161},{"type":993,"tag":1026,"props":2193,"children":2194},{"style":1041},[2195],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2197,"children":2198},{"class":1028,"line":72},[2199,2203,2207,2211,2216,2220,2225,2229,2234,2238,2243,2247,2251],{"type":993,"tag":1026,"props":2200,"children":2201},{"style":1053},[2202],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2204,"children":2205},{"style":1041},[2206],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2208,"children":2209},{"style":1047},[2210],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2212,"children":2213},{"style":1071},[2214],{"type":998,"value":2215},"\"name ('",{"type":993,"tag":1026,"props":2217,"children":2218},{"style":1053},[2219],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2221,"children":2222},{"style":1041},[2223],{"type":998,"value":2224},"name",{"type":993,"tag":1026,"props":2226,"children":2227},{"style":1053},[2228],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2230,"children":2231},{"style":1071},[2232],{"type":998,"value":2233},"') is type: ",{"type":993,"tag":1026,"props":2235,"children":2236},{"style":1053},[2237],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2239,"children":2240},{"style":1041},[2241],{"type":998,"value":2242},"(name)",{"type":993,"tag":1026,"props":2244,"children":2245},{"style":1053},[2246],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2248,"children":2249},{"style":1071},[2250],{"type":998,"value":1161},{"type":993,"tag":1026,"props":2252,"children":2253},{"style":1041},[2254],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2256,"children":2257},{"class":1028,"line":81},[2258,2262,2266,2270,2275,2279,2284,2288,2292,2296,2301,2305,2309],{"type":993,"tag":1026,"props":2259,"children":2260},{"style":1053},[2261],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2263,"children":2264},{"style":1041},[2265],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2267,"children":2268},{"style":1047},[2269],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2271,"children":2272},{"style":1071},[2273],{"type":998,"value":2274},"\"is_online (",{"type":993,"tag":1026,"props":2276,"children":2277},{"style":1053},[2278],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2280,"children":2281},{"style":1041},[2282],{"type":998,"value":2283},"is_online",{"type":993,"tag":1026,"props":2285,"children":2286},{"style":1053},[2287],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2289,"children":2290},{"style":1071},[2291],{"type":998,"value":2174},{"type":993,"tag":1026,"props":2293,"children":2294},{"style":1053},[2295],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2297,"children":2298},{"style":1041},[2299],{"type":998,"value":2300},"(is_online)",{"type":993,"tag":1026,"props":2302,"children":2303},{"style":1053},[2304],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2306,"children":2307},{"style":1071},[2308],{"type":998,"value":1161},{"type":993,"tag":1026,"props":2310,"children":2311},{"style":1041},[2312],{"type":998,"value":1166},{"type":993,"tag":1317,"props":2314,"children":2316},{"id":2315},"practical-type-checking",[2317],{"type":998,"value":2318},"Practical Type Checking",{"type":993,"tag":1001,"props":2320,"children":2321},{},[2322],{"type":998,"value":2323},"You can use type checking to make decisions in your code:",{"type":993,"tag":1012,"props":2325,"children":2326},{},[2327],{"type":993,"tag":1016,"props":2328,"children":2330},{"className":1018,"code":2329,"language":6,"meta":8,"style":8},"# Making decisions based on type\nuser_input = 25\n\nif type(user_input) == int:\n    print(f\"{user_input} is a whole number\")\n    print(\"I can do math with this!\")\nelif type(user_input) == str:\n    print(f\"'{user_input}' is text\")\n    print(\"I can display this as a message!\")\n",[2331],{"type":993,"tag":1022,"props":2332,"children":2333},{"__ignoreMap":8},[2334,2342,2358,2365,2398,2440,2460,2489,2530],{"type":993,"tag":1026,"props":2335,"children":2336},{"class":1028,"line":12},[2337],{"type":993,"tag":1026,"props":2338,"children":2339},{"style":1032},[2340],{"type":998,"value":2341},"# Making decisions based on type\n",{"type":993,"tag":1026,"props":2343,"children":2344},{"class":1028,"line":27},[2345,2350,2354],{"type":993,"tag":1026,"props":2346,"children":2347},{"style":1041},[2348],{"type":998,"value":2349},"user_input ",{"type":993,"tag":1026,"props":2351,"children":2352},{"style":1047},[2353],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2355,"children":2356},{"style":1053},[2357],{"type":998,"value":2095},{"type":993,"tag":1026,"props":2359,"children":2360},{"class":1028,"line":36},[2361],{"type":993,"tag":1026,"props":2362,"children":2363},{"emptyLinePlaceholder":13},[2364],{"type":998,"value":1099},{"type":993,"tag":1026,"props":2366,"children":2367},{"class":1028,"line":45},[2368,2373,2378,2383,2388,2393],{"type":993,"tag":1026,"props":2369,"children":2370},{"style":1047},[2371],{"type":998,"value":2372},"if",{"type":993,"tag":1026,"props":2374,"children":2375},{"style":1053},[2376],{"type":998,"value":2377}," type",{"type":993,"tag":1026,"props":2379,"children":2380},{"style":1041},[2381],{"type":998,"value":2382},"(user_input) ",{"type":993,"tag":1026,"props":2384,"children":2385},{"style":1047},[2386],{"type":998,"value":2387},"==",{"type":993,"tag":1026,"props":2389,"children":2390},{"style":1053},[2391],{"type":998,"value":2392}," int",{"type":993,"tag":1026,"props":2394,"children":2395},{"style":1041},[2396],{"type":998,"value":2397},":\n",{"type":993,"tag":1026,"props":2399,"children":2400},{"class":1028,"line":54},[2401,2406,2410,2414,2418,2422,2427,2431,2436],{"type":993,"tag":1026,"props":2402,"children":2403},{"style":1053},[2404],{"type":998,"value":2405},"    print",{"type":993,"tag":1026,"props":2407,"children":2408},{"style":1041},[2409],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2411,"children":2412},{"style":1047},[2413],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2415,"children":2416},{"style":1071},[2417],{"type":998,"value":1161},{"type":993,"tag":1026,"props":2419,"children":2420},{"style":1053},[2421],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2423,"children":2424},{"style":1041},[2425],{"type":998,"value":2426},"user_input",{"type":993,"tag":1026,"props":2428,"children":2429},{"style":1053},[2430],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2432,"children":2433},{"style":1071},[2434],{"type":998,"value":2435}," is a whole number\"",{"type":993,"tag":1026,"props":2437,"children":2438},{"style":1041},[2439],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2441,"children":2442},{"class":1028,"line":63},[2443,2447,2451,2456],{"type":993,"tag":1026,"props":2444,"children":2445},{"style":1053},[2446],{"type":998,"value":2405},{"type":993,"tag":1026,"props":2448,"children":2449},{"style":1041},[2450],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2452,"children":2453},{"style":1071},[2454],{"type":998,"value":2455},"\"I can do math with this!\"",{"type":993,"tag":1026,"props":2457,"children":2458},{"style":1041},[2459],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2461,"children":2462},{"class":1028,"line":72},[2463,2468,2472,2476,2480,2485],{"type":993,"tag":1026,"props":2464,"children":2465},{"style":1047},[2466],{"type":998,"value":2467},"elif",{"type":993,"tag":1026,"props":2469,"children":2470},{"style":1053},[2471],{"type":998,"value":2377},{"type":993,"tag":1026,"props":2473,"children":2474},{"style":1041},[2475],{"type":998,"value":2382},{"type":993,"tag":1026,"props":2477,"children":2478},{"style":1047},[2479],{"type":998,"value":2387},{"type":993,"tag":1026,"props":2481,"children":2482},{"style":1053},[2483],{"type":998,"value":2484}," str",{"type":993,"tag":1026,"props":2486,"children":2487},{"style":1041},[2488],{"type":998,"value":2397},{"type":993,"tag":1026,"props":2490,"children":2491},{"class":1028,"line":81},[2492,2496,2500,2504,2509,2513,2517,2521,2526],{"type":993,"tag":1026,"props":2493,"children":2494},{"style":1053},[2495],{"type":998,"value":2405},{"type":993,"tag":1026,"props":2497,"children":2498},{"style":1041},[2499],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2501,"children":2502},{"style":1047},[2503],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2505,"children":2506},{"style":1071},[2507],{"type":998,"value":2508},"\"'",{"type":993,"tag":1026,"props":2510,"children":2511},{"style":1053},[2512],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2514,"children":2515},{"style":1041},[2516],{"type":998,"value":2426},{"type":993,"tag":1026,"props":2518,"children":2519},{"style":1053},[2520],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2522,"children":2523},{"style":1071},[2524],{"type":998,"value":2525},"' is text\"",{"type":993,"tag":1026,"props":2527,"children":2528},{"style":1041},[2529],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2531,"children":2532},{"class":1028,"line":91},[2533,2537,2541,2546],{"type":993,"tag":1026,"props":2534,"children":2535},{"style":1053},[2536],{"type":998,"value":2405},{"type":993,"tag":1026,"props":2538,"children":2539},{"style":1041},[2540],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2542,"children":2543},{"style":1071},[2544],{"type":998,"value":2545},"\"I can display this as a message!\"",{"type":993,"tag":1026,"props":2547,"children":2548},{"style":1041},[2549],{"type":998,"value":1166},{"type":993,"tag":1606,"props":2551,"children":2554},{"emoji":1608,"title":2552,"type":2553},"type() Function Guide","success",[2555,2570,2579,2626,2635],{"type":993,"tag":1001,"props":2556,"children":2557},{},[2558,2563,2564],{"type":993,"tag":1295,"props":2559,"children":2560},{},[2561],{"type":998,"value":2562},"Syntax",{"type":998,"value":1634},{"type":993,"tag":1022,"props":2565,"children":2567},{"className":2566},[],[2568],{"type":998,"value":2569},"type(variable_or_value)",{"type":993,"tag":1001,"props":2571,"children":2572},{},[2573,2578],{"type":993,"tag":1295,"props":2574,"children":2575},{},[2576],{"type":998,"value":2577},"Common Results",{"type":998,"value":1775},{"type":993,"tag":1621,"props":2580,"children":2581},{},[2582,2593,2604,2615],{"type":993,"tag":1625,"props":2583,"children":2584},{},[2585,2591],{"type":993,"tag":1022,"props":2586,"children":2588},{"className":2587},[],[2589],{"type":998,"value":2590},"\u003Cclass 'int'>",{"type":998,"value":2592}," → Integers (whole numbers)",{"type":993,"tag":1625,"props":2594,"children":2595},{},[2596,2602],{"type":993,"tag":1022,"props":2597,"children":2599},{"className":2598},[],[2600],{"type":998,"value":2601},"\u003Cclass 'float'>",{"type":998,"value":2603}," → Floats (decimal numbers)",{"type":993,"tag":1625,"props":2605,"children":2606},{},[2607,2613],{"type":993,"tag":1022,"props":2608,"children":2610},{"className":2609},[],[2611],{"type":998,"value":2612},"\u003Cclass 'str'>",{"type":998,"value":2614}," → Strings (text)",{"type":993,"tag":1625,"props":2616,"children":2617},{},[2618,2624],{"type":993,"tag":1022,"props":2619,"children":2621},{"className":2620},[],[2622],{"type":998,"value":2623},"\u003Cclass 'bool'>",{"type":998,"value":2625}," → Booleans (True/False)",{"type":993,"tag":1001,"props":2627,"children":2628},{},[2629,2634],{"type":993,"tag":1295,"props":2630,"children":2631},{},[2632],{"type":998,"value":2633},"When to Use",{"type":998,"value":1775},{"type":993,"tag":1621,"props":2636,"children":2637},{},[2638,2643,2648],{"type":993,"tag":1625,"props":2639,"children":2640},{},[2641],{"type":998,"value":2642},"Debugging type-related errors",{"type":993,"tag":1625,"props":2644,"children":2645},{},[2646],{"type":998,"value":2647},"Understanding unfamiliar data",{"type":993,"tag":1625,"props":2649,"children":2650},{},[2651],{"type":998,"value":2652},"Making type-based decisions in code",{"type":993,"tag":1283,"props":2654,"children":2656},{"id":2655},"️-pythons-built-in-data-types",[2657],{"type":998,"value":2658},"🏗️ Python's Built-in Data Types",{"type":993,"tag":1001,"props":2660,"children":2661},{},[2662],{"type":998,"value":2663},"Python has several core data types that handle different kinds of information:",{"type":993,"tag":1317,"props":2665,"children":2667},{"id":2666},"numeric-types",[2668],{"type":998,"value":2669},"🔢 Numeric Types",{"type":993,"tag":1012,"props":2671,"children":2672},{},[2673],{"type":993,"tag":1016,"props":2674,"children":2676},{"className":1018,"code":2675,"language":6,"meta":8,"style":8},"# Numeric data types\nwhole_number = 42           # int: whole numbers\ndecimal_number = 3.14159    # float: decimal numbers\nnegative_number = -17       # int: can be negative\nvery_large = 1000000        # int: no size limit!\n\nprint(f\"Whole: {whole_number} ({type(whole_number)})\")\nprint(f\"Decimal: {decimal_number} ({type(decimal_number)})\")\nprint(f\"Negative: {negative_number} ({type(negative_number)})\")\nprint(f\"Large: {very_large:,} ({type(very_large)})\")\n",[2677],{"type":993,"tag":1022,"props":2678,"children":2679},{"__ignoreMap":8},[2680,2688,2708,2729,2756,2778,2785,2844,2901,2959],{"type":993,"tag":1026,"props":2681,"children":2682},{"class":1028,"line":12},[2683],{"type":993,"tag":1026,"props":2684,"children":2685},{"style":1032},[2686],{"type":998,"value":2687},"# Numeric data types\n",{"type":993,"tag":1026,"props":2689,"children":2690},{"class":1028,"line":27},[2691,2695,2699,2703],{"type":993,"tag":1026,"props":2692,"children":2693},{"style":1041},[2694],{"type":998,"value":1353},{"type":993,"tag":1026,"props":2696,"children":2697},{"style":1047},[2698],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2700,"children":2701},{"style":1053},[2702],{"type":998,"value":1362},{"type":993,"tag":1026,"props":2704,"children":2705},{"style":1032},[2706],{"type":998,"value":2707},"           # int: whole numbers\n",{"type":993,"tag":1026,"props":2709,"children":2710},{"class":1028,"line":36},[2711,2715,2719,2724],{"type":993,"tag":1026,"props":2712,"children":2713},{"style":1041},[2714],{"type":998,"value":1375},{"type":993,"tag":1026,"props":2716,"children":2717},{"style":1047},[2718],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2720,"children":2721},{"style":1053},[2722],{"type":998,"value":2723}," 3.14159",{"type":993,"tag":1026,"props":2725,"children":2726},{"style":1032},[2727],{"type":998,"value":2728},"    # float: decimal numbers\n",{"type":993,"tag":1026,"props":2730,"children":2731},{"class":1028,"line":45},[2732,2737,2741,2746,2751],{"type":993,"tag":1026,"props":2733,"children":2734},{"style":1041},[2735],{"type":998,"value":2736},"negative_number ",{"type":993,"tag":1026,"props":2738,"children":2739},{"style":1047},[2740],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2742,"children":2743},{"style":1047},[2744],{"type":998,"value":2745}," -",{"type":993,"tag":1026,"props":2747,"children":2748},{"style":1053},[2749],{"type":998,"value":2750},"17",{"type":993,"tag":1026,"props":2752,"children":2753},{"style":1032},[2754],{"type":998,"value":2755},"       # int: can be negative\n",{"type":993,"tag":1026,"props":2757,"children":2758},{"class":1028,"line":54},[2759,2764,2768,2773],{"type":993,"tag":1026,"props":2760,"children":2761},{"style":1041},[2762],{"type":998,"value":2763},"very_large ",{"type":993,"tag":1026,"props":2765,"children":2766},{"style":1047},[2767],{"type":998,"value":1050},{"type":993,"tag":1026,"props":2769,"children":2770},{"style":1053},[2771],{"type":998,"value":2772}," 1000000",{"type":993,"tag":1026,"props":2774,"children":2775},{"style":1032},[2776],{"type":998,"value":2777},"        # int: no size limit!\n",{"type":993,"tag":1026,"props":2779,"children":2780},{"class":1028,"line":63},[2781],{"type":993,"tag":1026,"props":2782,"children":2783},{"emptyLinePlaceholder":13},[2784],{"type":998,"value":1099},{"type":993,"tag":1026,"props":2786,"children":2787},{"class":1028,"line":72},[2788,2792,2796,2800,2805,2809,2814,2818,2823,2827,2831,2835,2840],{"type":993,"tag":1026,"props":2789,"children":2790},{"style":1053},[2791],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2793,"children":2794},{"style":1041},[2795],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2797,"children":2798},{"style":1047},[2799],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2801,"children":2802},{"style":1071},[2803],{"type":998,"value":2804},"\"Whole: ",{"type":993,"tag":1026,"props":2806,"children":2807},{"style":1053},[2808],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2810,"children":2811},{"style":1041},[2812],{"type":998,"value":2813},"whole_number",{"type":993,"tag":1026,"props":2815,"children":2816},{"style":1053},[2817],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2819,"children":2820},{"style":1071},[2821],{"type":998,"value":2822}," (",{"type":993,"tag":1026,"props":2824,"children":2825},{"style":1053},[2826],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2828,"children":2829},{"style":1041},[2830],{"type":998,"value":1469},{"type":993,"tag":1026,"props":2832,"children":2833},{"style":1053},[2834],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2836,"children":2837},{"style":1071},[2838],{"type":998,"value":2839},")\"",{"type":993,"tag":1026,"props":2841,"children":2842},{"style":1041},[2843],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2845,"children":2846},{"class":1028,"line":81},[2847,2851,2855,2859,2864,2868,2873,2877,2881,2885,2889,2893,2897],{"type":993,"tag":1026,"props":2848,"children":2849},{"style":1053},[2850],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2852,"children":2853},{"style":1041},[2854],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2856,"children":2857},{"style":1047},[2858],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2860,"children":2861},{"style":1071},[2862],{"type":998,"value":2863},"\"Decimal: ",{"type":993,"tag":1026,"props":2865,"children":2866},{"style":1053},[2867],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2869,"children":2870},{"style":1041},[2871],{"type":998,"value":2872},"decimal_number",{"type":993,"tag":1026,"props":2874,"children":2875},{"style":1053},[2876],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2878,"children":2879},{"style":1071},[2880],{"type":998,"value":2822},{"type":993,"tag":1026,"props":2882,"children":2883},{"style":1053},[2884],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2886,"children":2887},{"style":1041},[2888],{"type":998,"value":1510},{"type":993,"tag":1026,"props":2890,"children":2891},{"style":1053},[2892],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2894,"children":2895},{"style":1071},[2896],{"type":998,"value":2839},{"type":993,"tag":1026,"props":2898,"children":2899},{"style":1041},[2900],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2902,"children":2903},{"class":1028,"line":91},[2904,2908,2912,2916,2921,2925,2930,2934,2938,2942,2947,2951,2955],{"type":993,"tag":1026,"props":2905,"children":2906},{"style":1053},[2907],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2909,"children":2910},{"style":1041},[2911],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2913,"children":2914},{"style":1047},[2915],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2917,"children":2918},{"style":1071},[2919],{"type":998,"value":2920},"\"Negative: ",{"type":993,"tag":1026,"props":2922,"children":2923},{"style":1053},[2924],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2926,"children":2927},{"style":1041},[2928],{"type":998,"value":2929},"negative_number",{"type":993,"tag":1026,"props":2931,"children":2932},{"style":1053},[2933],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2935,"children":2936},{"style":1071},[2937],{"type":998,"value":2822},{"type":993,"tag":1026,"props":2939,"children":2940},{"style":1053},[2941],{"type":998,"value":1147},{"type":993,"tag":1026,"props":2943,"children":2944},{"style":1041},[2945],{"type":998,"value":2946},"(negative_number)",{"type":993,"tag":1026,"props":2948,"children":2949},{"style":1053},[2950],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2952,"children":2953},{"style":1071},[2954],{"type":998,"value":2839},{"type":993,"tag":1026,"props":2956,"children":2957},{"style":1041},[2958],{"type":998,"value":1166},{"type":993,"tag":1026,"props":2960,"children":2961},{"class":1028,"line":100},[2962,2966,2970,2974,2979,2983,2988,2993,2997,3001,3005,3010,3014,3018],{"type":993,"tag":1026,"props":2963,"children":2964},{"style":1053},[2965],{"type":998,"value":1107},{"type":993,"tag":1026,"props":2967,"children":2968},{"style":1041},[2969],{"type":998,"value":1112},{"type":993,"tag":1026,"props":2971,"children":2972},{"style":1047},[2973],{"type":998,"value":1117},{"type":993,"tag":1026,"props":2975,"children":2976},{"style":1071},[2977],{"type":998,"value":2978},"\"Large: ",{"type":993,"tag":1026,"props":2980,"children":2981},{"style":1053},[2982],{"type":998,"value":1127},{"type":993,"tag":1026,"props":2984,"children":2985},{"style":1041},[2986],{"type":998,"value":2987},"very_large",{"type":993,"tag":1026,"props":2989,"children":2990},{"style":1047},[2991],{"type":998,"value":2992},":,",{"type":993,"tag":1026,"props":2994,"children":2995},{"style":1053},[2996],{"type":998,"value":1137},{"type":993,"tag":1026,"props":2998,"children":2999},{"style":1071},[3000],{"type":998,"value":2822},{"type":993,"tag":1026,"props":3002,"children":3003},{"style":1053},[3004],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3006,"children":3007},{"style":1041},[3008],{"type":998,"value":3009},"(very_large)",{"type":993,"tag":1026,"props":3011,"children":3012},{"style":1053},[3013],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3015,"children":3016},{"style":1071},[3017],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3019,"children":3020},{"style":1041},[3021],{"type":998,"value":1166},{"type":993,"tag":1317,"props":3023,"children":3025},{"id":3024},"text-type",[3026],{"type":998,"value":3027},"📝 Text Type",{"type":993,"tag":1012,"props":3029,"children":3030},{},[3031],{"type":993,"tag":1016,"props":3032,"children":3034},{"className":1018,"code":3033,"language":6,"meta":8,"style":8},"# String (text) data type\ngreeting = \"Hello\"\nname = 'Python'\nmessage = \"Learning is fun!\"\nnumber_as_text = \"123\"      # Numbers in quotes become text!\n\nprint(f\"Greeting: '{greeting}' ({type(greeting)})\")\nprint(f\"Name: '{name}' ({type(name)})\")\nprint(f\"Message: '{message}' ({type(message)})\")\nprint(f\"Number as text: '{number_as_text}' ({type(number_as_text)})\")\n",[3035],{"type":993,"tag":1022,"props":3036,"children":3037},{"__ignoreMap":8},[3038,3046,3062,3078,3095,3117,3124,3183,3239,3297],{"type":993,"tag":1026,"props":3039,"children":3040},{"class":1028,"line":12},[3041],{"type":993,"tag":1026,"props":3042,"children":3043},{"style":1032},[3044],{"type":998,"value":3045},"# String (text) data type\n",{"type":993,"tag":1026,"props":3047,"children":3048},{"class":1028,"line":27},[3049,3054,3058],{"type":993,"tag":1026,"props":3050,"children":3051},{"style":1041},[3052],{"type":998,"value":3053},"greeting ",{"type":993,"tag":1026,"props":3055,"children":3056},{"style":1047},[3057],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3059,"children":3060},{"style":1071},[3061],{"type":998,"value":1074},{"type":993,"tag":1026,"props":3063,"children":3064},{"class":1028,"line":36},[3065,3069,3073],{"type":993,"tag":1026,"props":3066,"children":3067},{"style":1041},[3068],{"type":998,"value":2103},{"type":993,"tag":1026,"props":3070,"children":3071},{"style":1047},[3072],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3074,"children":3075},{"style":1071},[3076],{"type":998,"value":3077}," 'Python'\n",{"type":993,"tag":1026,"props":3079,"children":3080},{"class":1028,"line":45},[3081,3086,3090],{"type":993,"tag":1026,"props":3082,"children":3083},{"style":1041},[3084],{"type":998,"value":3085},"message ",{"type":993,"tag":1026,"props":3087,"children":3088},{"style":1047},[3089],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3091,"children":3092},{"style":1071},[3093],{"type":998,"value":3094}," \"Learning is fun!\"\n",{"type":993,"tag":1026,"props":3096,"children":3097},{"class":1028,"line":54},[3098,3103,3107,3112],{"type":993,"tag":1026,"props":3099,"children":3100},{"style":1041},[3101],{"type":998,"value":3102},"number_as_text ",{"type":993,"tag":1026,"props":3104,"children":3105},{"style":1047},[3106],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3108,"children":3109},{"style":1071},[3110],{"type":998,"value":3111}," \"123\"",{"type":993,"tag":1026,"props":3113,"children":3114},{"style":1032},[3115],{"type":998,"value":3116},"      # Numbers in quotes become text!\n",{"type":993,"tag":1026,"props":3118,"children":3119},{"class":1028,"line":63},[3120],{"type":993,"tag":1026,"props":3121,"children":3122},{"emptyLinePlaceholder":13},[3123],{"type":998,"value":1099},{"type":993,"tag":1026,"props":3125,"children":3126},{"class":1028,"line":72},[3127,3131,3135,3139,3144,3148,3153,3157,3162,3166,3171,3175,3179],{"type":993,"tag":1026,"props":3128,"children":3129},{"style":1053},[3130],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3132,"children":3133},{"style":1041},[3134],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3136,"children":3137},{"style":1047},[3138],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3140,"children":3141},{"style":1071},[3142],{"type":998,"value":3143},"\"Greeting: '",{"type":993,"tag":1026,"props":3145,"children":3146},{"style":1053},[3147],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3149,"children":3150},{"style":1041},[3151],{"type":998,"value":3152},"greeting",{"type":993,"tag":1026,"props":3154,"children":3155},{"style":1053},[3156],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3158,"children":3159},{"style":1071},[3160],{"type":998,"value":3161},"' (",{"type":993,"tag":1026,"props":3163,"children":3164},{"style":1053},[3165],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3167,"children":3168},{"style":1041},[3169],{"type":998,"value":3170},"(greeting)",{"type":993,"tag":1026,"props":3172,"children":3173},{"style":1053},[3174],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3176,"children":3177},{"style":1071},[3178],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3180,"children":3181},{"style":1041},[3182],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3184,"children":3185},{"class":1028,"line":81},[3186,3190,3194,3198,3203,3207,3211,3215,3219,3223,3227,3231,3235],{"type":993,"tag":1026,"props":3187,"children":3188},{"style":1053},[3189],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3191,"children":3192},{"style":1041},[3193],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3195,"children":3196},{"style":1047},[3197],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3199,"children":3200},{"style":1071},[3201],{"type":998,"value":3202},"\"Name: '",{"type":993,"tag":1026,"props":3204,"children":3205},{"style":1053},[3206],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3208,"children":3209},{"style":1041},[3210],{"type":998,"value":2224},{"type":993,"tag":1026,"props":3212,"children":3213},{"style":1053},[3214],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3216,"children":3217},{"style":1071},[3218],{"type":998,"value":3161},{"type":993,"tag":1026,"props":3220,"children":3221},{"style":1053},[3222],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3224,"children":3225},{"style":1041},[3226],{"type":998,"value":2242},{"type":993,"tag":1026,"props":3228,"children":3229},{"style":1053},[3230],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3232,"children":3233},{"style":1071},[3234],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3236,"children":3237},{"style":1041},[3238],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3240,"children":3241},{"class":1028,"line":91},[3242,3246,3250,3254,3259,3263,3268,3272,3276,3280,3285,3289,3293],{"type":993,"tag":1026,"props":3243,"children":3244},{"style":1053},[3245],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3247,"children":3248},{"style":1041},[3249],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3251,"children":3252},{"style":1047},[3253],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3255,"children":3256},{"style":1071},[3257],{"type":998,"value":3258},"\"Message: '",{"type":993,"tag":1026,"props":3260,"children":3261},{"style":1053},[3262],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3264,"children":3265},{"style":1041},[3266],{"type":998,"value":3267},"message",{"type":993,"tag":1026,"props":3269,"children":3270},{"style":1053},[3271],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3273,"children":3274},{"style":1071},[3275],{"type":998,"value":3161},{"type":993,"tag":1026,"props":3277,"children":3278},{"style":1053},[3279],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3281,"children":3282},{"style":1041},[3283],{"type":998,"value":3284},"(message)",{"type":993,"tag":1026,"props":3286,"children":3287},{"style":1053},[3288],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3290,"children":3291},{"style":1071},[3292],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3294,"children":3295},{"style":1041},[3296],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3298,"children":3299},{"class":1028,"line":100},[3300,3304,3308,3312,3317,3321,3326,3330,3334,3338,3343,3347,3351],{"type":993,"tag":1026,"props":3301,"children":3302},{"style":1053},[3303],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3305,"children":3306},{"style":1041},[3307],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3309,"children":3310},{"style":1047},[3311],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3313,"children":3314},{"style":1071},[3315],{"type":998,"value":3316},"\"Number as text: '",{"type":993,"tag":1026,"props":3318,"children":3319},{"style":1053},[3320],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3322,"children":3323},{"style":1041},[3324],{"type":998,"value":3325},"number_as_text",{"type":993,"tag":1026,"props":3327,"children":3328},{"style":1053},[3329],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3331,"children":3332},{"style":1071},[3333],{"type":998,"value":3161},{"type":993,"tag":1026,"props":3335,"children":3336},{"style":1053},[3337],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3339,"children":3340},{"style":1041},[3341],{"type":998,"value":3342},"(number_as_text)",{"type":993,"tag":1026,"props":3344,"children":3345},{"style":1053},[3346],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3348,"children":3349},{"style":1071},[3350],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3352,"children":3353},{"style":1041},[3354],{"type":998,"value":1166},{"type":993,"tag":1317,"props":3356,"children":3358},{"id":3357},"boolean-type",[3359],{"type":998,"value":3360},"✅ Boolean Type",{"type":993,"tag":1012,"props":3362,"children":3363},{},[3364],{"type":993,"tag":1016,"props":3365,"children":3367},{"className":1018,"code":3366,"language":6,"meta":8,"style":8},"# Boolean (True/False) data type\nis_sunny = True\nis_raining = False\nis_weekend = True\n\nprint(f\"Sunny: {is_sunny} ({type(is_sunny)})\")\nprint(f\"Raining: {is_raining} ({type(is_raining)})\")\nprint(f\"Weekend: {is_weekend} ({type(is_weekend)})\")\n\n# Booleans are useful for decisions\nif is_weekend and is_sunny:\n    print(\"Perfect day for a picnic!\")\n",[3368],{"type":993,"tag":1022,"props":3369,"children":3370},{"__ignoreMap":8},[3371,3379,3395,3411,3427,3434,3492,3550,3608,3615,3623,3645],{"type":993,"tag":1026,"props":3372,"children":3373},{"class":1028,"line":12},[3374],{"type":993,"tag":1026,"props":3375,"children":3376},{"style":1032},[3377],{"type":998,"value":3378},"# Boolean (True/False) data type\n",{"type":993,"tag":1026,"props":3380,"children":3381},{"class":1028,"line":27},[3382,3387,3391],{"type":993,"tag":1026,"props":3383,"children":3384},{"style":1041},[3385],{"type":998,"value":3386},"is_sunny ",{"type":993,"tag":1026,"props":3388,"children":3389},{"style":1047},[3390],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3392,"children":3393},{"style":1053},[3394],{"type":998,"value":1091},{"type":993,"tag":1026,"props":3396,"children":3397},{"class":1028,"line":36},[3398,3403,3407],{"type":993,"tag":1026,"props":3399,"children":3400},{"style":1041},[3401],{"type":998,"value":3402},"is_raining ",{"type":993,"tag":1026,"props":3404,"children":3405},{"style":1047},[3406],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3408,"children":3409},{"style":1053},[3410],{"type":998,"value":2129},{"type":993,"tag":1026,"props":3412,"children":3413},{"class":1028,"line":45},[3414,3419,3423],{"type":993,"tag":1026,"props":3415,"children":3416},{"style":1041},[3417],{"type":998,"value":3418},"is_weekend ",{"type":993,"tag":1026,"props":3420,"children":3421},{"style":1047},[3422],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3424,"children":3425},{"style":1053},[3426],{"type":998,"value":1091},{"type":993,"tag":1026,"props":3428,"children":3429},{"class":1028,"line":54},[3430],{"type":993,"tag":1026,"props":3431,"children":3432},{"emptyLinePlaceholder":13},[3433],{"type":998,"value":1099},{"type":993,"tag":1026,"props":3435,"children":3436},{"class":1028,"line":63},[3437,3441,3445,3449,3454,3458,3463,3467,3471,3475,3480,3484,3488],{"type":993,"tag":1026,"props":3438,"children":3439},{"style":1053},[3440],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3442,"children":3443},{"style":1041},[3444],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3446,"children":3447},{"style":1047},[3448],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3450,"children":3451},{"style":1071},[3452],{"type":998,"value":3453},"\"Sunny: ",{"type":993,"tag":1026,"props":3455,"children":3456},{"style":1053},[3457],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3459,"children":3460},{"style":1041},[3461],{"type":998,"value":3462},"is_sunny",{"type":993,"tag":1026,"props":3464,"children":3465},{"style":1053},[3466],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3468,"children":3469},{"style":1071},[3470],{"type":998,"value":2822},{"type":993,"tag":1026,"props":3472,"children":3473},{"style":1053},[3474],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3476,"children":3477},{"style":1041},[3478],{"type":998,"value":3479},"(is_sunny)",{"type":993,"tag":1026,"props":3481,"children":3482},{"style":1053},[3483],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3485,"children":3486},{"style":1071},[3487],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3489,"children":3490},{"style":1041},[3491],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3493,"children":3494},{"class":1028,"line":72},[3495,3499,3503,3507,3512,3516,3521,3525,3529,3533,3538,3542,3546],{"type":993,"tag":1026,"props":3496,"children":3497},{"style":1053},[3498],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3500,"children":3501},{"style":1041},[3502],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3504,"children":3505},{"style":1047},[3506],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3508,"children":3509},{"style":1071},[3510],{"type":998,"value":3511},"\"Raining: ",{"type":993,"tag":1026,"props":3513,"children":3514},{"style":1053},[3515],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3517,"children":3518},{"style":1041},[3519],{"type":998,"value":3520},"is_raining",{"type":993,"tag":1026,"props":3522,"children":3523},{"style":1053},[3524],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3526,"children":3527},{"style":1071},[3528],{"type":998,"value":2822},{"type":993,"tag":1026,"props":3530,"children":3531},{"style":1053},[3532],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3534,"children":3535},{"style":1041},[3536],{"type":998,"value":3537},"(is_raining)",{"type":993,"tag":1026,"props":3539,"children":3540},{"style":1053},[3541],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3543,"children":3544},{"style":1071},[3545],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3547,"children":3548},{"style":1041},[3549],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3551,"children":3552},{"class":1028,"line":81},[3553,3557,3561,3565,3570,3574,3579,3583,3587,3591,3596,3600,3604],{"type":993,"tag":1026,"props":3554,"children":3555},{"style":1053},[3556],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3558,"children":3559},{"style":1041},[3560],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3562,"children":3563},{"style":1047},[3564],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3566,"children":3567},{"style":1071},[3568],{"type":998,"value":3569},"\"Weekend: ",{"type":993,"tag":1026,"props":3571,"children":3572},{"style":1053},[3573],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3575,"children":3576},{"style":1041},[3577],{"type":998,"value":3578},"is_weekend",{"type":993,"tag":1026,"props":3580,"children":3581},{"style":1053},[3582],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3584,"children":3585},{"style":1071},[3586],{"type":998,"value":2822},{"type":993,"tag":1026,"props":3588,"children":3589},{"style":1053},[3590],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3592,"children":3593},{"style":1041},[3594],{"type":998,"value":3595},"(is_weekend)",{"type":993,"tag":1026,"props":3597,"children":3598},{"style":1053},[3599],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3601,"children":3602},{"style":1071},[3603],{"type":998,"value":2839},{"type":993,"tag":1026,"props":3605,"children":3606},{"style":1041},[3607],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3609,"children":3610},{"class":1028,"line":91},[3611],{"type":993,"tag":1026,"props":3612,"children":3613},{"emptyLinePlaceholder":13},[3614],{"type":998,"value":1099},{"type":993,"tag":1026,"props":3616,"children":3617},{"class":1028,"line":100},[3618],{"type":993,"tag":1026,"props":3619,"children":3620},{"style":1032},[3621],{"type":998,"value":3622},"# Booleans are useful for decisions\n",{"type":993,"tag":1026,"props":3624,"children":3625},{"class":1028,"line":109},[3626,3630,3635,3640],{"type":993,"tag":1026,"props":3627,"children":3628},{"style":1047},[3629],{"type":998,"value":2372},{"type":993,"tag":1026,"props":3631,"children":3632},{"style":1041},[3633],{"type":998,"value":3634}," is_weekend ",{"type":993,"tag":1026,"props":3636,"children":3637},{"style":1047},[3638],{"type":998,"value":3639},"and",{"type":993,"tag":1026,"props":3641,"children":3642},{"style":1041},[3643],{"type":998,"value":3644}," is_sunny:\n",{"type":993,"tag":1026,"props":3646,"children":3647},{"class":1028,"line":118},[3648,3652,3656,3661],{"type":993,"tag":1026,"props":3649,"children":3650},{"style":1053},[3651],{"type":998,"value":2405},{"type":993,"tag":1026,"props":3653,"children":3654},{"style":1041},[3655],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3657,"children":3658},{"style":1071},[3659],{"type":998,"value":3660},"\"Perfect day for a picnic!\"",{"type":993,"tag":1026,"props":3662,"children":3663},{"style":1041},[3664],{"type":998,"value":1166},{"type":993,"tag":1283,"props":3666,"children":3668},{"id":3667},"quick-type-practice",[3669],{"type":998,"value":3670},"Quick Type Practice 🔍",{"type":993,"tag":1001,"props":3672,"children":3673},{},[3674],{"type":998,"value":3675},"Let's practice identifying Python's data types with a simple exercise!",{"type":993,"tag":3677,"props":3678,"children":3681},"exercise",{"hint":3679,"prompt":3680},"Try numbers, text in quotes, and True/False values!","Practice using the type() function to see how Python assigns different data types.",[3682],{"type":993,"tag":1016,"props":3683,"children":3685},{"className":1018,"code":3684,"language":6,"meta":8,"style":8},"# Type Practice - Simple and quick!\n\n# Create different types of variables\nmy_number = # TODO: Your code here (try a whole number)\nmy_decimal = # TODO: Your code here (try a number with decimal)\nmy_text = # TODO: Your code here (put text in quotes)\nmy_boolean = # TODO: Your code here (use True or False)\n\n# Check what types Python assigned\nprint(f\"Number: {my_number} is {type(my_number)}\")\nprint(f\"Decimal: {my_decimal} is {type(my_decimal)}\")\nprint(f\"Text: {my_text} is {type(my_text)}\")\nprint(f\"Boolean: {my_boolean} is {type(my_boolean)}\")\n\n# Tricky case - what type is this?\nmystery = \"123\"\nprint(f\"Mystery '{mystery}' is {type(mystery)}\")\n",[3686],{"type":993,"tag":1022,"props":3687,"children":3688},{"__ignoreMap":8},[3689,3697,3704,3712,3739,3764,3789,3814,3821,3829,3887,3944,4002,4060,4067,4075,4092],{"type":993,"tag":1026,"props":3690,"children":3691},{"class":1028,"line":12},[3692],{"type":993,"tag":1026,"props":3693,"children":3694},{"style":1032},[3695],{"type":998,"value":3696},"# Type Practice - Simple and quick!\n",{"type":993,"tag":1026,"props":3698,"children":3699},{"class":1028,"line":27},[3700],{"type":993,"tag":1026,"props":3701,"children":3702},{"emptyLinePlaceholder":13},[3703],{"type":998,"value":1099},{"type":993,"tag":1026,"props":3705,"children":3706},{"class":1028,"line":36},[3707],{"type":993,"tag":1026,"props":3708,"children":3709},{"style":1032},[3710],{"type":998,"value":3711},"# Create different types of variables\n",{"type":993,"tag":1026,"props":3713,"children":3714},{"class":1028,"line":45},[3715,3720,3724,3729,3734],{"type":993,"tag":1026,"props":3716,"children":3717},{"style":1041},[3718],{"type":998,"value":3719},"my_number ",{"type":993,"tag":1026,"props":3721,"children":3722},{"style":1047},[3723],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3725,"children":3726},{"style":1032},[3727],{"type":998,"value":3728}," # ",{"type":993,"tag":1026,"props":3730,"children":3731},{"style":1047},[3732],{"type":998,"value":3733},"TODO",{"type":993,"tag":1026,"props":3735,"children":3736},{"style":1032},[3737],{"type":998,"value":3738},": Your code here (try a whole number)\n",{"type":993,"tag":1026,"props":3740,"children":3741},{"class":1028,"line":54},[3742,3747,3751,3755,3759],{"type":993,"tag":1026,"props":3743,"children":3744},{"style":1041},[3745],{"type":998,"value":3746},"my_decimal ",{"type":993,"tag":1026,"props":3748,"children":3749},{"style":1047},[3750],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3752,"children":3753},{"style":1032},[3754],{"type":998,"value":3728},{"type":993,"tag":1026,"props":3756,"children":3757},{"style":1047},[3758],{"type":998,"value":3733},{"type":993,"tag":1026,"props":3760,"children":3761},{"style":1032},[3762],{"type":998,"value":3763},": Your code here (try a number with decimal)\n",{"type":993,"tag":1026,"props":3765,"children":3766},{"class":1028,"line":63},[3767,3772,3776,3780,3784],{"type":993,"tag":1026,"props":3768,"children":3769},{"style":1041},[3770],{"type":998,"value":3771},"my_text ",{"type":993,"tag":1026,"props":3773,"children":3774},{"style":1047},[3775],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3777,"children":3778},{"style":1032},[3779],{"type":998,"value":3728},{"type":993,"tag":1026,"props":3781,"children":3782},{"style":1047},[3783],{"type":998,"value":3733},{"type":993,"tag":1026,"props":3785,"children":3786},{"style":1032},[3787],{"type":998,"value":3788},": Your code here (put text in quotes)\n",{"type":993,"tag":1026,"props":3790,"children":3791},{"class":1028,"line":72},[3792,3797,3801,3805,3809],{"type":993,"tag":1026,"props":3793,"children":3794},{"style":1041},[3795],{"type":998,"value":3796},"my_boolean ",{"type":993,"tag":1026,"props":3798,"children":3799},{"style":1047},[3800],{"type":998,"value":1050},{"type":993,"tag":1026,"props":3802,"children":3803},{"style":1032},[3804],{"type":998,"value":3728},{"type":993,"tag":1026,"props":3806,"children":3807},{"style":1047},[3808],{"type":998,"value":3733},{"type":993,"tag":1026,"props":3810,"children":3811},{"style":1032},[3812],{"type":998,"value":3813},": Your code here (use True or False)\n",{"type":993,"tag":1026,"props":3815,"children":3816},{"class":1028,"line":81},[3817],{"type":993,"tag":1026,"props":3818,"children":3819},{"emptyLinePlaceholder":13},[3820],{"type":998,"value":1099},{"type":993,"tag":1026,"props":3822,"children":3823},{"class":1028,"line":91},[3824],{"type":993,"tag":1026,"props":3825,"children":3826},{"style":1032},[3827],{"type":998,"value":3828},"# Check what types Python assigned\n",{"type":993,"tag":1026,"props":3830,"children":3831},{"class":1028,"line":100},[3832,3836,3840,3844,3849,3853,3858,3862,3866,3870,3875,3879,3883],{"type":993,"tag":1026,"props":3833,"children":3834},{"style":1053},[3835],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3837,"children":3838},{"style":1041},[3839],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3841,"children":3842},{"style":1047},[3843],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3845,"children":3846},{"style":1071},[3847],{"type":998,"value":3848},"\"Number: ",{"type":993,"tag":1026,"props":3850,"children":3851},{"style":1053},[3852],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3854,"children":3855},{"style":1041},[3856],{"type":998,"value":3857},"my_number",{"type":993,"tag":1026,"props":3859,"children":3860},{"style":1053},[3861],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3863,"children":3864},{"style":1071},[3865],{"type":998,"value":1853},{"type":993,"tag":1026,"props":3867,"children":3868},{"style":1053},[3869],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3871,"children":3872},{"style":1041},[3873],{"type":998,"value":3874},"(my_number)",{"type":993,"tag":1026,"props":3876,"children":3877},{"style":1053},[3878],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3880,"children":3881},{"style":1071},[3882],{"type":998,"value":1161},{"type":993,"tag":1026,"props":3884,"children":3885},{"style":1041},[3886],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3888,"children":3889},{"class":1028,"line":109},[3890,3894,3898,3902,3906,3910,3915,3919,3923,3927,3932,3936,3940],{"type":993,"tag":1026,"props":3891,"children":3892},{"style":1053},[3893],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3895,"children":3896},{"style":1041},[3897],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3899,"children":3900},{"style":1047},[3901],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3903,"children":3904},{"style":1071},[3905],{"type":998,"value":2863},{"type":993,"tag":1026,"props":3907,"children":3908},{"style":1053},[3909],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3911,"children":3912},{"style":1041},[3913],{"type":998,"value":3914},"my_decimal",{"type":993,"tag":1026,"props":3916,"children":3917},{"style":1053},[3918],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3920,"children":3921},{"style":1071},[3922],{"type":998,"value":1853},{"type":993,"tag":1026,"props":3924,"children":3925},{"style":1053},[3926],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3928,"children":3929},{"style":1041},[3930],{"type":998,"value":3931},"(my_decimal)",{"type":993,"tag":1026,"props":3933,"children":3934},{"style":1053},[3935],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3937,"children":3938},{"style":1071},[3939],{"type":998,"value":1161},{"type":993,"tag":1026,"props":3941,"children":3942},{"style":1041},[3943],{"type":998,"value":1166},{"type":993,"tag":1026,"props":3945,"children":3946},{"class":1028,"line":118},[3947,3951,3955,3959,3964,3968,3973,3977,3981,3985,3990,3994,3998],{"type":993,"tag":1026,"props":3948,"children":3949},{"style":1053},[3950],{"type":998,"value":1107},{"type":993,"tag":1026,"props":3952,"children":3953},{"style":1041},[3954],{"type":998,"value":1112},{"type":993,"tag":1026,"props":3956,"children":3957},{"style":1047},[3958],{"type":998,"value":1117},{"type":993,"tag":1026,"props":3960,"children":3961},{"style":1071},[3962],{"type":998,"value":3963},"\"Text: ",{"type":993,"tag":1026,"props":3965,"children":3966},{"style":1053},[3967],{"type":998,"value":1127},{"type":993,"tag":1026,"props":3969,"children":3970},{"style":1041},[3971],{"type":998,"value":3972},"my_text",{"type":993,"tag":1026,"props":3974,"children":3975},{"style":1053},[3976],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3978,"children":3979},{"style":1071},[3980],{"type":998,"value":1853},{"type":993,"tag":1026,"props":3982,"children":3983},{"style":1053},[3984],{"type":998,"value":1147},{"type":993,"tag":1026,"props":3986,"children":3987},{"style":1041},[3988],{"type":998,"value":3989},"(my_text)",{"type":993,"tag":1026,"props":3991,"children":3992},{"style":1053},[3993],{"type":998,"value":1137},{"type":993,"tag":1026,"props":3995,"children":3996},{"style":1071},[3997],{"type":998,"value":1161},{"type":993,"tag":1026,"props":3999,"children":4000},{"style":1041},[4001],{"type":998,"value":1166},{"type":993,"tag":1026,"props":4003,"children":4004},{"class":1028,"line":127},[4005,4009,4013,4017,4022,4026,4031,4035,4039,4043,4048,4052,4056],{"type":993,"tag":1026,"props":4006,"children":4007},{"style":1053},[4008],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4010,"children":4011},{"style":1041},[4012],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4014,"children":4015},{"style":1047},[4016],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4018,"children":4019},{"style":1071},[4020],{"type":998,"value":4021},"\"Boolean: ",{"type":993,"tag":1026,"props":4023,"children":4024},{"style":1053},[4025],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4027,"children":4028},{"style":1041},[4029],{"type":998,"value":4030},"my_boolean",{"type":993,"tag":1026,"props":4032,"children":4033},{"style":1053},[4034],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4036,"children":4037},{"style":1071},[4038],{"type":998,"value":1853},{"type":993,"tag":1026,"props":4040,"children":4041},{"style":1053},[4042],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4044,"children":4045},{"style":1041},[4046],{"type":998,"value":4047},"(my_boolean)",{"type":993,"tag":1026,"props":4049,"children":4050},{"style":1053},[4051],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4053,"children":4054},{"style":1071},[4055],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4057,"children":4058},{"style":1041},[4059],{"type":998,"value":1166},{"type":993,"tag":1026,"props":4061,"children":4062},{"class":1028,"line":136},[4063],{"type":993,"tag":1026,"props":4064,"children":4065},{"emptyLinePlaceholder":13},[4066],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4068,"children":4069},{"class":1028,"line":146},[4070],{"type":993,"tag":1026,"props":4071,"children":4072},{"style":1032},[4073],{"type":998,"value":4074},"# Tricky case - what type is this?\n",{"type":993,"tag":1026,"props":4076,"children":4077},{"class":1028,"line":155},[4078,4083,4087],{"type":993,"tag":1026,"props":4079,"children":4080},{"style":1041},[4081],{"type":998,"value":4082},"mystery ",{"type":993,"tag":1026,"props":4084,"children":4085},{"style":1047},[4086],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4088,"children":4089},{"style":1071},[4090],{"type":998,"value":4091}," \"123\"\n",{"type":993,"tag":1026,"props":4093,"children":4094},{"class":1028,"line":164},[4095,4099,4103,4107,4112,4116,4121,4125,4130,4134,4139,4143,4147],{"type":993,"tag":1026,"props":4096,"children":4097},{"style":1053},[4098],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4100,"children":4101},{"style":1041},[4102],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4104,"children":4105},{"style":1047},[4106],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4108,"children":4109},{"style":1071},[4110],{"type":998,"value":4111},"\"Mystery '",{"type":993,"tag":1026,"props":4113,"children":4114},{"style":1053},[4115],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4117,"children":4118},{"style":1041},[4119],{"type":998,"value":4120},"mystery",{"type":993,"tag":1026,"props":4122,"children":4123},{"style":1053},[4124],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4126,"children":4127},{"style":1071},[4128],{"type":998,"value":4129},"' is ",{"type":993,"tag":1026,"props":4131,"children":4132},{"style":1053},[4133],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4135,"children":4136},{"style":1041},[4137],{"type":998,"value":4138},"(mystery)",{"type":993,"tag":1026,"props":4140,"children":4141},{"style":1053},[4142],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4144,"children":4145},{"style":1071},[4146],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4148,"children":4149},{"style":1041},[4150],{"type":998,"value":1166},{"type":993,"tag":1317,"props":4152,"children":4154},{"id":4153},"solution-and-explanation",[4155],{"type":998,"value":4156},"Solution and Explanation 💡",{"type":993,"tag":4158,"props":4159,"children":4160},"details",{},[4161,4169,4605,4613],{"type":993,"tag":4162,"props":4163,"children":4166},"summary",{"className":4164},[4165],"cursor-pointer",[4167],{"type":998,"value":4168},"Click to see the complete solution",{"type":993,"tag":1012,"props":4170,"children":4171},{},[4172],{"type":993,"tag":1016,"props":4173,"children":4175},{"className":1018,"code":4174,"language":6,"meta":8,"style":8},"# Type Practice - Simple solution\n\n# Create different types of variables\nmy_number = 42          # Integer\nmy_decimal = 3.14       # Float \nmy_text = \"Hello\"       # String\nmy_boolean = True       # Boolean\n\n# Check what types Python assigned\nprint(f\"Number: {my_number} is {type(my_number)}\")\nprint(f\"Decimal: {my_decimal} is {type(my_decimal)}\")\nprint(f\"Text: {my_text} is {type(my_text)}\")\nprint(f\"Boolean: {my_boolean} is {type(my_boolean)}\")\n\n# Tricky case - what type is this?\nmystery = \"123\"         # String (quotes make it text!)\nprint(f\"Mystery '{mystery}' is {type(mystery)}\")\n",[4176],{"type":993,"tag":1022,"props":4177,"children":4178},{"__ignoreMap":8},[4179,4187,4194,4201,4221,4242,4262,4282,4289,4296,4351,4406,4461,4516,4523,4530,4550],{"type":993,"tag":1026,"props":4180,"children":4181},{"class":1028,"line":12},[4182],{"type":993,"tag":1026,"props":4183,"children":4184},{"style":1032},[4185],{"type":998,"value":4186},"# Type Practice - Simple solution\n",{"type":993,"tag":1026,"props":4188,"children":4189},{"class":1028,"line":27},[4190],{"type":993,"tag":1026,"props":4191,"children":4192},{"emptyLinePlaceholder":13},[4193],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4195,"children":4196},{"class":1028,"line":36},[4197],{"type":993,"tag":1026,"props":4198,"children":4199},{"style":1032},[4200],{"type":998,"value":3711},{"type":993,"tag":1026,"props":4202,"children":4203},{"class":1028,"line":45},[4204,4208,4212,4216],{"type":993,"tag":1026,"props":4205,"children":4206},{"style":1041},[4207],{"type":998,"value":3719},{"type":993,"tag":1026,"props":4209,"children":4210},{"style":1047},[4211],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4213,"children":4214},{"style":1053},[4215],{"type":998,"value":1362},{"type":993,"tag":1026,"props":4217,"children":4218},{"style":1032},[4219],{"type":998,"value":4220},"          # Integer\n",{"type":993,"tag":1026,"props":4222,"children":4223},{"class":1028,"line":54},[4224,4228,4232,4237],{"type":993,"tag":1026,"props":4225,"children":4226},{"style":1041},[4227],{"type":998,"value":3746},{"type":993,"tag":1026,"props":4229,"children":4230},{"style":1047},[4231],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4233,"children":4234},{"style":1053},[4235],{"type":998,"value":4236}," 3.14",{"type":993,"tag":1026,"props":4238,"children":4239},{"style":1032},[4240],{"type":998,"value":4241},"       # Float \n",{"type":993,"tag":1026,"props":4243,"children":4244},{"class":1028,"line":63},[4245,4249,4253,4257],{"type":993,"tag":1026,"props":4246,"children":4247},{"style":1041},[4248],{"type":998,"value":3771},{"type":993,"tag":1026,"props":4250,"children":4251},{"style":1047},[4252],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4254,"children":4255},{"style":1071},[4256],{"type":998,"value":1897},{"type":993,"tag":1026,"props":4258,"children":4259},{"style":1032},[4260],{"type":998,"value":4261},"       # String\n",{"type":993,"tag":1026,"props":4263,"children":4264},{"class":1028,"line":72},[4265,4269,4273,4277],{"type":993,"tag":1026,"props":4266,"children":4267},{"style":1041},[4268],{"type":998,"value":3796},{"type":993,"tag":1026,"props":4270,"children":4271},{"style":1047},[4272],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4274,"children":4275},{"style":1053},[4276],{"type":998,"value":1428},{"type":993,"tag":1026,"props":4278,"children":4279},{"style":1032},[4280],{"type":998,"value":4281},"       # Boolean\n",{"type":993,"tag":1026,"props":4283,"children":4284},{"class":1028,"line":81},[4285],{"type":993,"tag":1026,"props":4286,"children":4287},{"emptyLinePlaceholder":13},[4288],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4290,"children":4291},{"class":1028,"line":91},[4292],{"type":993,"tag":1026,"props":4293,"children":4294},{"style":1032},[4295],{"type":998,"value":3828},{"type":993,"tag":1026,"props":4297,"children":4298},{"class":1028,"line":100},[4299,4303,4307,4311,4315,4319,4323,4327,4331,4335,4339,4343,4347],{"type":993,"tag":1026,"props":4300,"children":4301},{"style":1053},[4302],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4304,"children":4305},{"style":1041},[4306],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4308,"children":4309},{"style":1047},[4310],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4312,"children":4313},{"style":1071},[4314],{"type":998,"value":3848},{"type":993,"tag":1026,"props":4316,"children":4317},{"style":1053},[4318],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4320,"children":4321},{"style":1041},[4322],{"type":998,"value":3857},{"type":993,"tag":1026,"props":4324,"children":4325},{"style":1053},[4326],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4328,"children":4329},{"style":1071},[4330],{"type":998,"value":1853},{"type":993,"tag":1026,"props":4332,"children":4333},{"style":1053},[4334],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4336,"children":4337},{"style":1041},[4338],{"type":998,"value":3874},{"type":993,"tag":1026,"props":4340,"children":4341},{"style":1053},[4342],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4344,"children":4345},{"style":1071},[4346],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4348,"children":4349},{"style":1041},[4350],{"type":998,"value":1166},{"type":993,"tag":1026,"props":4352,"children":4353},{"class":1028,"line":109},[4354,4358,4362,4366,4370,4374,4378,4382,4386,4390,4394,4398,4402],{"type":993,"tag":1026,"props":4355,"children":4356},{"style":1053},[4357],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4359,"children":4360},{"style":1041},[4361],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4363,"children":4364},{"style":1047},[4365],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4367,"children":4368},{"style":1071},[4369],{"type":998,"value":2863},{"type":993,"tag":1026,"props":4371,"children":4372},{"style":1053},[4373],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4375,"children":4376},{"style":1041},[4377],{"type":998,"value":3914},{"type":993,"tag":1026,"props":4379,"children":4380},{"style":1053},[4381],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4383,"children":4384},{"style":1071},[4385],{"type":998,"value":1853},{"type":993,"tag":1026,"props":4387,"children":4388},{"style":1053},[4389],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4391,"children":4392},{"style":1041},[4393],{"type":998,"value":3931},{"type":993,"tag":1026,"props":4395,"children":4396},{"style":1053},[4397],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4399,"children":4400},{"style":1071},[4401],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4403,"children":4404},{"style":1041},[4405],{"type":998,"value":1166},{"type":993,"tag":1026,"props":4407,"children":4408},{"class":1028,"line":118},[4409,4413,4417,4421,4425,4429,4433,4437,4441,4445,4449,4453,4457],{"type":993,"tag":1026,"props":4410,"children":4411},{"style":1053},[4412],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4414,"children":4415},{"style":1041},[4416],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4418,"children":4419},{"style":1047},[4420],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4422,"children":4423},{"style":1071},[4424],{"type":998,"value":3963},{"type":993,"tag":1026,"props":4426,"children":4427},{"style":1053},[4428],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4430,"children":4431},{"style":1041},[4432],{"type":998,"value":3972},{"type":993,"tag":1026,"props":4434,"children":4435},{"style":1053},[4436],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4438,"children":4439},{"style":1071},[4440],{"type":998,"value":1853},{"type":993,"tag":1026,"props":4442,"children":4443},{"style":1053},[4444],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4446,"children":4447},{"style":1041},[4448],{"type":998,"value":3989},{"type":993,"tag":1026,"props":4450,"children":4451},{"style":1053},[4452],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4454,"children":4455},{"style":1071},[4456],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4458,"children":4459},{"style":1041},[4460],{"type":998,"value":1166},{"type":993,"tag":1026,"props":4462,"children":4463},{"class":1028,"line":127},[4464,4468,4472,4476,4480,4484,4488,4492,4496,4500,4504,4508,4512],{"type":993,"tag":1026,"props":4465,"children":4466},{"style":1053},[4467],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4469,"children":4470},{"style":1041},[4471],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4473,"children":4474},{"style":1047},[4475],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4477,"children":4478},{"style":1071},[4479],{"type":998,"value":4021},{"type":993,"tag":1026,"props":4481,"children":4482},{"style":1053},[4483],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4485,"children":4486},{"style":1041},[4487],{"type":998,"value":4030},{"type":993,"tag":1026,"props":4489,"children":4490},{"style":1053},[4491],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4493,"children":4494},{"style":1071},[4495],{"type":998,"value":1853},{"type":993,"tag":1026,"props":4497,"children":4498},{"style":1053},[4499],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4501,"children":4502},{"style":1041},[4503],{"type":998,"value":4047},{"type":993,"tag":1026,"props":4505,"children":4506},{"style":1053},[4507],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4509,"children":4510},{"style":1071},[4511],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4513,"children":4514},{"style":1041},[4515],{"type":998,"value":1166},{"type":993,"tag":1026,"props":4517,"children":4518},{"class":1028,"line":136},[4519],{"type":993,"tag":1026,"props":4520,"children":4521},{"emptyLinePlaceholder":13},[4522],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4524,"children":4525},{"class":1028,"line":146},[4526],{"type":993,"tag":1026,"props":4527,"children":4528},{"style":1032},[4529],{"type":998,"value":4074},{"type":993,"tag":1026,"props":4531,"children":4532},{"class":1028,"line":155},[4533,4537,4541,4545],{"type":993,"tag":1026,"props":4534,"children":4535},{"style":1041},[4536],{"type":998,"value":4082},{"type":993,"tag":1026,"props":4538,"children":4539},{"style":1047},[4540],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4542,"children":4543},{"style":1071},[4544],{"type":998,"value":3111},{"type":993,"tag":1026,"props":4546,"children":4547},{"style":1032},[4548],{"type":998,"value":4549},"         # String (quotes make it text!)\n",{"type":993,"tag":1026,"props":4551,"children":4552},{"class":1028,"line":164},[4553,4557,4561,4565,4569,4573,4577,4581,4585,4589,4593,4597,4601],{"type":993,"tag":1026,"props":4554,"children":4555},{"style":1053},[4556],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4558,"children":4559},{"style":1041},[4560],{"type":998,"value":1112},{"type":993,"tag":1026,"props":4562,"children":4563},{"style":1047},[4564],{"type":998,"value":1117},{"type":993,"tag":1026,"props":4566,"children":4567},{"style":1071},[4568],{"type":998,"value":4111},{"type":993,"tag":1026,"props":4570,"children":4571},{"style":1053},[4572],{"type":998,"value":1127},{"type":993,"tag":1026,"props":4574,"children":4575},{"style":1041},[4576],{"type":998,"value":4120},{"type":993,"tag":1026,"props":4578,"children":4579},{"style":1053},[4580],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4582,"children":4583},{"style":1071},[4584],{"type":998,"value":4129},{"type":993,"tag":1026,"props":4586,"children":4587},{"style":1053},[4588],{"type":998,"value":1147},{"type":993,"tag":1026,"props":4590,"children":4591},{"style":1041},[4592],{"type":998,"value":4138},{"type":993,"tag":1026,"props":4594,"children":4595},{"style":1053},[4596],{"type":998,"value":1137},{"type":993,"tag":1026,"props":4598,"children":4599},{"style":1071},[4600],{"type":998,"value":1161},{"type":993,"tag":1026,"props":4602,"children":4603},{"style":1041},[4604],{"type":998,"value":1166},{"type":993,"tag":1001,"props":4606,"children":4607},{},[4608],{"type":993,"tag":1295,"props":4609,"children":4610},{},[4611],{"type":998,"value":4612},"Key Learning Points:",{"type":993,"tag":1621,"props":4614,"children":4615},{},[4616,4628,4639],{"type":993,"tag":1625,"props":4617,"children":4618},{},[4619,4621,4626],{"type":998,"value":4620},"📌 ",{"type":993,"tag":1295,"props":4622,"children":4623},{},[4624],{"type":998,"value":4625},"type() Function",{"type":998,"value":4627},": Shows what type Python assigned",{"type":993,"tag":1625,"props":4629,"children":4630},{},[4631,4632,4637],{"type":998,"value":4620},{"type":993,"tag":1295,"props":4633,"children":4634},{},[4635],{"type":998,"value":4636},"Automatic Detection",{"type":998,"value":4638},": Python figures out types for you",{"type":993,"tag":1625,"props":4640,"children":4641},{},[4642,4643,4648],{"type":998,"value":4620},{"type":993,"tag":1295,"props":4644,"children":4645},{},[4646],{"type":998,"value":4647},"Quotes Matter",{"type":998,"value":4649},": Numbers in quotes become strings",{"type":993,"tag":4651,"props":4652,"children":4654},"content-exercise",{":widget-view":4653,"category":6,"id":90},"true",[],{"type":993,"tag":1283,"props":4656,"children":4658},{"id":4657},"why-data-types-matter",[4659],{"type":998,"value":4660},"🧠 Why Data Types Matter",{"type":993,"tag":1001,"props":4662,"children":4663},{},[4664],{"type":998,"value":4665},"Understanding data types helps you in several important ways:",{"type":993,"tag":1317,"props":4667,"children":4669},{"id":4668},"_1️⃣-prevents-errors",[4670],{"type":998,"value":4671},"1️⃣ Prevents Errors",{"type":993,"tag":1001,"props":4673,"children":4674},{},[4675],{"type":998,"value":4676},"Different types support different operations:",{"type":993,"tag":1012,"props":4678,"children":4679},{},[4680],{"type":993,"tag":1016,"props":4681,"children":4683},{"className":1018,"code":4682,"language":6,"meta":8,"style":8},"# Type-appropriate operations\nnumber = 10\ntext = \"Hello\"\n\n# These work:\nprint(number + 5)        # Math with numbers\nprint(text + \" World\")   # Combining text\n\n# This would cause an error:\n# print(number + text)   # Can't add number and text!\n",[4684],{"type":993,"tag":1022,"props":4685,"children":4686},{"__ignoreMap":8},[4687,4695,4711,4726,4733,4741,4773,4804,4811,4819],{"type":993,"tag":1026,"props":4688,"children":4689},{"class":1028,"line":12},[4690],{"type":993,"tag":1026,"props":4691,"children":4692},{"style":1032},[4693],{"type":998,"value":4694},"# Type-appropriate operations\n",{"type":993,"tag":1026,"props":4696,"children":4697},{"class":1028,"line":27},[4698,4702,4706],{"type":993,"tag":1026,"props":4699,"children":4700},{"style":1041},[4701],{"type":998,"value":1044},{"type":993,"tag":1026,"props":4703,"children":4704},{"style":1047},[4705],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4707,"children":4708},{"style":1053},[4709],{"type":998,"value":4710}," 10\n",{"type":993,"tag":1026,"props":4712,"children":4713},{"class":1028,"line":36},[4714,4718,4722],{"type":993,"tag":1026,"props":4715,"children":4716},{"style":1041},[4717],{"type":998,"value":1064},{"type":993,"tag":1026,"props":4719,"children":4720},{"style":1047},[4721],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4723,"children":4724},{"style":1071},[4725],{"type":998,"value":1074},{"type":993,"tag":1026,"props":4727,"children":4728},{"class":1028,"line":45},[4729],{"type":993,"tag":1026,"props":4730,"children":4731},{"emptyLinePlaceholder":13},[4732],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4734,"children":4735},{"class":1028,"line":54},[4736],{"type":993,"tag":1026,"props":4737,"children":4738},{"style":1032},[4739],{"type":998,"value":4740},"# These work:\n",{"type":993,"tag":1026,"props":4742,"children":4743},{"class":1028,"line":63},[4744,4748,4753,4758,4763,4768],{"type":993,"tag":1026,"props":4745,"children":4746},{"style":1053},[4747],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4749,"children":4750},{"style":1041},[4751],{"type":998,"value":4752},"(number ",{"type":993,"tag":1026,"props":4754,"children":4755},{"style":1047},[4756],{"type":998,"value":4757},"+",{"type":993,"tag":1026,"props":4759,"children":4760},{"style":1053},[4761],{"type":998,"value":4762}," 5",{"type":993,"tag":1026,"props":4764,"children":4765},{"style":1041},[4766],{"type":998,"value":4767},")        ",{"type":993,"tag":1026,"props":4769,"children":4770},{"style":1032},[4771],{"type":998,"value":4772},"# Math with numbers\n",{"type":993,"tag":1026,"props":4774,"children":4775},{"class":1028,"line":72},[4776,4780,4785,4789,4794,4799],{"type":993,"tag":1026,"props":4777,"children":4778},{"style":1053},[4779],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4781,"children":4782},{"style":1041},[4783],{"type":998,"value":4784},"(text ",{"type":993,"tag":1026,"props":4786,"children":4787},{"style":1047},[4788],{"type":998,"value":4757},{"type":993,"tag":1026,"props":4790,"children":4791},{"style":1071},[4792],{"type":998,"value":4793}," \" World\"",{"type":993,"tag":1026,"props":4795,"children":4796},{"style":1041},[4797],{"type":998,"value":4798},")   ",{"type":993,"tag":1026,"props":4800,"children":4801},{"style":1032},[4802],{"type":998,"value":4803},"# Combining text\n",{"type":993,"tag":1026,"props":4805,"children":4806},{"class":1028,"line":81},[4807],{"type":993,"tag":1026,"props":4808,"children":4809},{"emptyLinePlaceholder":13},[4810],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4812,"children":4813},{"class":1028,"line":91},[4814],{"type":993,"tag":1026,"props":4815,"children":4816},{"style":1032},[4817],{"type":998,"value":4818},"# This would cause an error:\n",{"type":993,"tag":1026,"props":4820,"children":4821},{"class":1028,"line":100},[4822],{"type":993,"tag":1026,"props":4823,"children":4824},{"style":1032},[4825],{"type":998,"value":4826},"# print(number + text)   # Can't add number and text!\n",{"type":993,"tag":1317,"props":4828,"children":4830},{"id":4829},"_2️⃣-enables-correct-operations",[4831],{"type":998,"value":4832},"2️⃣ Enables Correct Operations",{"type":993,"tag":1001,"props":4834,"children":4835},{},[4836],{"type":998,"value":4837},"Each type has specific capabilities:",{"type":993,"tag":1012,"props":4839,"children":4840},{},[4841],{"type":993,"tag":1016,"props":4842,"children":4844},{"className":1018,"code":4843,"language":6,"meta":8,"style":8},"# Type-specific operations\nname = \"python\"\nage = 25\n\n# String operations\nprint(name.upper())      # Make text uppercase\nprint(name.capitalize()) # Capitalize first letter\n\n# Numeric operations\nprint(age * 2)          # Double the number\nprint(age + 10)         # Add to the number\n\n# Boolean operations\nis_adult = age >= 18\nprint(f\"Is adult? {is_adult}\")\n",[4845],{"type":993,"tag":1022,"props":4846,"children":4847},{"__ignoreMap":8},[4848,4856,4872,4887,4894,4902,4919,4936,4943,4951,4983,5013,5020,5028,5055],{"type":993,"tag":1026,"props":4849,"children":4850},{"class":1028,"line":12},[4851],{"type":993,"tag":1026,"props":4852,"children":4853},{"style":1032},[4854],{"type":998,"value":4855},"# Type-specific operations\n",{"type":993,"tag":1026,"props":4857,"children":4858},{"class":1028,"line":27},[4859,4863,4867],{"type":993,"tag":1026,"props":4860,"children":4861},{"style":1041},[4862],{"type":998,"value":2103},{"type":993,"tag":1026,"props":4864,"children":4865},{"style":1047},[4866],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4868,"children":4869},{"style":1071},[4870],{"type":998,"value":4871}," \"python\"\n",{"type":993,"tag":1026,"props":4873,"children":4874},{"class":1028,"line":36},[4875,4879,4883],{"type":993,"tag":1026,"props":4876,"children":4877},{"style":1041},[4878],{"type":998,"value":2086},{"type":993,"tag":1026,"props":4880,"children":4881},{"style":1047},[4882],{"type":998,"value":1050},{"type":993,"tag":1026,"props":4884,"children":4885},{"style":1053},[4886],{"type":998,"value":2095},{"type":993,"tag":1026,"props":4888,"children":4889},{"class":1028,"line":45},[4890],{"type":993,"tag":1026,"props":4891,"children":4892},{"emptyLinePlaceholder":13},[4893],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4895,"children":4896},{"class":1028,"line":54},[4897],{"type":993,"tag":1026,"props":4898,"children":4899},{"style":1032},[4900],{"type":998,"value":4901},"# String operations\n",{"type":993,"tag":1026,"props":4903,"children":4904},{"class":1028,"line":63},[4905,4909,4914],{"type":993,"tag":1026,"props":4906,"children":4907},{"style":1053},[4908],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4910,"children":4911},{"style":1041},[4912],{"type":998,"value":4913},"(name.upper())      ",{"type":993,"tag":1026,"props":4915,"children":4916},{"style":1032},[4917],{"type":998,"value":4918},"# Make text uppercase\n",{"type":993,"tag":1026,"props":4920,"children":4921},{"class":1028,"line":72},[4922,4926,4931],{"type":993,"tag":1026,"props":4923,"children":4924},{"style":1053},[4925],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4927,"children":4928},{"style":1041},[4929],{"type":998,"value":4930},"(name.capitalize()) ",{"type":993,"tag":1026,"props":4932,"children":4933},{"style":1032},[4934],{"type":998,"value":4935},"# Capitalize first letter\n",{"type":993,"tag":1026,"props":4937,"children":4938},{"class":1028,"line":81},[4939],{"type":993,"tag":1026,"props":4940,"children":4941},{"emptyLinePlaceholder":13},[4942],{"type":998,"value":1099},{"type":993,"tag":1026,"props":4944,"children":4945},{"class":1028,"line":91},[4946],{"type":993,"tag":1026,"props":4947,"children":4948},{"style":1032},[4949],{"type":998,"value":4950},"# Numeric operations\n",{"type":993,"tag":1026,"props":4952,"children":4953},{"class":1028,"line":100},[4954,4958,4963,4968,4973,4978],{"type":993,"tag":1026,"props":4955,"children":4956},{"style":1053},[4957],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4959,"children":4960},{"style":1041},[4961],{"type":998,"value":4962},"(age ",{"type":993,"tag":1026,"props":4964,"children":4965},{"style":1047},[4966],{"type":998,"value":4967},"*",{"type":993,"tag":1026,"props":4969,"children":4970},{"style":1053},[4971],{"type":998,"value":4972}," 2",{"type":993,"tag":1026,"props":4974,"children":4975},{"style":1041},[4976],{"type":998,"value":4977},")          ",{"type":993,"tag":1026,"props":4979,"children":4980},{"style":1032},[4981],{"type":998,"value":4982},"# Double the number\n",{"type":993,"tag":1026,"props":4984,"children":4985},{"class":1028,"line":109},[4986,4990,4994,4998,5003,5008],{"type":993,"tag":1026,"props":4987,"children":4988},{"style":1053},[4989],{"type":998,"value":1107},{"type":993,"tag":1026,"props":4991,"children":4992},{"style":1041},[4993],{"type":998,"value":4962},{"type":993,"tag":1026,"props":4995,"children":4996},{"style":1047},[4997],{"type":998,"value":4757},{"type":993,"tag":1026,"props":4999,"children":5000},{"style":1053},[5001],{"type":998,"value":5002}," 10",{"type":993,"tag":1026,"props":5004,"children":5005},{"style":1041},[5006],{"type":998,"value":5007},")         ",{"type":993,"tag":1026,"props":5009,"children":5010},{"style":1032},[5011],{"type":998,"value":5012},"# Add to the number\n",{"type":993,"tag":1026,"props":5014,"children":5015},{"class":1028,"line":118},[5016],{"type":993,"tag":1026,"props":5017,"children":5018},{"emptyLinePlaceholder":13},[5019],{"type":998,"value":1099},{"type":993,"tag":1026,"props":5021,"children":5022},{"class":1028,"line":127},[5023],{"type":993,"tag":1026,"props":5024,"children":5025},{"style":1032},[5026],{"type":998,"value":5027},"# Boolean operations\n",{"type":993,"tag":1026,"props":5029,"children":5030},{"class":1028,"line":136},[5031,5036,5040,5045,5050],{"type":993,"tag":1026,"props":5032,"children":5033},{"style":1041},[5034],{"type":998,"value":5035},"is_adult ",{"type":993,"tag":1026,"props":5037,"children":5038},{"style":1047},[5039],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5041,"children":5042},{"style":1041},[5043],{"type":998,"value":5044}," age ",{"type":993,"tag":1026,"props":5046,"children":5047},{"style":1047},[5048],{"type":998,"value":5049},">=",{"type":993,"tag":1026,"props":5051,"children":5052},{"style":1053},[5053],{"type":998,"value":5054}," 18\n",{"type":993,"tag":1026,"props":5056,"children":5057},{"class":1028,"line":146},[5058,5062,5066,5070,5075,5079,5084,5088,5092],{"type":993,"tag":1026,"props":5059,"children":5060},{"style":1053},[5061],{"type":998,"value":1107},{"type":993,"tag":1026,"props":5063,"children":5064},{"style":1041},[5065],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5067,"children":5068},{"style":1047},[5069],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5071,"children":5072},{"style":1071},[5073],{"type":998,"value":5074},"\"Is adult? ",{"type":993,"tag":1026,"props":5076,"children":5077},{"style":1053},[5078],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5080,"children":5081},{"style":1041},[5082],{"type":998,"value":5083},"is_adult",{"type":993,"tag":1026,"props":5085,"children":5086},{"style":1053},[5087],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5089,"children":5090},{"style":1071},[5091],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5093,"children":5094},{"style":1041},[5095],{"type":998,"value":1166},{"type":993,"tag":1317,"props":5097,"children":5099},{"id":5098},"_3️⃣-makes-code-predictable",[5100],{"type":998,"value":5101},"3️⃣ Makes Code Predictable",{"type":993,"tag":1001,"props":5103,"children":5104},{},[5105],{"type":998,"value":5106},"Knowing types helps you understand what your code will do:",{"type":993,"tag":1012,"props":5108,"children":5109},{},[5110],{"type":993,"tag":1016,"props":5111,"children":5113},{"className":1018,"code":5112,"language":6,"meta":8,"style":8},"# Predictable behavior based on types\nvalue1 = \"5\"\nvalue2 = \"3\"\nvalue3 = 5\nvalue4 = 3\n\nprint(f\"String addition: {value1 + value2}\")    # \"53\" (concatenation)\nprint(f\"Number addition: {value3 + value4}\")    # 8 (math)\n",[5114],{"type":993,"tag":1022,"props":5115,"children":5116},{"__ignoreMap":8},[5117,5125,5142,5159,5176,5193,5200,5255],{"type":993,"tag":1026,"props":5118,"children":5119},{"class":1028,"line":12},[5120],{"type":993,"tag":1026,"props":5121,"children":5122},{"style":1032},[5123],{"type":998,"value":5124},"# Predictable behavior based on types\n",{"type":993,"tag":1026,"props":5126,"children":5127},{"class":1028,"line":27},[5128,5133,5137],{"type":993,"tag":1026,"props":5129,"children":5130},{"style":1041},[5131],{"type":998,"value":5132},"value1 ",{"type":993,"tag":1026,"props":5134,"children":5135},{"style":1047},[5136],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5138,"children":5139},{"style":1071},[5140],{"type":998,"value":5141}," \"5\"\n",{"type":993,"tag":1026,"props":5143,"children":5144},{"class":1028,"line":36},[5145,5150,5154],{"type":993,"tag":1026,"props":5146,"children":5147},{"style":1041},[5148],{"type":998,"value":5149},"value2 ",{"type":993,"tag":1026,"props":5151,"children":5152},{"style":1047},[5153],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5155,"children":5156},{"style":1071},[5157],{"type":998,"value":5158}," \"3\"\n",{"type":993,"tag":1026,"props":5160,"children":5161},{"class":1028,"line":45},[5162,5167,5171],{"type":993,"tag":1026,"props":5163,"children":5164},{"style":1041},[5165],{"type":998,"value":5166},"value3 ",{"type":993,"tag":1026,"props":5168,"children":5169},{"style":1047},[5170],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5172,"children":5173},{"style":1053},[5174],{"type":998,"value":5175}," 5\n",{"type":993,"tag":1026,"props":5177,"children":5178},{"class":1028,"line":54},[5179,5184,5188],{"type":993,"tag":1026,"props":5180,"children":5181},{"style":1041},[5182],{"type":998,"value":5183},"value4 ",{"type":993,"tag":1026,"props":5185,"children":5186},{"style":1047},[5187],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5189,"children":5190},{"style":1053},[5191],{"type":998,"value":5192}," 3\n",{"type":993,"tag":1026,"props":5194,"children":5195},{"class":1028,"line":63},[5196],{"type":993,"tag":1026,"props":5197,"children":5198},{"emptyLinePlaceholder":13},[5199],{"type":998,"value":1099},{"type":993,"tag":1026,"props":5201,"children":5202},{"class":1028,"line":72},[5203,5207,5211,5215,5220,5224,5228,5232,5237,5241,5245,5250],{"type":993,"tag":1026,"props":5204,"children":5205},{"style":1053},[5206],{"type":998,"value":1107},{"type":993,"tag":1026,"props":5208,"children":5209},{"style":1041},[5210],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5212,"children":5213},{"style":1047},[5214],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5216,"children":5217},{"style":1071},[5218],{"type":998,"value":5219},"\"String addition: ",{"type":993,"tag":1026,"props":5221,"children":5222},{"style":1053},[5223],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5225,"children":5226},{"style":1041},[5227],{"type":998,"value":5132},{"type":993,"tag":1026,"props":5229,"children":5230},{"style":1047},[5231],{"type":998,"value":4757},{"type":993,"tag":1026,"props":5233,"children":5234},{"style":1041},[5235],{"type":998,"value":5236}," value2",{"type":993,"tag":1026,"props":5238,"children":5239},{"style":1053},[5240],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5242,"children":5243},{"style":1071},[5244],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5246,"children":5247},{"style":1041},[5248],{"type":998,"value":5249},")    ",{"type":993,"tag":1026,"props":5251,"children":5252},{"style":1032},[5253],{"type":998,"value":5254},"# \"53\" (concatenation)\n",{"type":993,"tag":1026,"props":5256,"children":5257},{"class":1028,"line":81},[5258,5262,5266,5270,5275,5279,5283,5287,5292,5296,5300,5304],{"type":993,"tag":1026,"props":5259,"children":5260},{"style":1053},[5261],{"type":998,"value":1107},{"type":993,"tag":1026,"props":5263,"children":5264},{"style":1041},[5265],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5267,"children":5268},{"style":1047},[5269],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5271,"children":5272},{"style":1071},[5273],{"type":998,"value":5274},"\"Number addition: ",{"type":993,"tag":1026,"props":5276,"children":5277},{"style":1053},[5278],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5280,"children":5281},{"style":1041},[5282],{"type":998,"value":5166},{"type":993,"tag":1026,"props":5284,"children":5285},{"style":1047},[5286],{"type":998,"value":4757},{"type":993,"tag":1026,"props":5288,"children":5289},{"style":1041},[5290],{"type":998,"value":5291}," value4",{"type":993,"tag":1026,"props":5293,"children":5294},{"style":1053},[5295],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5297,"children":5298},{"style":1071},[5299],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5301,"children":5302},{"style":1041},[5303],{"type":998,"value":5249},{"type":993,"tag":1026,"props":5305,"children":5306},{"style":1032},[5307],{"type":998,"value":5308},"# 8 (math)\n",{"type":993,"tag":1283,"props":5310,"children":5312},{"id":5311},"common-type-related-situations",[5313],{"type":998,"value":5314},"🔧 Common Type-Related Situations",{"type":993,"tag":1317,"props":5316,"children":5318},{"id":5317},"checking-multiple-types",[5319],{"type":998,"value":5320},"🔍 Checking Multiple Types",{"type":993,"tag":1001,"props":5322,"children":5323},{},[5324],{"type":998,"value":5325},"Sometimes you need to check if a value is one of several types:",{"type":993,"tag":1012,"props":5327,"children":5328},{},[5329],{"type":993,"tag":1016,"props":5330,"children":5332},{"className":1018,"code":5331,"language":6,"meta":8,"style":8},"# Checking for multiple types\ndef describe_data(value):\n    if type(value) in [int, float]:\n        print(f\"{value} is a number - I can do math!\")\n    elif type(value) == str:\n        print(f\"'{value}' is text - I can display it!\")\n    elif type(value) == bool:\n        print(f\"{value} is True/False - I can make decisions!\")\n    else:\n        print(f\"I'm not sure what {value} is...\")\n\n# Test with different types\ndescribe_data(42)\ndescribe_data(3.14)\ndescribe_data(\"Hello\")\ndescribe_data(True)\n",[5333],{"type":993,"tag":1022,"props":5334,"children":5335},{"__ignoreMap":8},[5336,5344,5363,5409,5451,5479,5519,5547,5587,5599,5640,5647,5655,5671,5686,5701],{"type":993,"tag":1026,"props":5337,"children":5338},{"class":1028,"line":12},[5339],{"type":993,"tag":1026,"props":5340,"children":5341},{"style":1032},[5342],{"type":998,"value":5343},"# Checking for multiple types\n",{"type":993,"tag":1026,"props":5345,"children":5346},{"class":1028,"line":27},[5347,5352,5358],{"type":993,"tag":1026,"props":5348,"children":5349},{"style":1047},[5350],{"type":998,"value":5351},"def",{"type":993,"tag":1026,"props":5353,"children":5355},{"style":5354},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[5356],{"type":998,"value":5357}," describe_data",{"type":993,"tag":1026,"props":5359,"children":5360},{"style":1041},[5361],{"type":998,"value":5362},"(value):\n",{"type":993,"tag":1026,"props":5364,"children":5365},{"class":1028,"line":36},[5366,5371,5375,5380,5385,5390,5395,5399,5404],{"type":993,"tag":1026,"props":5367,"children":5368},{"style":1047},[5369],{"type":998,"value":5370},"    if",{"type":993,"tag":1026,"props":5372,"children":5373},{"style":1053},[5374],{"type":998,"value":2377},{"type":993,"tag":1026,"props":5376,"children":5377},{"style":1041},[5378],{"type":998,"value":5379},"(value) ",{"type":993,"tag":1026,"props":5381,"children":5382},{"style":1047},[5383],{"type":998,"value":5384},"in",{"type":993,"tag":1026,"props":5386,"children":5387},{"style":1041},[5388],{"type":998,"value":5389}," [",{"type":993,"tag":1026,"props":5391,"children":5392},{"style":1053},[5393],{"type":998,"value":5394},"int",{"type":993,"tag":1026,"props":5396,"children":5397},{"style":1041},[5398],{"type":998,"value":1692},{"type":993,"tag":1026,"props":5400,"children":5401},{"style":1053},[5402],{"type":998,"value":5403},"float",{"type":993,"tag":1026,"props":5405,"children":5406},{"style":1041},[5407],{"type":998,"value":5408},"]:\n",{"type":993,"tag":1026,"props":5410,"children":5411},{"class":1028,"line":45},[5412,5417,5421,5425,5429,5433,5438,5442,5447],{"type":993,"tag":1026,"props":5413,"children":5414},{"style":1053},[5415],{"type":998,"value":5416},"        print",{"type":993,"tag":1026,"props":5418,"children":5419},{"style":1041},[5420],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5422,"children":5423},{"style":1047},[5424],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5426,"children":5427},{"style":1071},[5428],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5430,"children":5431},{"style":1053},[5432],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5434,"children":5435},{"style":1041},[5436],{"type":998,"value":5437},"value",{"type":993,"tag":1026,"props":5439,"children":5440},{"style":1053},[5441],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5443,"children":5444},{"style":1071},[5445],{"type":998,"value":5446}," is a number - I can do math!\"",{"type":993,"tag":1026,"props":5448,"children":5449},{"style":1041},[5450],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5452,"children":5453},{"class":1028,"line":54},[5454,5459,5463,5467,5471,5475],{"type":993,"tag":1026,"props":5455,"children":5456},{"style":1047},[5457],{"type":998,"value":5458},"    elif",{"type":993,"tag":1026,"props":5460,"children":5461},{"style":1053},[5462],{"type":998,"value":2377},{"type":993,"tag":1026,"props":5464,"children":5465},{"style":1041},[5466],{"type":998,"value":5379},{"type":993,"tag":1026,"props":5468,"children":5469},{"style":1047},[5470],{"type":998,"value":2387},{"type":993,"tag":1026,"props":5472,"children":5473},{"style":1053},[5474],{"type":998,"value":2484},{"type":993,"tag":1026,"props":5476,"children":5477},{"style":1041},[5478],{"type":998,"value":2397},{"type":993,"tag":1026,"props":5480,"children":5481},{"class":1028,"line":63},[5482,5486,5490,5494,5498,5502,5506,5510,5515],{"type":993,"tag":1026,"props":5483,"children":5484},{"style":1053},[5485],{"type":998,"value":5416},{"type":993,"tag":1026,"props":5487,"children":5488},{"style":1041},[5489],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5491,"children":5492},{"style":1047},[5493],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5495,"children":5496},{"style":1071},[5497],{"type":998,"value":2508},{"type":993,"tag":1026,"props":5499,"children":5500},{"style":1053},[5501],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5503,"children":5504},{"style":1041},[5505],{"type":998,"value":5437},{"type":993,"tag":1026,"props":5507,"children":5508},{"style":1053},[5509],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5511,"children":5512},{"style":1071},[5513],{"type":998,"value":5514},"' is text - I can display it!\"",{"type":993,"tag":1026,"props":5516,"children":5517},{"style":1041},[5518],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5520,"children":5521},{"class":1028,"line":72},[5522,5526,5530,5534,5538,5543],{"type":993,"tag":1026,"props":5523,"children":5524},{"style":1047},[5525],{"type":998,"value":5458},{"type":993,"tag":1026,"props":5527,"children":5528},{"style":1053},[5529],{"type":998,"value":2377},{"type":993,"tag":1026,"props":5531,"children":5532},{"style":1041},[5533],{"type":998,"value":5379},{"type":993,"tag":1026,"props":5535,"children":5536},{"style":1047},[5537],{"type":998,"value":2387},{"type":993,"tag":1026,"props":5539,"children":5540},{"style":1053},[5541],{"type":998,"value":5542}," bool",{"type":993,"tag":1026,"props":5544,"children":5545},{"style":1041},[5546],{"type":998,"value":2397},{"type":993,"tag":1026,"props":5548,"children":5549},{"class":1028,"line":81},[5550,5554,5558,5562,5566,5570,5574,5578,5583],{"type":993,"tag":1026,"props":5551,"children":5552},{"style":1053},[5553],{"type":998,"value":5416},{"type":993,"tag":1026,"props":5555,"children":5556},{"style":1041},[5557],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5559,"children":5560},{"style":1047},[5561],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5563,"children":5564},{"style":1071},[5565],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5567,"children":5568},{"style":1053},[5569],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5571,"children":5572},{"style":1041},[5573],{"type":998,"value":5437},{"type":993,"tag":1026,"props":5575,"children":5576},{"style":1053},[5577],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5579,"children":5580},{"style":1071},[5581],{"type":998,"value":5582}," is True/False - I can make decisions!\"",{"type":993,"tag":1026,"props":5584,"children":5585},{"style":1041},[5586],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5588,"children":5589},{"class":1028,"line":91},[5590,5595],{"type":993,"tag":1026,"props":5591,"children":5592},{"style":1047},[5593],{"type":998,"value":5594},"    else",{"type":993,"tag":1026,"props":5596,"children":5597},{"style":1041},[5598],{"type":998,"value":2397},{"type":993,"tag":1026,"props":5600,"children":5601},{"class":1028,"line":100},[5602,5606,5610,5614,5619,5623,5627,5631,5636],{"type":993,"tag":1026,"props":5603,"children":5604},{"style":1053},[5605],{"type":998,"value":5416},{"type":993,"tag":1026,"props":5607,"children":5608},{"style":1041},[5609],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5611,"children":5612},{"style":1047},[5613],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5615,"children":5616},{"style":1071},[5617],{"type":998,"value":5618},"\"I'm not sure what ",{"type":993,"tag":1026,"props":5620,"children":5621},{"style":1053},[5622],{"type":998,"value":1127},{"type":993,"tag":1026,"props":5624,"children":5625},{"style":1041},[5626],{"type":998,"value":5437},{"type":993,"tag":1026,"props":5628,"children":5629},{"style":1053},[5630],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5632,"children":5633},{"style":1071},[5634],{"type":998,"value":5635}," is...\"",{"type":993,"tag":1026,"props":5637,"children":5638},{"style":1041},[5639],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5641,"children":5642},{"class":1028,"line":109},[5643],{"type":993,"tag":1026,"props":5644,"children":5645},{"emptyLinePlaceholder":13},[5646],{"type":998,"value":1099},{"type":993,"tag":1026,"props":5648,"children":5649},{"class":1028,"line":118},[5650],{"type":993,"tag":1026,"props":5651,"children":5652},{"style":1032},[5653],{"type":998,"value":5654},"# Test with different types\n",{"type":993,"tag":1026,"props":5656,"children":5657},{"class":1028,"line":127},[5658,5663,5667],{"type":993,"tag":1026,"props":5659,"children":5660},{"style":1041},[5661],{"type":998,"value":5662},"describe_data(",{"type":993,"tag":1026,"props":5664,"children":5665},{"style":1053},[5666],{"type":998,"value":1640},{"type":993,"tag":1026,"props":5668,"children":5669},{"style":1041},[5670],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5672,"children":5673},{"class":1028,"line":136},[5674,5678,5682],{"type":993,"tag":1026,"props":5675,"children":5676},{"style":1041},[5677],{"type":998,"value":5662},{"type":993,"tag":1026,"props":5679,"children":5680},{"style":1053},[5681],{"type":998,"value":1648},{"type":993,"tag":1026,"props":5683,"children":5684},{"style":1041},[5685],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5687,"children":5688},{"class":1028,"line":146},[5689,5693,5697],{"type":993,"tag":1026,"props":5690,"children":5691},{"style":1041},[5692],{"type":998,"value":5662},{"type":993,"tag":1026,"props":5694,"children":5695},{"style":1071},[5696],{"type":998,"value":1665},{"type":993,"tag":1026,"props":5698,"children":5699},{"style":1041},[5700],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5702,"children":5703},{"class":1028,"line":155},[5704,5708,5712],{"type":993,"tag":1026,"props":5705,"children":5706},{"style":1041},[5707],{"type":998,"value":5662},{"type":993,"tag":1026,"props":5709,"children":5710},{"style":1053},[5711],{"type":998,"value":1690},{"type":993,"tag":1026,"props":5713,"children":5714},{"style":1041},[5715],{"type":998,"value":1166},{"type":993,"tag":1317,"props":5717,"children":5719},{"id":5718},"the-isinstance-alternative",[5720],{"type":998,"value":5721},"🎯 The isinstance() Alternative",{"type":993,"tag":1001,"props":5723,"children":5724},{},[5725],{"type":998,"value":5726},"There's another way to check types that's often preferred:",{"type":993,"tag":1012,"props":5728,"children":5729},{},[5730],{"type":993,"tag":1016,"props":5731,"children":5733},{"className":1018,"code":5732,"language":6,"meta":8,"style":8},"# Using isinstance() - more flexible\nage = 25\nname = \"Alice\"\n\nprint(f\"Is age a number? {isinstance(age, int)}\")\nprint(f\"Is name text? {isinstance(name, str)}\")\n\n# isinstance() can check multiple types at once\nvalue = 3.14\nprint(f\"Is value a number? {isinstance(value, (int, float))}\")\n",[5734],{"type":993,"tag":1022,"props":5735,"children":5736},{"__ignoreMap":8},[5737,5745,5760,5776,5783,5834,5884,5891,5899,5916],{"type":993,"tag":1026,"props":5738,"children":5739},{"class":1028,"line":12},[5740],{"type":993,"tag":1026,"props":5741,"children":5742},{"style":1032},[5743],{"type":998,"value":5744},"# Using isinstance() - more flexible\n",{"type":993,"tag":1026,"props":5746,"children":5747},{"class":1028,"line":27},[5748,5752,5756],{"type":993,"tag":1026,"props":5749,"children":5750},{"style":1041},[5751],{"type":998,"value":2086},{"type":993,"tag":1026,"props":5753,"children":5754},{"style":1047},[5755],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5757,"children":5758},{"style":1053},[5759],{"type":998,"value":2095},{"type":993,"tag":1026,"props":5761,"children":5762},{"class":1028,"line":36},[5763,5767,5771],{"type":993,"tag":1026,"props":5764,"children":5765},{"style":1041},[5766],{"type":998,"value":2103},{"type":993,"tag":1026,"props":5768,"children":5769},{"style":1047},[5770],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5772,"children":5773},{"style":1071},[5774],{"type":998,"value":5775}," \"Alice\"\n",{"type":993,"tag":1026,"props":5777,"children":5778},{"class":1028,"line":45},[5779],{"type":993,"tag":1026,"props":5780,"children":5781},{"emptyLinePlaceholder":13},[5782],{"type":998,"value":1099},{"type":993,"tag":1026,"props":5784,"children":5785},{"class":1028,"line":54},[5786,5790,5794,5798,5803,5808,5813,5817,5822,5826,5830],{"type":993,"tag":1026,"props":5787,"children":5788},{"style":1053},[5789],{"type":998,"value":1107},{"type":993,"tag":1026,"props":5791,"children":5792},{"style":1041},[5793],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5795,"children":5796},{"style":1047},[5797],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5799,"children":5800},{"style":1071},[5801],{"type":998,"value":5802},"\"Is age a number? ",{"type":993,"tag":1026,"props":5804,"children":5805},{"style":1053},[5806],{"type":998,"value":5807},"{isinstance",{"type":993,"tag":1026,"props":5809,"children":5810},{"style":1041},[5811],{"type":998,"value":5812},"(age, ",{"type":993,"tag":1026,"props":5814,"children":5815},{"style":1053},[5816],{"type":998,"value":5394},{"type":993,"tag":1026,"props":5818,"children":5819},{"style":1041},[5820],{"type":998,"value":5821},")",{"type":993,"tag":1026,"props":5823,"children":5824},{"style":1053},[5825],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5827,"children":5828},{"style":1071},[5829],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5831,"children":5832},{"style":1041},[5833],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5835,"children":5836},{"class":1028,"line":63},[5837,5841,5845,5849,5854,5858,5863,5868,5872,5876,5880],{"type":993,"tag":1026,"props":5838,"children":5839},{"style":1053},[5840],{"type":998,"value":1107},{"type":993,"tag":1026,"props":5842,"children":5843},{"style":1041},[5844],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5846,"children":5847},{"style":1047},[5848],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5850,"children":5851},{"style":1071},[5852],{"type":998,"value":5853},"\"Is name text? ",{"type":993,"tag":1026,"props":5855,"children":5856},{"style":1053},[5857],{"type":998,"value":5807},{"type":993,"tag":1026,"props":5859,"children":5860},{"style":1041},[5861],{"type":998,"value":5862},"(name, ",{"type":993,"tag":1026,"props":5864,"children":5865},{"style":1053},[5866],{"type":998,"value":5867},"str",{"type":993,"tag":1026,"props":5869,"children":5870},{"style":1041},[5871],{"type":998,"value":5821},{"type":993,"tag":1026,"props":5873,"children":5874},{"style":1053},[5875],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5877,"children":5878},{"style":1071},[5879],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5881,"children":5882},{"style":1041},[5883],{"type":998,"value":1166},{"type":993,"tag":1026,"props":5885,"children":5886},{"class":1028,"line":72},[5887],{"type":993,"tag":1026,"props":5888,"children":5889},{"emptyLinePlaceholder":13},[5890],{"type":998,"value":1099},{"type":993,"tag":1026,"props":5892,"children":5893},{"class":1028,"line":81},[5894],{"type":993,"tag":1026,"props":5895,"children":5896},{"style":1032},[5897],{"type":998,"value":5898},"# isinstance() can check multiple types at once\n",{"type":993,"tag":1026,"props":5900,"children":5901},{"class":1028,"line":91},[5902,5907,5911],{"type":993,"tag":1026,"props":5903,"children":5904},{"style":1041},[5905],{"type":998,"value":5906},"value ",{"type":993,"tag":1026,"props":5908,"children":5909},{"style":1047},[5910],{"type":998,"value":1050},{"type":993,"tag":1026,"props":5912,"children":5913},{"style":1053},[5914],{"type":998,"value":5915}," 3.14\n",{"type":993,"tag":1026,"props":5917,"children":5918},{"class":1028,"line":100},[5919,5923,5927,5931,5936,5940,5945,5949,5953,5957,5962,5966,5970],{"type":993,"tag":1026,"props":5920,"children":5921},{"style":1053},[5922],{"type":998,"value":1107},{"type":993,"tag":1026,"props":5924,"children":5925},{"style":1041},[5926],{"type":998,"value":1112},{"type":993,"tag":1026,"props":5928,"children":5929},{"style":1047},[5930],{"type":998,"value":1117},{"type":993,"tag":1026,"props":5932,"children":5933},{"style":1071},[5934],{"type":998,"value":5935},"\"Is value a number? ",{"type":993,"tag":1026,"props":5937,"children":5938},{"style":1053},[5939],{"type":998,"value":5807},{"type":993,"tag":1026,"props":5941,"children":5942},{"style":1041},[5943],{"type":998,"value":5944},"(value, (",{"type":993,"tag":1026,"props":5946,"children":5947},{"style":1053},[5948],{"type":998,"value":5394},{"type":993,"tag":1026,"props":5950,"children":5951},{"style":1041},[5952],{"type":998,"value":1692},{"type":993,"tag":1026,"props":5954,"children":5955},{"style":1053},[5956],{"type":998,"value":5403},{"type":993,"tag":1026,"props":5958,"children":5959},{"style":1041},[5960],{"type":998,"value":5961},"))",{"type":993,"tag":1026,"props":5963,"children":5964},{"style":1053},[5965],{"type":998,"value":1137},{"type":993,"tag":1026,"props":5967,"children":5968},{"style":1071},[5969],{"type":998,"value":1161},{"type":993,"tag":1026,"props":5971,"children":5972},{"style":1041},[5973],{"type":998,"value":1166},{"type":993,"tag":1283,"props":5975,"children":5977},{"id":5976},"type-summary-table",[5978],{"type":998,"value":5979},"📊 Type Summary Table",{"type":993,"tag":5981,"props":5982,"children":5983},"table",{},[5984,6013],{"type":993,"tag":5985,"props":5986,"children":5987},"thead",{},[5988],{"type":993,"tag":5989,"props":5990,"children":5991},"tr",{},[5992,5998,6003,6008],{"type":993,"tag":5993,"props":5994,"children":5995},"th",{},[5996],{"type":998,"value":5997},"Type",{"type":993,"tag":5993,"props":5999,"children":6000},{},[6001],{"type":998,"value":6002},"Python Name",{"type":993,"tag":5993,"props":6004,"children":6005},{},[6006],{"type":998,"value":6007},"Examples",{"type":993,"tag":5993,"props":6009,"children":6010},{},[6011],{"type":998,"value":6012},"Used For",{"type":993,"tag":6014,"props":6015,"children":6016},"tbody",{},[6017,6064,6110,6149,6188],{"type":993,"tag":5989,"props":6018,"children":6019},{},[6020,6029,6037,6059],{"type":993,"tag":6021,"props":6022,"children":6023},"td",{},[6024],{"type":993,"tag":1295,"props":6025,"children":6026},{},[6027],{"type":998,"value":6028},"Integer",{"type":993,"tag":6021,"props":6030,"children":6031},{},[6032],{"type":993,"tag":1022,"props":6033,"children":6035},{"className":6034},[],[6036],{"type":998,"value":5394},{"type":993,"tag":6021,"props":6038,"children":6039},{},[6040,6045,6046,6052,6053],{"type":993,"tag":1022,"props":6041,"children":6043},{"className":6042},[],[6044],{"type":998,"value":1640},{"type":998,"value":1692},{"type":993,"tag":1022,"props":6047,"children":6049},{"className":6048},[],[6050],{"type":998,"value":6051},"-17",{"type":998,"value":1692},{"type":993,"tag":1022,"props":6054,"children":6056},{"className":6055},[],[6057],{"type":998,"value":6058},"0",{"type":993,"tag":6021,"props":6060,"children":6061},{},[6062],{"type":998,"value":6063},"Whole numbers, counting",{"type":993,"tag":5989,"props":6065,"children":6066},{},[6067,6075,6083,6105],{"type":993,"tag":6021,"props":6068,"children":6069},{},[6070],{"type":993,"tag":1295,"props":6071,"children":6072},{},[6073],{"type":998,"value":6074},"Float",{"type":993,"tag":6021,"props":6076,"children":6077},{},[6078],{"type":993,"tag":1022,"props":6079,"children":6081},{"className":6080},[],[6082],{"type":998,"value":5403},{"type":993,"tag":6021,"props":6084,"children":6085},{},[6086,6091,6092,6098,6099],{"type":993,"tag":1022,"props":6087,"children":6089},{"className":6088},[],[6090],{"type":998,"value":1648},{"type":998,"value":1692},{"type":993,"tag":1022,"props":6093,"children":6095},{"className":6094},[],[6096],{"type":998,"value":6097},"19.99",{"type":998,"value":1692},{"type":993,"tag":1022,"props":6100,"children":6102},{"className":6101},[],[6103],{"type":998,"value":6104},"-2.5",{"type":993,"tag":6021,"props":6106,"children":6107},{},[6108],{"type":998,"value":6109},"Decimal numbers, measurements",{"type":993,"tag":5989,"props":6111,"children":6112},{},[6113,6121,6129,6144],{"type":993,"tag":6021,"props":6114,"children":6115},{},[6116],{"type":993,"tag":1295,"props":6117,"children":6118},{},[6119],{"type":998,"value":6120},"String",{"type":993,"tag":6021,"props":6122,"children":6123},{},[6124],{"type":993,"tag":1022,"props":6125,"children":6127},{"className":6126},[],[6128],{"type":998,"value":5867},{"type":993,"tag":6021,"props":6130,"children":6131},{},[6132,6137,6138],{"type":993,"tag":1022,"props":6133,"children":6135},{"className":6134},[],[6136],{"type":998,"value":1665},{"type":998,"value":1692},{"type":993,"tag":1022,"props":6139,"children":6141},{"className":6140},[],[6142],{"type":998,"value":6143},"'Python'",{"type":993,"tag":6021,"props":6145,"children":6146},{},[6147],{"type":998,"value":6148},"Text, names, messages",{"type":993,"tag":5989,"props":6150,"children":6151},{},[6152,6160,6169,6183],{"type":993,"tag":6021,"props":6153,"children":6154},{},[6155],{"type":993,"tag":1295,"props":6156,"children":6157},{},[6158],{"type":998,"value":6159},"Boolean",{"type":993,"tag":6021,"props":6161,"children":6162},{},[6163],{"type":993,"tag":1022,"props":6164,"children":6166},{"className":6165},[],[6167],{"type":998,"value":6168},"bool",{"type":993,"tag":6021,"props":6170,"children":6171},{},[6172,6177,6178],{"type":993,"tag":1022,"props":6173,"children":6175},{"className":6174},[],[6176],{"type":998,"value":1690},{"type":998,"value":1692},{"type":993,"tag":1022,"props":6179,"children":6181},{"className":6180},[],[6182],{"type":998,"value":1698},{"type":993,"tag":6021,"props":6184,"children":6185},{},[6186],{"type":998,"value":6187},"Yes/no decisions",{"type":993,"tag":5989,"props":6189,"children":6190},{},[6191,6198,6207,6215],{"type":993,"tag":6021,"props":6192,"children":6193},{},[6194],{"type":993,"tag":1295,"props":6195,"children":6196},{},[6197],{"type":998,"value":1715},{"type":993,"tag":6021,"props":6199,"children":6200},{},[6201],{"type":993,"tag":1022,"props":6202,"children":6204},{"className":6203},[],[6205],{"type":998,"value":6206},"NoneType",{"type":993,"tag":6021,"props":6208,"children":6209},{},[6210],{"type":993,"tag":1022,"props":6211,"children":6213},{"className":6212},[],[6214],{"type":998,"value":1715},{"type":993,"tag":6021,"props":6216,"children":6217},{},[6218],{"type":998,"value":6219},"Empty/missing values",{"type":993,"tag":1283,"props":6221,"children":6223},{"id":6222},"key-takeaways",[6224],{"type":998,"value":6225},"🎯 Key Takeaways",{"type":993,"tag":1621,"props":6227,"children":6228},{},[6229,6241,6259,6270,6281],{"type":993,"tag":1625,"props":6230,"children":6231},{},[6232,6234,6239],{"type":998,"value":6233},"✅ ",{"type":993,"tag":1295,"props":6235,"children":6236},{},[6237],{"type":998,"value":6238},"Python automatically detects types",{"type":998,"value":6240}," based on how you write values",{"type":993,"tag":1625,"props":6242,"children":6243},{},[6244,6245,6257],{"type":998,"value":6233},{"type":993,"tag":1295,"props":6246,"children":6247},{},[6248,6250,6255],{"type":998,"value":6249},"Use ",{"type":993,"tag":1022,"props":6251,"children":6253},{"className":6252},[],[6254],{"type":998,"value":2058},{"type":998,"value":6256}," to check",{"type":998,"value":6258}," what type a variable is",{"type":993,"tag":1625,"props":6260,"children":6261},{},[6262,6263,6268],{"type":998,"value":6233},{"type":993,"tag":1295,"props":6264,"children":6265},{},[6266],{"type":998,"value":6267},"Variables can change types",{"type":998,"value":6269}," during program execution (dynamic typing)",{"type":993,"tag":1625,"props":6271,"children":6272},{},[6273,6274,6279],{"type":998,"value":6233},{"type":993,"tag":1295,"props":6275,"children":6276},{},[6277],{"type":998,"value":6278},"Different types support different operations",{"type":998,"value":6280},"—understanding this prevents errors",{"type":993,"tag":1625,"props":6282,"children":6283},{},[6284,6285,6290,6292,6297,6298,6303],{"type":998,"value":6233},{"type":993,"tag":1295,"props":6286,"children":6287},{},[6288],{"type":998,"value":6289},"Types are determined by syntax",{"type":998,"value":6291},", not content: ",{"type":993,"tag":1022,"props":6293,"children":6295},{"className":6294},[],[6296],{"type":998,"value":1749},{"type":998,"value":1751},{"type":993,"tag":1022,"props":6299,"children":6301},{"className":6300},[],[6302],{"type":998,"value":1640},{"type":998,"value":1758},{"type":993,"tag":1606,"props":6305,"children":6309},{"emoji":6306,"title":6307,"type":6308},"⚠️","Common Beginner Mistakes","warning",[6310,6374],{"type":993,"tag":1621,"props":6311,"children":6312},{},[6313,6332,6356],{"type":993,"tag":1625,"props":6314,"children":6315},{},[6316,6318,6323,6324,6330],{"type":998,"value":6317},"❌ ",{"type":993,"tag":1295,"props":6319,"children":6320},{},[6321],{"type":998,"value":6322},"Mixing incompatible types",{"type":998,"value":1634},{"type":993,"tag":1022,"props":6325,"children":6327},{"className":6326},[],[6328],{"type":998,"value":6329},"5 + \"3\"",{"type":998,"value":6331}," (number + text)",{"type":993,"tag":1625,"props":6333,"children":6334},{},[6335,6336,6341,6342,6348,6350],{"type":998,"value":6317},{"type":993,"tag":1295,"props":6337,"children":6338},{},[6339],{"type":998,"value":6340},"Forgetting quotes",{"type":998,"value":1634},{"type":993,"tag":1022,"props":6343,"children":6345},{"className":6344},[],[6346],{"type":998,"value":6347},"name = Alice",{"type":998,"value":6349}," instead of ",{"type":993,"tag":1022,"props":6351,"children":6353},{"className":6352},[],[6354],{"type":998,"value":6355},"name = \"Alice\"",{"type":993,"tag":1625,"props":6357,"children":6358},{},[6359,6360,6365,6366,6372],{"type":998,"value":6317},{"type":993,"tag":1295,"props":6361,"children":6362},{},[6363],{"type":998,"value":6364},"Assuming content determines type",{"type":998,"value":1634},{"type":993,"tag":1022,"props":6367,"children":6369},{"className":6368},[],[6370],{"type":998,"value":6371},"\"123\"",{"type":998,"value":6373}," is still text, not a number",{"type":993,"tag":1001,"props":6375,"children":6376},{},[6377,6382,6384,6389],{"type":993,"tag":1295,"props":6378,"children":6379},{},[6380],{"type":998,"value":6381},"Remember",{"type":998,"value":6383},": When in doubt, use ",{"type":993,"tag":1022,"props":6385,"children":6387},{"className":6386},[],[6388],{"type":998,"value":2058},{"type":998,"value":6390}," to check! 🔍",{"type":993,"tag":1283,"props":6392,"children":6394},{"id":6393},"test-your-knowledge",[6395],{"type":998,"value":6396},"🧠 Test Your Knowledge",{"type":993,"tag":1001,"props":6398,"children":6399},{},[6400],{"type":998,"value":6401},"Ready to test your understanding of Python data types?",{"type":993,"tag":6403,"props":6404,"children":6408},"redirect-button",{"icon":6405,"label":6406,"url":6407},"pi pi-send","Take Quiz","/tutorial-quiz/python/understanding-data-types",[],{"type":993,"tag":1283,"props":6410,"children":6412},{"id":6411},"whats-next",[6413],{"type":998,"value":6414},"🚀 What's Next?",{"type":993,"tag":1001,"props":6416,"children":6417},{},[6418],{"type":998,"value":6419},"Excellent! Now you understand how Python identifies data types and why they matter. Let's dive deeper into working with specific types, starting with numbers.",{"type":993,"tag":1001,"props":6421,"children":6422},{},[6423,6428,6429],{"type":993,"tag":1295,"props":6424,"children":6425},{},[6426],{"type":998,"value":6427},"Continue to",{"type":998,"value":1634},{"type":993,"tag":6430,"props":6431,"children":6432},"a",{"href":96},[6433],{"type":998,"value":97},{"type":993,"tag":1001,"props":6435,"children":6436},{},[6437],{"type":998,"value":6438},"You're building a solid foundation in Python! 🧠",{"type":993,"tag":6440,"props":6441,"children":6442},"style",{},[6443],{"type":998,"value":6444},"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":6446},[6447,6451,6454,6459,6462,6467,6471,6472,6473,6474],{"id":1285,"depth":27,"text":1288,"children":6448},[6449,6450],{"id":1319,"depth":36,"text":1322},{"id":1761,"depth":36,"text":1764},{"id":2044,"depth":27,"text":2047,"children":6452},[6453],{"id":2315,"depth":36,"text":2318},{"id":2655,"depth":27,"text":2658,"children":6455},[6456,6457,6458],{"id":2666,"depth":36,"text":2669},{"id":3024,"depth":36,"text":3027},{"id":3357,"depth":36,"text":3360},{"id":3667,"depth":27,"text":3670,"children":6460},[6461],{"id":4153,"depth":36,"text":4156},{"id":4657,"depth":27,"text":4660,"children":6463},[6464,6465,6466],{"id":4668,"depth":36,"text":4671},{"id":4829,"depth":36,"text":4832},{"id":5098,"depth":36,"text":5101},{"id":5311,"depth":27,"text":5314,"children":6468},[6469,6470],{"id":5317,"depth":36,"text":5320},{"id":5718,"depth":36,"text":5721},{"id":5976,"depth":27,"text":5979},{"id":6222,"depth":27,"text":6225},{"id":6393,"depth":27,"text":6396},{"id":6411,"depth":27,"text":6414},1782373750288]