{"id":7623,"date":"2024-05-03T11:19:43","date_gmt":"2024-05-03T11:19:43","guid":{"rendered":"https:\/\/www.pickl.ai\/blog\/?post_type=web-story&#038;p=7623"},"modified":"2024-05-03T11:19:45","modified_gmt":"2024-05-03T11:19:45","slug":"writing-a-function-in-python-all-you-need-to-know","status":"publish","type":"web-story","link":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/","title":{"rendered":"Writing a function in Python: All you need to know"},"content":{"rendered":"<p><html amp=\"\" lang=\"en\"><head><meta charSet=\"utf-8\"\/><meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\"\/><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0.js\"><\/script><script async=\"\" src=\"https:\/\/cdn.ampproject.org\/v0\/amp-story-1.0.js\" custom-element=\"amp-story\"><\/script><link href=\"https:\/\/fonts.googleapis.com\/css2?display=swap&amp;family=Roboto%3Awght%40400%3B700\" rel=\"stylesheet\"\/><link href=\"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" rel=\"preload\" as=\"image\"\/>\n<style amp-boilerplate=\"\">body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}<\/style>\n<p><noscript><\/p>\n<style amp-boilerplate=\"\">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}<\/style>\n<p><\/noscript><\/p>\n<style amp-custom=\"\">\n              h1, h2, h3 { font-weight: normal; }<\/p>\n<p>              amp-story-page {\n                background-color: #131516;\n              }<\/p>\n<p>              amp-story-grid-layer {\n                overflow: visible;\n              }<\/p>\n<p>              @media (max-aspect-ratio: 9 \/ 16)  {\n                @media (min-aspect-ratio: 320 \/ 678) {\n                  amp-story-grid-layer.grid-layer {\n                    margin-top: calc((100% \/ 0.5625 - 100% \/ 0.6666666666666666) \/ 2);\n                  }\n                }\n              }<\/p>\n<p>              @media not all and (min-resolution:.001dpcm) {\n                @media {\n                  p.text-wrapper > span {\n                    font-size: calc(100% - 0.5px);\n                  }\n                }\n              }<\/p>\n<p>              .page-fullbleed-area,\n              .page-background-overlay-area {\n                position: absolute;\n                overflow: hidden;\n                width: 100%;\n                left: 0;\n                height: calc(1.1851851851851851 * 100%);\n                top: calc((1 - 1.1851851851851851) * 100% \/ 2);\n              }<\/p>\n<p>              .element-overlay-area {\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n              }<\/p>\n<p>              .page-safe-area {\n                overflow: visible;\n                position: absolute;\n                top: 0;\n                bottom: 0;\n                left: 0;\n                right: 0;\n                width: 100%;\n                height: calc(0.84375 * 100%);\n                margin: auto 0;\n              }<\/p>\n<p>              .mask {\n                position: absolute;\n                overflow: hidden;\n              }<\/p>\n<p>              .fill {\n                position: absolute;\n                top: 0;\n                left: 0;\n                right: 0;\n                bottom: 0;\n                margin: 0;\n              }<\/p>\n<p>              @media (prefers-reduced-motion: no-preference) {\n                .animation-wrapper {\n                  opacity: var(--initial-opacity);\n                  transform: var(--initial-transform);\n                }\n              }<\/p>\n<p>              amp-story-grid-layer.align-bottom {\n                align-content: end;\n                padding: 0;\n                \/* \n                  AMP CTA Layer will exactly occupy 74px regardless of any device.\n                  To space out captions 74px from the BOTTOM (AMP CTA Layer),\n                  74px from the TOP should also be spaced out and thus: 2 * 74px\n                  will be the desired max-height.\n                *\/\n                max-height: calc(100vh - (2 * 74px));\n              }<\/p>\n<p>              .captions-area {\n                padding: 0 32px 0;\n              }<\/p>\n<p>              amp-story-captions {\n                margin-bottom: 16px;\n                text-align: center;\n              }\n              <\/style>\n<p><meta name=\"web-stories-replace-head-start\"\/><title>Writing a function in Python: All you need to know<\/title><link rel=\"canonical\" href=\"https:\/\/pickl.ai\/blog\/?post_type=web-story&amp;p=7623\"\/><meta name=\"web-stories-replace-head-end\"\/><\/head><body><amp-story standalone=\"\" publisher=\"Pickl.AI\" publisher-logo-src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2022\/01\/cropped-cropped-favicon.png\" title=\"Writing a function in Python: All you need to know\" poster-portrait-src=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg\"><amp-story-page id=\"17525012-548c-4546-92a4-8c237fbf9267\" auto-advance-after=\"7s\"><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#0c2626\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-199e25be-33d3-4f07-a04f-8c0e7308477b\">\n<div style=\"position:absolute;width:118.51852%;height:100%;left:-9.25926%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max\" alt=\"black flat screen computer monitor\" srcSet=\"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4000&amp;h=6000&amp;fit=max 4000w,https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3200&amp;h=4800&amp;fit=max 3200w,https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=3600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1600&amp;h=2400&amp;fit=max 1600w,https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=800&amp;h=1200&amp;fit=max 800w,https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=510&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 53vh, 119vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:16.26214%;top:11.00324%;width:66.01942%;height:22.16828%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-d3fc096e-6b5a-499d-8bcb-8c94cdd907c6\">\n<div class=\"fill\" style=\"background-color:#000;will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:20.87379%;top:11.8123%;width:58.25243%;height:20.71197%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8333333333333334% 0.8333333333333334% 0.8333333333333334% 0.8333333333333334% \/ 1.5625% 1.5625% 1.5625% 1.5625%\" id=\"el-d2dd01f0-bb11-4e10-a4c0-eb1013eb3afd\">\n<h1 id=\"writing-a-function-in-python\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.13593749999999924% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.582524em;line-height:1.19;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700; color: #eee\">Writing a Function in Python<\/span><\/span><\/h1>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"d2aa874c-4c36-446f-a2d1-da12001e85e1\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8d787441-db27-4a04-bb9e-23ba5e5ec018\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-9f2dec92-0f3a-440c-907b-75f1aaaf182b\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#6d9fff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f4a36ccf-eafc-4de7-833d-4d30b7ef93e2\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.3301%;top:9.87055%;width:55.33981%;height:11.65049%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 2.7777777777777777% 2.7777777777777777% 2.7777777777777777% 2.7777777777777777%\" id=\"el-e6f8262b-d1f9-4647-bdc0-e6e673f1da81\">\n<h2 id=\"what-are-functions\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">What are Functions?<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.7767%;top:28.31715%;width:68.68932%;height:27.99353%;transform:rotate(359deg);opacity:1\">\n<div id=\"anim-8d787441-db27-4a04-bb9e-23ba5e5ec018\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-9f2dec92-0f3a-440c-907b-75f1aaaf182b\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-1b6ab5f1-2d92-49a7-9ab1-47e8a7c4008a\">\n<div style=\"position:absolute;width:100%;height:109.05587%;left:0%;top:-4.52793%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max\" alt=\"turned on monitor displaying function digital_best_reviews\" srcSet=\"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max 5184w,https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4147&amp;h=2765&amp;fit=max 4147w,https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3110&amp;h=2073&amp;fit=max 3110w,https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2073&amp;h=1382&amp;fit=max 2073w,https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1036&amp;h=691&amp;fit=max 1036w,https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.53398%;top:62.13592%;width:69.90291%;height:28.9644%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.1173184357541899% 1.1173184357541899% 1.1173184357541899% 1.1173184357541899%\" id=\"el-7c90336c-0c42-4ea1-aace-a59a5d963079\">\n<h3 id=\"unlock-pythons-power-with-functions-these-reusable-blocks-of-code-let-you-organize-tasks-and-write-cleaner-programs\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>Unlock Python&#8217;s power with functions! These reusable blocks of code let you organize tasks and write cleaner programs.<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"d7bd2d48-2905-4e58-8abb-f4238df6a10b\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-6682d849-8be5-4ef2-a2b1-8bf6e7c83f70\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-50ae8d06-57b8-492e-8101-dd8645c41733\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-2d2025ec-84ef-41f6-8014-748f39603370\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-10c954c8-8054-4097-bdc5-45f5822962b0\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e0aaff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-189e9e5f-aa69-4dd2-869b-39d20fff9e06\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.81553%;top:6.6343%;width:55.33981%;height:11.65049%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 2.7777777777777777% 2.7777777777777777% 2.7777777777777777% 2.7777777777777777%\" id=\"el-a1ad3fa0-7c02-43ad-b928-87d2d575c0f9\">\n<h2 id=\"defining-a-function\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Defining a Function<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.7767%;top:27.02265%;width:68.68932%;height:27.99353%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-6682d849-8be5-4ef2-a2b1-8bf6e7c83f70\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-50ae8d06-57b8-492e-8101-dd8645c41733\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-13c591dc-b21f-43e7-aa78-c09a255c41c8\">\n<div style=\"position:absolute;width:100%;height:109.05587%;left:0%;top:-4.52793%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=9219&amp;h=6146&amp;fit=max\" alt=\"black flat screen computer monitor\" srcSet=\"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=9219&amp;h=6146&amp;fit=max 9219w,https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=7375&amp;h=4917&amp;fit=max 7375w,https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5531&amp;h=3687&amp;fit=max 5531w,https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3687&amp;h=2458&amp;fit=max 3687w,https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1843&amp;h=1229&amp;fit=max 1843w,https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.29126%;top:60.35599%;width:69.90291%;height:29.12621%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.1111111111111112% 1.1111111111111112% 1.1111111111111112% 1.1111111111111112%\" id=\"el-d89824ea-0515-464b-85aa-275287db3fee\">\n<h3 id=\"creating-a-function-is-easy-use-the-def-keyword-name-your-function-and-add-parameters-in-parentheses\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>Creating a function is easy: use the &#8220;def&#8221; keyword, name your function, and add parameters in parentheses.<\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:35.19417%;top:93.52751%;width:35.19417%;height:5.01618%;opacity:1\">\n<div id=\"anim-2d2025ec-84ef-41f6-8014-748f39603370\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-10c954c8-8054-4097-bdc5-45f5822962b0\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.3793103448275863% 1.3793103448275863% 1.3793103448275863% 1.3793103448275863% \/ 6.451612903225806% 6.451612903225806% 6.451612903225806% 6.451612903225806%\" id=\"el-7379c15a-cf1d-4452-8343-465d1c251958\"><a href=\"https:\/\/pickl.ai\/blog\/writing-a-function-in-python-all-you-need-to-know\/\" data-tooltip-icon=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/03\/image7-1.png\" data-tooltip-text=\"Writing a function in Python: All you need to know\" target=\"_blank\" rel=\"noreferrer noopener\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\"><\/p>\n<h2 id=\"read-more\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.26185344827586154% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.436893em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Read more<\/span><\/span><\/h2>\n<p><\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"9163ba24-741e-4832-ae4b-140f9a77174f\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-d3a6927a-75c6-4057-9876-4419690e71cb\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-c752e2a4-eba9-42ae-95b3-696d404a38e0\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e0aaff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-b81c2179-f39f-4d0c-9ab8-672722dfeaca\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.57282%;top:3.39806%;width:55.33981%;height:17.31392%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 1.8691588785046727% 1.8691588785046727% 1.8691588785046727% 1.8691588785046727%\" id=\"el-47f23815-7179-4129-81ce-b147bb18f198\">\n<h2 id=\"parameters-ingredients-for-your-function\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Parameters: Ingredients for Your Function<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.7767%;top:27.34628%;width:68.68932%;height:27.99353%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-d3a6927a-75c6-4057-9876-4419690e71cb\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-c752e2a4-eba9-42ae-95b3-696d404a38e0\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-5ac83361-4e15-4100-879e-61d9e5d0f7c8\">\n<div style=\"position:absolute;width:100%;height:109.05587%;left:0%;top:-4.52793%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max\" alt=\"turned on gray laptop computer\" srcSet=\"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max 6000w,https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4800&amp;h=3200&amp;fit=max 4800w,https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3600&amp;h=2400&amp;fit=max 3600w,https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=1600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1200&amp;h=800&amp;fit=max 1200w,https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.29126%;top:63.91586%;width:69.90291%;height:29.12621%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.1111111111111112% 1.1111111111111112% 1.1111111111111112% 1.1111111111111112%\" id=\"el-04c94f5c-5369-47b4-a1e6-02bf94eda012\">\n<h3 id=\"parameters-act-like-placeholders-for-data-youll-give-your-function-when-you-call-it-think-of-them-as-ingredients-for-a-recipe\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>Parameters act like placeholders for data you&#8217;ll give your function when you call it. Think of them as ingredients for a recipe!<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"3e2f17ac-e5ab-412f-b708-659c7809207b\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-760efe0b-145d-46f2-b0b2-abe62b98cbfe\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-7956a665-12fb-4cb4-bba4-0ec64f846c6e\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e0aaff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-5bdacdf3-8818-4865-a745-a6c4fd4ccb7b\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.57282%;top:3.39806%;width:55.33981%;height:17.31392%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 1.8691588785046727% 1.8691588785046727% 1.8691588785046727% 1.8691588785046727%\" id=\"el-ede2ce64-73cc-4ee8-bc69-43fb14a8223a\">\n<h2 id=\"indentation-key-for-function-body\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Indentation: Key for Function Body<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.7767%;top:29.28803%;width:68.68932%;height:27.99353%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-760efe0b-145d-46f2-b0b2-abe62b98cbfe\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-7956a665-12fb-4cb4-bba4-0ec64f846c6e\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-180d4fc9-4fba-4c91-a0f8-a7fb226399a5\">\n<div style=\"position:absolute;width:108.64469%;height:100%;left:-4.32235%;top:0%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=3376&amp;fit=max\" alt=\"black laptop computer turned on on table\" srcSet=\"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=3376&amp;fit=max 6000w,https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4800&amp;h=2701&amp;fit=max 4800w,https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3600&amp;h=2026&amp;fit=max 3600w,https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=1350&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1200&amp;h=675&amp;fit=max 1200w,https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=191&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.04854%;top:65.85761%;width:69.90291%;height:24.11003%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-12ed631e-9b2a-422e-a453-ba9e5509e37e\">\n<h3 id=\"indent-the-code-inside-your-function-to-tell-python-what-belongs-to-it-proper-indentation-is-key\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>Indent the code inside your function to tell Python what belongs to it. Proper indentation is key!<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"cf2ac2e0-c01a-4eea-8c6f-8053b67b0376\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-590b10a9-b9c1-442b-bb16-0f586a9041ab\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-e0a90cc8-92cb-4e75-84bd-72b83f344fd2\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-b85c5f42-b117-42bf-9b03-a04b76040421\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-f7853a9a-f8e3-4a5e-b84a-1bdb87b71509\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e0aaff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-0d1e99eb-f98f-44db-9cff-765fa82db05c\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.57282%;top:4.36893%;width:55.33981%;height:17.31392%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 1.8691588785046727% 1.8691588785046727% 1.8691588785046727% 1.8691588785046727%\" id=\"el-f63b6aa7-6021-49d9-b938-4c40af131115\">\n<h2 id=\"returning-values-sending-data-back\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Returning Values: Sending Data Back<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:16.01942%;top:31.22977%;width:68.68932%;height:27.99353%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-590b10a9-b9c1-442b-bb16-0f586a9041ab\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-e0a90cc8-92cb-4e75-84bd-72b83f344fd2\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-09b9b97c-3ee8-4f0b-bb5f-b3e761a368fb\">\n<div style=\"position:absolute;width:100%;height:109.05587%;left:0%;top:-4.52793%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max\" alt=\"turned-on MacBook Pro wit programming codes display\" srcSet=\"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=5184&amp;h=3456&amp;fit=max 5184w,https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4147&amp;h=2765&amp;fit=max 4147w,https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3110&amp;h=2073&amp;fit=max 3110w,https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2073&amp;h=1382&amp;fit=max 2073w,https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1036&amp;h=691&amp;fit=max 1036w,https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:14.80583%;top:66.01942%;width:69.90291%;height:24.11003%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-697b24d0-cccd-4bae-bbc6-f7853b5e088b\">\n<h3 id=\"functions-can-return-values-using-the-return-statement-this-sends-data-back-to-the-code-that-called-the-function\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>Functions can return values using the &#8220;return&#8221; statement. This sends data back to the code that called the function.<\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:34.95146%;top:93.52751%;width:35.19417%;height:5.01618%;opacity:1\">\n<div id=\"anim-b85c5f42-b117-42bf-9b03-a04b76040421\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-f7853a9a-f8e3-4a5e-b84a-1bdb87b71509\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.3793103448275863% 1.3793103448275863% 1.3793103448275863% 1.3793103448275863% \/ 6.451612903225806% 6.451612903225806% 6.451612903225806% 6.451612903225806%\" id=\"el-fea859bf-f0f2-4a5e-920d-eb0139b33dd8\"><a href=\"https:\/\/pickl.ai\/blog\/powerful-python-libraries-to-automate-partial-eda\/\" data-tooltip-icon=\"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2023\/12\/Powerful-Python-Libraries-to-Partially-Automate-EDA.jpg\" data-tooltip-text=\"Explore data effortlessly with Python Libraries for (Partial) EDA\" target=\"_blank\" rel=\"noreferrer noopener\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\"><\/p>\n<h2 id=\"read-more-2\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.26185344827586154% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.436893em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Read more<\/span><\/span><\/h2>\n<p><\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"7c06a348-6b80-4bc5-96ea-8c1b387233ca\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-69b07e11-9cd2-4fb9-9d20-a5baba26b1e1\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-681f64c4-ab6b-4fbb-8e1e-111757fa124f\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e0aaff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-f10d0426-5eee-47ad-89eb-7cbe6e721274\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.57282%;top:4.69256%;width:55.33981%;height:17.31392%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 1.8691588785046727% 1.8691588785046727% 1.8691588785046727% 1.8691588785046727%\" id=\"el-d11c6d67-1917-4dd3-bc19-2f122950f98a\">\n<h2 id=\"calling-a-function-giving-it-a-task\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Calling a Function: Giving it a Task<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:16.01942%;top:31.22977%;width:68.68932%;height:27.99353%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-69b07e11-9cd2-4fb9-9d20-a5baba26b1e1\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-681f64c4-ab6b-4fbb-8e1e-111757fa124f\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-650e904f-a851-4648-abcf-331d40e3a975\">\n<div style=\"position:absolute;width:100%;height:108.88731%;left:0%;top:-4.44366%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3882&amp;h=2584&amp;fit=max\" alt=\"A MacBook with lines of code on its screen on a busy desk\" srcSet=\"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3882&amp;h=2584&amp;fit=max 3882w,https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3105&amp;h=2067&amp;fit=max 3105w,https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2329&amp;h=1550&amp;fit=max 2329w,https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1552&amp;h=1033&amp;fit=max 1552w,https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=776&amp;h=517&amp;fit=max 776w,https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=226&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:15.04854%;top:65.69579%;width:69.90291%;height:29.12621%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.1111111111111112% 1.1111111111111112% 1.1111111111111112% 1.1111111111111112%\" id=\"el-651677f4-ea5e-4451-8e5c-5c7740f29af6\">\n<h3 id=\"calling-a-function-is-like-giving-it-a-task-use-the-function-name-with-parentheses-including-any-data-it-needs-arguments\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>Calling a function is like giving it a task. Use the function name with parentheses, including any data it needs (arguments).<\/span><\/h3>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><amp-story-page id=\"d3861f23-4e22-449f-989f-9895ada5b2b4\" auto-advance-after=\"7s\"><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-61ee7038-c717-470c-9a56-be3d8465b6db\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8bed2cf6-fed4-4413-9da7-6d581d4ffd35\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-54777faa-e0c7-463b-bf19-9a24ba5dcbf7\",\"keyframes\":{\"opacity\":[0,1]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"both\"}]<\/script><\/amp-story-animation><amp-story-animation layout=\"nodisplay\" trigger=\"visibility\"><script type=\"application\/json\">[{\"selector\":\"#anim-8b4e0ec1-70a9-4a90-80f1-c171cb36ef33\",\"keyframes\":{\"transform\":[\"scale(0.3333333333333333)\",\"scale(1)\"]},\"delay\":0,\"duration\":2000,\"easing\":\"cubic-bezier(.3,0,.55,1)\",\"fill\":\"forwards\"}]<\/script><\/amp-story-animation><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\" style=\"background-color:#e0aaff\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:0;top:-9.25926%;width:100%;height:118.51852%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-a69797ff-23d0-4bda-81c3-16bd438eeaf6\">\n<div class=\"fill\" style=\"will-change:transform\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><amp-story-grid-layer template=\"vertical\" aspect-ratio=\"412:618\" class=\"grid-layer\"><\/p>\n<div class=\"page-fullbleed-area\">\n<div class=\"page-safe-area\">\n<div style=\"position:absolute;pointer-events:none;left:22.57282%;top:6.31068%;width:55.33981%;height:17.31392%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.8771929824561403% 0.8771929824561403% 0.8771929824561403% 0.8771929824561403% \/ 1.8691588785046727% 1.8691588785046727% 1.8691588785046727% 1.8691588785046727%\" id=\"el-6ad03481-1dde-4241-9a13-17e36fd7e4ed\">\n<h2 id=\"power-of-functions-break-down-conquer\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1850328947368421% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.485437em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Power of Functions: Break Down, Conquer!<\/span><\/span><\/h2>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:16.01942%;top:31.22977%;width:68.68932%;height:27.99353%;transform:rotate(360deg);opacity:1\">\n<div id=\"anim-61ee7038-c717-470c-9a56-be3d8465b6db\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-8bed2cf6-fed4-4413-9da7-6d581d4ffd35\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0\" class=\"mask\" id=\"el-3ef27532-78ea-4763-8be7-482e0eb9457e\">\n<div style=\"position:absolute;width:100%;height:109.05587%;left:0%;top:-4.52793%\" data-leaf-element=\"true\"><amp-img layout=\"fill\" src=\"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max\" alt=\"man in black long sleeve shirt wearing black headphones sitting on chair\" srcSet=\"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=6000&amp;h=4000&amp;fit=max 6000w,https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=4800&amp;h=3200&amp;fit=max 4800w,https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=3600&amp;h=2400&amp;fit=max 3600w,https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=2400&amp;h=1600&amp;fit=max 2400w,https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=1200&amp;h=800&amp;fit=max 1200w,https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&amp;ixlib=rb-4.0.3&amp;fm=jpg&amp;w=340&amp;h=227&amp;fit=max 340w\" sizes=\"(min-width: 1024px) 31vh, 69vw\" disable-inline-width=\"true\"><\/amp-img><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:14.80583%;top:64.23948%;width:69.90291%;height:24.11003%;opacity:1\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:0.6944444444444444% 0.6944444444444444% 0.6944444444444444% 0.6944444444444444% \/ 1.342281879194631% 1.342281879194631% 1.342281879194631% 1.342281879194631%\" id=\"el-a93ac2c4-23e5-4ecc-b5d2-ac26b0ae405b\">\n<h3 id=\"with-functions-you-can-write-complex-programs-by-breaking-them-down-into-smaller-reusable-steps-happy-coding\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.1220703125% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.404531em;line-height:1.2;text-align:center;padding:0;color:#000000\"><span>With functions, you can write complex programs by breaking them down into smaller, reusable steps. Happy coding!<\/span><\/h3>\n<\/div>\n<\/div>\n<div style=\"position:absolute;pointer-events:none;left:32.76699%;top:93.3657%;width:35.19417%;height:5.01618%;opacity:1\">\n<div id=\"anim-54777faa-e0c7-463b-bf19-9a24ba5dcbf7\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:0;--initial-transform:none\">\n<div id=\"anim-8b4e0ec1-70a9-4a90-80f1-c171cb36ef33\" class=\"animation-wrapper\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0;--initial-opacity:1;--initial-transform:scale(0.3333333333333333)\">\n<div style=\"pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:0;border-radius:1.3793103448275863% 1.3793103448275863% 1.3793103448275863% 1.3793103448275863% \/ 6.451612903225806% 6.451612903225806% 6.451612903225806% 6.451612903225806%\" id=\"el-3fbbfd57-0541-4c71-bddc-a2c5b60e98aa\"><a href=\"https:\/\/With functions, you can write complex programs by breaking them down into smaller, reusable steps. Happy coding!\" target=\"_blank\" rel=\"noreferrer noopener\" style=\"width:100%;height:100%;display:block;position:absolute;top:0;left:0\"><\/p>\n<h2 id=\"read-more-3\" class=\"fill text-wrapper\" style=\"white-space:pre-line;overflow-wrap:break-word;word-break:break-word;margin:-0.26185344827586154% 0;font-family:&quot;Roboto&quot;,sans-serif;font-size:0.436893em;line-height:1.2;text-align:left;padding:0;color:#000000\"><span><span style=\"font-weight: 700\">Read more<\/span><\/span><\/h2>\n<p><\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><\/amp-story-grid-layer><\/amp-story-page><\/amp-story><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"Learn Python function basics: Define with def, add parameters, return values, and embrace reusability. Dive into Pythonic coding\n","protected":false},"author":1,"featured_media":7646,"template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"web_stories_publisher_logo":935,"web_stories_poster":[],"web_stories_products":[],"footnotes":""},"web_story_category":[],"web_story_tag":[],"class_list":["post-7623","web-story","type-web-story","status-publish","has-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.3 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Writing a function in Python: All you need to know - Pickl.AI<\/title>\n<meta name=\"description\" content=\"Learn Python function basics: Define with def, add parameters, return values, and embrace reusability. Dive into Pythonic coding\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Writing a function in Python: All you need to know\" \/>\n<meta property=\"og:description\" content=\"Learn Python function basics: Define with def, add parameters, return values, and embrace reusability. Dive into Pythonic coding\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/\" \/>\n<meta property=\"og:site_name\" content=\"Pickl.AI\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T11:19:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/adfcccafe1795b39fe941ddafe76b6ab\"},\"headline\":\"Writing a function in Python: All you need to know\",\"datePublished\":\"2024-05-03T11:19:43+00:00\",\"dateModified\":\"2024-05-03T11:19:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/\"},\"wordCount\":198,\"image\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/\",\"name\":\"Writing a function in Python: All you need to know - Pickl.AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg\",\"datePublished\":\"2024-05-03T11:19:43+00:00\",\"dateModified\":\"2024-05-03T11:19:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg\",\"width\":640,\"height\":853,\"caption\":\"pexels-vlada-karpovich-4050290\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/writing-a-function-in-python-all-you-need-to-know\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stories\",\"item\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/web-stories\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Writing a function in Python: All you need to know\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\",\"name\":\"Pickl.AI\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/#\\\/schema\\\/person\\\/adfcccafe1795b39fe941ddafe76b6ab\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=ga50c9c5ae9fb5534aba0f0b45ebbe6d3\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/\"],\"url\":\"https:\\\/\\\/www.pickl.ai\\\/blog\\\/administrator\\\/transorgstandbyorangeironman\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Writing a function in Python: All you need to know - Pickl.AI","description":"Learn Python function basics: Define with def, add parameters, return values, and embrace reusability. Dive into Pythonic coding","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/","og_locale":"en_US","og_type":"article","og_title":"Writing a function in Python: All you need to know","og_description":"Learn Python function basics: Define with def, add parameters, return values, and embrace reusability. Dive into Pythonic coding","og_url":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/","og_site_name":"Pickl.AI","article_modified_time":"2024-05-03T11:19:45+00:00","og_image":[{"width":640,"height":853,"url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#article","isPartOf":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/"},"author":{"name":"Admin","@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/adfcccafe1795b39fe941ddafe76b6ab"},"headline":"Writing a function in Python: All you need to know","datePublished":"2024-05-03T11:19:43+00:00","dateModified":"2024-05-03T11:19:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/"},"wordCount":198,"image":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/","url":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/","name":"Writing a function in Python: All you need to know - Pickl.AI","isPartOf":{"@id":"https:\/\/www.pickl.ai\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#primaryimage"},"image":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg","datePublished":"2024-05-03T11:19:43+00:00","dateModified":"2024-05-03T11:19:45+00:00","breadcrumb":{"@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#primaryimage","url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg","contentUrl":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg","width":640,"height":853,"caption":"pexels-vlada-karpovich-4050290"},{"@type":"BreadcrumbList","@id":"https:\/\/www.pickl.ai\/blog\/web-stories\/writing-a-function-in-python-all-you-need-to-know\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pickl.ai\/blog\/"},{"@type":"ListItem","position":2,"name":"Stories","item":"https:\/\/www.pickl.ai\/blog\/web-stories\/"},{"@type":"ListItem","position":3,"name":"Writing a function in Python: All you need to know"}]},{"@type":"WebSite","@id":"https:\/\/www.pickl.ai\/blog\/#website","url":"https:\/\/www.pickl.ai\/blog\/","name":"Pickl.AI","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pickl.ai\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.pickl.ai\/blog\/#\/schema\/person\/adfcccafe1795b39fe941ddafe76b6ab","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=ga50c9c5ae9fb5534aba0f0b45ebbe6d3","url":"https:\/\/secure.gravatar.com\/avatar\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/353a2bc4d584bc0705a194ad6cd03043005eae6d6f8ecfe3f0ef286d7d4d1dc8?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/www.pickl.ai\/blog\/"],"url":"https:\/\/www.pickl.ai\/blog\/administrator\/transorgstandbyorangeironman\/"}]}},"story_data":{"version":47,"pages":[{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":48,"y":0,"width":330,"height":494,"mask":{"type":"rectangle"},"isBackground":true,"type":"image","id":"199e25be-33d3-4f07-a04f-8c0e7308477b","scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":4000,"height":6000,"sizes":{"full":{"file":"media\/unsplash:cFFEeHNZEqw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","mimeType":"image\/jpeg","width":4000,"height":6000},"large":{"file":"media\/unsplash:cFFEeHNZEqw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=3200&h=4800&fit=max","mimeType":"image\/jpeg","width":3200,"height":4800},"2400_3600":{"file":"media\/unsplash:cFFEeHNZEqw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=2400&h=3600&fit=max","mimeType":"image\/jpeg","width":2400,"height":3600},"1600_2400":{"file":"media\/unsplash:cFFEeHNZEqw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=1600&h=2400&fit=max","mimeType":"image\/jpeg","width":1600,"height":2400},"800_1200":{"file":"media\/unsplash:cFFEeHNZEqw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=800&h=1200&fit=max","mimeType":"image\/jpeg","width":800,"height":1200},"web_stories_thumbnail":{"file":"media\/unsplash:cFFEeHNZEqw","sourceUrl":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=340&h=510&fit=max","mimeType":"image\/jpeg","width":340,"height":510}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:cFFEeHNZEqw","baseColor":"#0c2626","blurHash":"L355Rn_4RPWCETIVoet79EIUt7og","creationDate":"2020-09-11T15:22:38Z","src":"https:\/\/images.unsplash.com\/photo-1599837565318-67429bde7162?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw5fHxweXRob258ZW58MHx8fHwxNzE0NjU5ODMyfDA&ixlib=rb-4.0.3&fm=jpg&w=4000&h=6000&fit=max","alt":"black flat screen computer monitor","attribution":{"author":{"displayName":"Kevin Canlas","url":"https:\/\/unsplash.com\/@kvncnls?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL0L4%2B5AS4%2B38PnZ6NocFJm7DeASg1osDw0lZV\/W18\/mhnU6GwBlz6x84EQ\/Rq5q2Mc57iKT%2BfOC1f\/Nh8LFHGUOvDG0JhxJPHwUZYH4G8n3bEgZuNVBtSY1jRFKhA9%2B9TdggwLZYTX2dOmKoIw2KU354dXpy\/9HyL%2Bu6HArfbvW%2BNgV66Zim6NxHDKokYPtFtC6nau3wS49nC8QCveySJcTi%2BYkw\/ifLTBv9N5nnnY%3D"}}},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":false,"backgroundColor":{"color":{"r":0,"g":0,"b":0}},"width":272,"height":137,"type":"shape","x":67,"y":68,"mask":{"type":"rectangle"},"id":"d3fc096e-6b5a-499d-8bcb-8c94cdd907c6"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":36,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.19,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700; color: #eee\">Writing a Function in Python<\/span>","x":86,"y":73,"width":240,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":128,"id":"d2dd01f0-bb11-4e10-a4c0-eb1013eb3afd"}],"backgroundColor":{"color":{"r":255,"g":255,"b":255}},"id":"17525012-548c-4546-92a4-8c237fbf9267","defaultBackgroundElement":{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"d265a5fd-8bfb-46bf-91ee-e2ee8ab0fc4e"},"animations":[]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"type":"shape","id":"f4a36ccf-eafc-4de7-833d-4d30b7ef93e2"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">What are Functions?<\/span>","x":92,"y":61,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":72,"id":"e6f8262b-d1f9-4647-bdc0-e6e673f1da81"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":359,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5184,"height":3456,"sizes":{"full":{"file":"media\/unsplash:gnyA8vd3Otc","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","mimeType":"image\/jpeg","width":5184,"height":3456},"large":{"file":"media\/unsplash:gnyA8vd3Otc","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=4147&h=2765&fit=max","mimeType":"image\/jpeg","width":4147,"height":2765},"3110_2073":{"file":"media\/unsplash:gnyA8vd3Otc","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=3110&h=2073&fit=max","mimeType":"image\/jpeg","width":3110,"height":2073},"2073_1382":{"file":"media\/unsplash:gnyA8vd3Otc","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=2073&h=1382&fit=max","mimeType":"image\/jpeg","width":2073,"height":1382},"1036_691":{"file":"media\/unsplash:gnyA8vd3Otc","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=1036&h=691&fit=max","mimeType":"image\/jpeg","width":1036,"height":691},"web_stories_thumbnail":{"file":"media\/unsplash:gnyA8vd3Otc","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:gnyA8vd3Otc","baseColor":"#264059","blurHash":"LJB|vj0DsfM_?oIbxaV]s$bIRjoJ","creationDate":"2019-04-22T16:56:31Z","src":"https:\/\/images.unsplash.com\/photo-1555949963-aa79dcee981c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","alt":"turned on monitor displaying function digital_best_reviews","attribution":{"author":{"displayName":"Shahadat Rahman","url":"https:\/\/unsplash.com\/@hishahadat?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL0E3oxnEp3PKJ6G9Lhh5mifjP6UsmgVlicYwh8C\/7jJltGnkLMAc3fVmnMCyTtQT0tFIk36PTsh7rI2\/ZINbwhvwuIbmZ73aCQgsaykoMn6zamR2di\/5umGyEBlSKbI6YxZtg7Bp708AFsYmqok58YcJAJFbLZcUAMEkug81l9HxyskSccVSB5SwEolFGX2u9anniAcAr9uDuEOJvzKzTX0IhFp1ApAgkj92OMbbp3UAkE%3D"}},"type":"image","x":65,"y":175,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"1b6ab5f1-2d92-49a7-9ab1-47e8a7c4008a"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Unlock Python's power with functions! These reusable blocks of code let you organize tasks and write cleaner programs.","x":64,"y":384,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":179,"id":"7c90336c-0c42-4ea1-aace-a59a5d963079"}],"backgroundColor":{"color":{"r":109,"g":159,"b":255}},"id":"d2aa874c-4c36-446f-a2d1-da12001e85e1","animations":[{"id":"5a444ce8-74fb-49e2-822c-43fe90e52f8b","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["1b6ab5f1-2d92-49a7-9ab1-47e8a7c4008a"]}]},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"189e9e5f-aa69-4dd2-869b-39d20fff9e06","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Defining a Function<\/span>","x":94,"y":41,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":72,"id":"a1ad3fa0-7c02-43ad-b928-87d2d575c0f9","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":9219,"height":6146,"sizes":{"full":{"file":"media\/unsplash:XmZ4GDAp9G0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=9219&h=6146&fit=max","mimeType":"image\/jpeg","width":9219,"height":6146},"large":{"file":"media\/unsplash:XmZ4GDAp9G0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=7375&h=4917&fit=max","mimeType":"image\/jpeg","width":7375,"height":4917},"5531_3687":{"file":"media\/unsplash:XmZ4GDAp9G0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=5531&h=3687&fit=max","mimeType":"image\/jpeg","width":5531,"height":3687},"3687_2458":{"file":"media\/unsplash:XmZ4GDAp9G0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=3687&h=2458&fit=max","mimeType":"image\/jpeg","width":3687,"height":2458},"1843_1229":{"file":"media\/unsplash:XmZ4GDAp9G0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=1843&h=1229&fit=max","mimeType":"image\/jpeg","width":1843,"height":1229},"web_stories_thumbnail":{"file":"media\/unsplash:XmZ4GDAp9G0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:XmZ4GDAp9G0","baseColor":"#260c26","blurHash":"L67nRNm.9a~UtSMyT0rXs@RSkqnh","creationDate":"2020-06-19T23:41:53Z","src":"https:\/\/images.unsplash.com\/photo-1592609931041-40265b692757?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=9219&h=6146&fit=max","alt":"black flat screen computer monitor","attribution":{"author":{"displayName":"Joan Gamell","url":"https:\/\/unsplash.com\/@gamell?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL3lXH80j1QA5VFJxnLTjHIEPYwqruXYpHFJCz87JlB4fe9HfMHxolSDSKyIqzgbvB54uXY7hYKy5S6W9VxmJJJQ6tE8btuHNSI0LSp4zsDVG%2BXK1BQKuCNl1pONzPUIH8xJny3m1HjGHu5l7P1iE1pr4ZYxAyhjlo0MqLtvkkcurRLo5K2cp8jciGoNa944HQsHXjqxp8JJGVfOembOEIELcKrFopNoABxOrOChtU7dtf4%3D"}},"x":65,"y":167,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"13c591dc-b21f-43e7-aa78-c09a255c41c8","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Creating a function is easy: use the \"def\" keyword, name your function, and add parameters in parentheses.","x":63,"y":373,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":180,"id":"d89824ea-0515-464b-85aa-275287db3fee","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":27,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Read more<\/span>","x":145,"y":578,"width":145,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":31,"id":"7379c15a-cf1d-4452-8343-465d1c251958","link":{"needsProxy":false,"url":"https:\/\/pickl.ai\/blog\/writing-a-function-in-python-all-you-need-to-know\/","rel":[],"type":"regular","pageId":null,"icon":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2024\/03\/image7-1.png","desc":"Writing a function in Python: All you need to know"}}],"backgroundColor":{"color":{"r":224,"g":170,"b":255}},"animations":[{"id":"9b95d3e2-6f93-419a-9464-720e18d6c078","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["13c591dc-b21f-43e7-aa78-c09a255c41c8"]},{"id":"2091793e-4c60-4b01-b809-8649a7f3cf3e","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["7379c15a-cf1d-4452-8343-465d1c251958"]}],"id":"d7bd2d48-2905-4e58-8abb-f4238df6a10b"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"b81c2179-f39f-4d0c-9ab8-672722dfeaca","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Parameters: Ingredients for Your Function<\/span>","x":93,"y":21,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":107,"id":"47f23815-7179-4129-81ce-b147bb18f198","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6000,"height":4000,"sizes":{"full":{"file":"media\/unsplash:XJXWbfSo2f0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=6000&h=4000&fit=max","mimeType":"image\/jpeg","width":6000,"height":4000},"large":{"file":"media\/unsplash:XJXWbfSo2f0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=4800&h=3200&fit=max","mimeType":"image\/jpeg","width":4800,"height":3200},"3600_2400":{"file":"media\/unsplash:XJXWbfSo2f0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=3600&h=2400&fit=max","mimeType":"image\/jpeg","width":3600,"height":2400},"2400_1600":{"file":"media\/unsplash:XJXWbfSo2f0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=2400&h=1600&fit=max","mimeType":"image\/jpeg","width":2400,"height":1600},"1200_800":{"file":"media\/unsplash:XJXWbfSo2f0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=1200&h=800&fit=max","mimeType":"image\/jpeg","width":1200,"height":800},"web_stories_thumbnail":{"file":"media\/unsplash:XJXWbfSo2f0","sourceUrl":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:XJXWbfSo2f0","baseColor":"#0c2640","blurHash":"L44.Y:jeDhj:.As:acWBR4s:x^WX","creationDate":"2017-03-04T01:23:15Z","src":"https:\/\/images.unsplash.com\/photo-1488590528505-98d2b5aba04b?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxmdW5jdGlvbnxlbnwwfHx8fDE3MTQ3MzE0Njh8MA&ixlib=rb-4.0.3&fm=jpg&w=6000&h=4000&fit=max","alt":"turned on gray laptop computer","attribution":{"author":{"displayName":"Luca Bravo","url":"https:\/\/unsplash.com\/@lucabravo?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL2XM3mKQKoXshi%2Bg1KUMan%2BQTPVdVruHB\/SsnA\/XPJIPFzSB6h9otzQIfN7W3lA7E7a\/qJryEzcl8vMBVoId\/i\/W2U0aYh5bJl7FhgFP02RczSA9RAzze7U3smZtpR3C9LTHwMMHfJGtQACBc%2BFkGG4xILoZ2dPZMVKv5pPZlt3eXJKidsEUxzwxCPcu9joqYmLIffzyX8FL\/8oFPBv1a7wjOMUJmJIwNaM6iRqR1dzDXQ%3D"}},"x":65,"y":169,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"5ac83361-4e15-4100-879e-61d9e5d0f7c8","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Parameters act like placeholders for data you'll give your function when you call it. Think of them as ingredients for a recipe!","x":63,"y":395,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":180,"id":"04c94f5c-5369-47b4-a1e6-02bf94eda012","type":"text"}],"backgroundColor":{"color":{"r":224,"g":170,"b":255}},"animations":[{"id":"9793ddef-8584-42ca-8925-53b9de1016c9","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["5ac83361-4e15-4100-879e-61d9e5d0f7c8"]}],"id":"9163ba24-741e-4832-ae4b-140f9a77174f"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"5bdacdf3-8818-4865-a745-a6c4fd4ccb7b","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Indentation: Key for Function Body<\/span>","x":93,"y":21,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":107,"id":"ede2ce64-73cc-4ee8-bc69-43fb14a8223a","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6000,"height":3376,"sizes":{"full":{"file":"media\/unsplash:vpOeXr5wmR4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=6000&h=3376&fit=max","mimeType":"image\/jpeg","width":6000,"height":3376},"large":{"file":"media\/unsplash:vpOeXr5wmR4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=4800&h=2701&fit=max","mimeType":"image\/jpeg","width":4800,"height":2701},"3600_2026":{"file":"media\/unsplash:vpOeXr5wmR4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=3600&h=2026&fit=max","mimeType":"image\/jpeg","width":3600,"height":2026},"2400_1350":{"file":"media\/unsplash:vpOeXr5wmR4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=2400&h=1350&fit=max","mimeType":"image\/jpeg","width":2400,"height":1350},"1200_675":{"file":"media\/unsplash:vpOeXr5wmR4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=1200&h=675&fit=max","mimeType":"image\/jpeg","width":1200,"height":675},"web_stories_thumbnail":{"file":"media\/unsplash:vpOeXr5wmR4","sourceUrl":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=340&h=191&fit=max","mimeType":"image\/jpeg","width":340,"height":191}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:vpOeXr5wmR4","baseColor":"#262640","blurHash":"LKG98O9G~qxv~VoztQt8?HV[WAIU","creationDate":"2020-04-23T05:50:23Z","src":"https:\/\/images.unsplash.com\/photo-1587620962725-abab7fe55159?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw1fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=6000&h=3376&fit=max","alt":"black laptop computer turned on on table","attribution":{"author":{"displayName":"James Harrison","url":"https:\/\/unsplash.com\/@jstrippa?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL2%2BX8%2BzBCPtDueAMZ%2BXmXBd9Wb6JpTEsE1HpK9LStI6Bhe\/7QQLFY\/nfWfZ6t5%2Bv%2BYCu2Qx14NonBOiHLjS8isdEoKK2V126lzDmHdK7KE8ri6E0yVzs04AdR88zbpE2cY%2BeeJ7Z\/ZQkQHzkCsl3M8OK1F4cM7jly9XE114x3DI96jkTCr84bl%2BX\/3SJHr%2Bz\/bP9%2BJN8j2Hu139IekY74GfzTkJbfdLE5xxXuo%3D"}},"x":65,"y":181,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"180d4fc9-4fba-4c91-a0f8-a7fb226399a5","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Indent the code inside your function to tell Python what belongs to it. Proper indentation is key!","x":62,"y":407,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":149,"id":"12ed631e-9b2a-422e-a453-ba9e5509e37e","type":"text"}],"backgroundColor":{"color":{"r":224,"g":170,"b":255}},"animations":[{"id":"15d5ae2f-1cd9-419a-aa07-930453d8883b","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["180d4fc9-4fba-4c91-a0f8-a7fb226399a5"]}],"id":"3e2f17ac-e5ab-412f-b708-659c7809207b"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"0d1e99eb-f98f-44db-9cff-765fa82db05c","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Returning Values: Sending Data Back<\/span>","x":93,"y":27,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":107,"id":"f63b6aa7-6021-49d9-b938-4c40af131115","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":5184,"height":3456,"sizes":{"full":{"file":"media\/unsplash:f77Bh3inUpE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","mimeType":"image\/jpeg","width":5184,"height":3456},"large":{"file":"media\/unsplash:f77Bh3inUpE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=4147&h=2765&fit=max","mimeType":"image\/jpeg","width":4147,"height":2765},"3110_2073":{"file":"media\/unsplash:f77Bh3inUpE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=3110&h=2073&fit=max","mimeType":"image\/jpeg","width":3110,"height":2073},"2073_1382":{"file":"media\/unsplash:f77Bh3inUpE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=2073&h=1382&fit=max","mimeType":"image\/jpeg","width":2073,"height":1382},"1036_691":{"file":"media\/unsplash:f77Bh3inUpE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=1036&h=691&fit=max","mimeType":"image\/jpeg","width":1036,"height":691},"web_stories_thumbnail":{"file":"media\/unsplash:f77Bh3inUpE","sourceUrl":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:f77Bh3inUpE","baseColor":"#0c2640","blurHash":"L23SbW?wwEtRDhDhI9Rj-O%itnV?","creationDate":"2019-04-12T11:02:34Z","src":"https:\/\/images.unsplash.com\/photo-1555066931-4365d14bab8c?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHw2fHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=5184&h=3456&fit=max","alt":"turned-on MacBook Pro wit programming codes display","attribution":{"author":{"displayName":"Arnold Francisca","url":"https:\/\/unsplash.com\/@clark_fransa?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL34EV8519H72ifEZjXjLBTBFf8znM79zpILe2nYl%2BSj8OLq%2BusZ9sWRh6AI55zBgmAcacHEseQ6lnI\/dDInEm%2BZvc64SyG8dfZMQSfJ%2BstsCrII6\/J72oznUe592bUDv%2BzAms4210wV2XE\/RQKK79GjHd2EqQz69qw7Wj5\/Mz2CJLJGcmof%2BWn5By5eVWp9DtO%2BQtBHm0rStRPNq2Qru46HtDbG2cYA4xxsugE%3D"}},"x":66,"y":193,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"09b9b97c-3ee8-4f0b-bb5f-b3e761a368fb","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Functions can return values using the \"return\" statement. This sends data back to the code that called the function.","x":61,"y":408,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":149,"id":"697b24d0-cccd-4bae-bbc6-f7853b5e088b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":27,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Read more<\/span>","x":144,"y":578,"width":145,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":31,"id":"fea859bf-f0f2-4a5e-920d-eb0139b33dd8","link":{"needsProxy":false,"url":"https:\/\/pickl.ai\/blog\/powerful-python-libraries-to-automate-partial-eda\/","rel":[],"type":"regular","pageId":null,"icon":"https:\/\/pickl.ai\/blog\/wp-content\/uploads\/2023\/12\/Powerful-Python-Libraries-to-Partially-Automate-EDA.jpg","desc":"Explore data effortlessly with Python Libraries for (Partial) EDA"}}],"backgroundColor":{"color":{"r":224,"g":170,"b":255}},"animations":[{"id":"5efd2db9-bb52-4ee3-bfd6-6d04059d3f5c","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["09b9b97c-3ee8-4f0b-bb5f-b3e761a368fb"]},{"id":"2088d2a9-aed6-434a-bb29-7544697ec1f4","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["fea859bf-f0f2-4a5e-920d-eb0139b33dd8"]}],"id":"cf2ac2e0-c01a-4eea-8c6f-8053b67b0376"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"f10d0426-5eee-47ad-89eb-7cbe6e721274","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Calling a Function: Giving it a Task<\/span>","x":93,"y":29,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":107,"id":"d11c6d67-1917-4dd3-bc19-2f122950f98a","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":3882,"height":2584,"sizes":{"full":{"file":"media\/unsplash:m_HRfLhgABo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=3882&h=2584&fit=max","mimeType":"image\/jpeg","width":3882,"height":2584},"large":{"file":"media\/unsplash:m_HRfLhgABo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=3105&h=2067&fit=max","mimeType":"image\/jpeg","width":3105,"height":2067},"2329_1550":{"file":"media\/unsplash:m_HRfLhgABo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=2329&h=1550&fit=max","mimeType":"image\/jpeg","width":2329,"height":1550},"1552_1033":{"file":"media\/unsplash:m_HRfLhgABo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=1552&h=1033&fit=max","mimeType":"image\/jpeg","width":1552,"height":1033},"776_517":{"file":"media\/unsplash:m_HRfLhgABo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=776&h=517&fit=max","mimeType":"image\/jpeg","width":776,"height":517},"web_stories_thumbnail":{"file":"media\/unsplash:m_HRfLhgABo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=340&h=226&fit=max","mimeType":"image\/jpeg","width":340,"height":226}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:m_HRfLhgABo","baseColor":"#d9d9d9","blurHash":"LJKe7pD%t69F~q-;ofRj_3jZ4nV@","creationDate":"2017-06-21T13:02:23Z","src":"https:\/\/images.unsplash.com\/photo-1498050108023-c5249f4df085?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwyfHxjb2RlfGVufDB8fHx8MTcxNDczMTkzOHww&ixlib=rb-4.0.3&fm=jpg&w=3882&h=2584&fit=max","alt":"A MacBook with lines of code on its screen on a busy desk","attribution":{"author":{"displayName":"Christopher Gower","url":"https:\/\/unsplash.com\/@cgower?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL0yBrZ3Ti\/AqQ1r8K8kxF%2BswuT2mA26iAyIX8E4jqE7fSUTk%2Bw4QZv6JyGWimjoADLHp701yQ1RUDdUDKqfd35LGnmNepObGoAGz%2BT7UJzExE50l7c0Lz412zqlu2LJw0mYR5H8lWo8tOvsIGg50Y7KyLvguXGfRFzXAQTPb53pfBtEb3ymVfNvzaDs6iKs63c\/NOCUBPqzzqesztRSj9LJS\/%2BPo8UWkGOm1ok%3D"}},"x":66,"y":193,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"650e904f-a851-4648-abcf-331d40e3a975","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"Calling a function is like giving it a task. Use the function name with parentheses, including any data it needs (arguments).","x":62,"y":406,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":180,"id":"651677f4-ea5e-4451-8e5c-5c7740f29af6","type":"text"}],"backgroundColor":{"color":{"r":224,"g":170,"b":255}},"animations":[{"id":"956b59ad-ba9d-4f56-aafb-f161065227da","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["650e904f-a851-4648-abcf-331d40e3a975"]}],"id":"7c06a348-6b80-4bc5-96ea-8c1b387233ca"},{"elements":[{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"x":1,"y":1,"width":1,"height":1,"mask":{"type":"rectangle"},"isBackground":true,"isDefaultBackground":true,"id":"a69797ff-23d0-4bda-81c3-16bd438eeaf6","type":"shape"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":30,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Power of Functions: Break Down, Conquer!<\/span>","x":93,"y":39,"width":228,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":107,"id":"6ad03481-1dde-4241-9a13-17e36fd7e4ed","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":360,"lockAspectRatio":false,"scale":100,"focalX":50,"focalY":50,"resource":{"type":"image","mimeType":"image\/jpeg","width":6000,"height":4000,"sizes":{"full":{"file":"media\/unsplash:gTs2w7bu3Qo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=6000&h=4000&fit=max","mimeType":"image\/jpeg","width":6000,"height":4000},"large":{"file":"media\/unsplash:gTs2w7bu3Qo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=4800&h=3200&fit=max","mimeType":"image\/jpeg","width":4800,"height":3200},"3600_2400":{"file":"media\/unsplash:gTs2w7bu3Qo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=3600&h=2400&fit=max","mimeType":"image\/jpeg","width":3600,"height":2400},"2400_1600":{"file":"media\/unsplash:gTs2w7bu3Qo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=2400&h=1600&fit=max","mimeType":"image\/jpeg","width":2400,"height":1600},"1200_800":{"file":"media\/unsplash:gTs2w7bu3Qo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=1200&h=800&fit=max","mimeType":"image\/jpeg","width":1200,"height":800},"web_stories_thumbnail":{"file":"media\/unsplash:gTs2w7bu3Qo","sourceUrl":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=340&h=227&fit=max","mimeType":"image\/jpeg","width":340,"height":227}},"isPlaceholder":false,"isExternal":true,"needsProxy":false,"id":"media\/unsplash:gTs2w7bu3Qo","baseColor":"#d9d9d9","blurHash":"LYJRaOIU-;-;~qIUM{ayRjt7IUM{","creationDate":"2020-10-18T03:47:16Z","src":"https:\/\/images.unsplash.com\/photo-1602992708529-c9fdb12905c9?ixid=M3wxMzcxOTN8MHwxfHNlYXJjaHwxNnx8Y29kZXxlbnwwfHx8fDE3MTQ3MzE5Mzh8MA&ixlib=rb-4.0.3&fm=jpg&w=6000&h=4000&fit=max","alt":"man in black long sleeve shirt wearing black headphones sitting on chair","attribution":{"author":{"displayName":"Nubelson Fernandes","url":"https:\/\/unsplash.com\/@nublson?utm_source=web_stories_wordpress&utm_medium=referral"},"registerUsageUrl":"https:\/\/media3p.googleapis.com\/v1\/media:registerUsage?token=AccGTL0OXYDutKi2Mcs7jp9z\/SPAxdZQpcvxekVKL7TiMWrV7TH633UoYH%2B6sFsxBY27njtgqIH9zyaWIE8\/QwC3sFKM5sxSPWYcll4TKZp9tesLYxkGcOIyNY1TtNlNhHimsYoQZGWbhK4IqOQTTiJQU7lj2NwdAct4uAIiBPpFiwdyUBRC%2B%2BlP04obEHbhNJYQDQPXvBo4RtoSUJ2BVQb%2Bt9NBkexMjNSGsgeDZ9onIw%3D%3D"}},"x":66,"y":193,"width":283,"height":173,"mask":{"type":"rectangle","showInLibrary":true,"name":"Rectangle","path":"M 0,0 1,0 1,1 0,1 0,0 Z","ratio":1,"supportsBorder":true},"id":"3ef27532-78ea-4763-8be7-482e0eb9457e","type":"image"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":25,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"center","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"With functions, you can write complex programs by breaking them down into smaller, reusable steps. Happy coding!","x":61,"y":397,"width":288,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"height":149,"id":"a93ac2c4-23e5-4ecc-b5d2-ac26b0ae405b","type":"text"},{"opacity":100,"flip":{"vertical":false,"horizontal":false},"rotationAngle":0,"lockAspectRatio":true,"backgroundTextMode":"NONE","font":{"family":"Roboto"},"fontSize":27,"backgroundColor":{"color":{"r":196,"g":196,"b":196}},"lineHeight":1.2,"textAlign":"left","padding":{"locked":true,"hasHiddenPadding":false,"horizontal":0,"vertical":0},"content":"<span style=\"font-weight: 700\">Read more<\/span>","x":135,"y":577,"width":145,"borderRadius":{"locked":true,"topLeft":2,"topRight":2,"bottomRight":2,"bottomLeft":2},"type":"text","height":31,"id":"3fbbfd57-0541-4c71-bddc-a2c5b60e98aa","link":{"needsProxy":false,"url":"https:\/\/With functions, you can write complex programs by breaking them down into smaller, reusable steps. Happy coding!","rel":[],"type":"regular","pageId":null,"icon":null,"desc":null}}],"backgroundColor":{"color":{"r":224,"g":170,"b":255}},"animations":[{"id":"083bfde0-a2ab-402e-8d4a-c8c56f022d3f","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["3ef27532-78ea-4763-8be7-482e0eb9457e"]},{"id":"5786dbfe-095e-4520-ad3d-bcb6479013a8","type":"effect-zoom","scaleDirection":"scaleIn","duration":2000,"delay":0,"targets":["3fbbfd57-0541-4c71-bddc-a2c5b60e98aa"]}],"id":"d3861f23-4e22-449f-989f-9895ada5b2b4"}],"fonts":{"Roboto":{"family":"Roboto","fallbacks":["sans-serif"],"weights":[100,300,400,500,700,900],"styles":["italic","regular"],"variants":[[0,100],[1,100],[0,300],[1,300],[0,400],[1,400],[0,500],[1,500],[0,700],[1,700],[0,900],[1,900]],"service":"fonts.google.com","metrics":{"upm":2048,"asc":1900,"des":-500,"tAsc":1536,"tDes":-512,"tLGap":102,"wAsc":1946,"wDes":512,"xH":1082,"capH":1456,"yMin":-555,"yMax":2163,"hAsc":1900,"hDes":-500,"lGap":0}}},"autoAdvance":true,"defaultPageDuration":7,"currentStoryStyles":{"colors":[]}},"story_poster":{"id":7646,"url":"https:\/\/www.pickl.ai\/blog\/wp-content\/uploads\/2024\/05\/cropped-pexels-vlada-karpovich-4050290-scaled-1.jpg","width":640,"height":853,"needsProxy":false},"_links":{"self":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/7623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story"}],"about":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/wp\/v2\/types\/web-story"}],"author":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/users\/1"}],"version-history":[{"count":7,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/7623\/revisions"}],"predecessor-version":[{"id":7647,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/7623\/revisions\/7647"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/media\/7646"}],"wp:attachment":[{"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/media?parent=7623"}],"wp:term":[{"taxonomy":"web_story_category","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web_story_category?post=7623"},{"taxonomy":"web_story_tag","embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web_story_tag?post=7623"}],"wp:lock":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/web-story\/7623\/lock"}],"wp:publisherlogo":[{"embeddable":true,"href":"https:\/\/www.pickl.ai\/blog\/wp-json\/web-stories\/v1\/media\/935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}