{"id":9574,"date":"2023-05-15T13:36:53","date_gmt":"2023-05-15T08:06:53","guid":{"rendered":"https:\/\/neonpolice.com\/?p=9574"},"modified":"2024-03-27T13:19:28","modified_gmt":"2024-03-27T07:49:28","slug":"python-function","status":"publish","type":"post","link":"https:\/\/neonpolice.com\/kr\/python-function\/","title":{"rendered":"\ud30c\uc774\uc36c \ud568\uc218 \uc18c\uac1c"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">\ud30c\uc774\uc36c\uc758 \ud568\uc218\ub294 \uc5b8\uc5b4\uc758 \uae30\ubcf8 \uad6c\uc870\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub354 \ud070 \ud504\ub85c\uadf8\ub7a8\uc744 \ub354 \uc791\uace0 \uad00\ub9ac\ud558\uae30 \uc26c\uc6b4 \uc870\uac01\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c \ucf54\ub4dc \uc7ac\uc0ac\uc6a9\uc131\uc744 \uc9c0\uc6d0\ud558\uc5ec \ucf54\ub4dc \ube14\ub85d\uc744 \ub9e4\ubc88 \ub2e4\uc2dc \uc791\uc131\ud558\uc9c0 \uc54a\uace0\ub3c4 \uc5ec\ub7ec \ubc88 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774\ub294 \ubaa8\ub4c8\uc744 \uc0ac\uc6a9\ud558\ub294 \ub610 \ub2e4\ub978 \uc774\uc810\uc785\ub2c8\ub2e4. <\/span><span style=\"font-weight: 400;\">\ub370\uc774\ud130\ucea0\ud504<\/span><span style=\"font-weight: 400;\">. Python \ud568\uc218\ub294 \ud504\ub85c\uadf8\ub7a8\uc758 \uc5b4\ub290 \uacf3\uc5d0\uc11c\ub098 \ud638\ucd9c\ub420 \uc218 \uc788\uace0 \uac12\uc744 \ubc18\ud658\ud560 \uc218\ub3c4 \uc788\uc73c\ubbc0\ub85c, \ub2e4\uc591\ud55c \ubcf5\uc7a1\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub9e4\uc6b0 \ub2e4\uc7ac\ub2e4\ub2a5\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4.\t\t<div class=\"web-stories-list alignnone has-archive-link is-view-type-circles is-style-default is-carousel\" data-id=\"1\">\n\t\t\t<div\n\t\t\tclass=\"web-stories-list__inner-wrapper carousel-1\"\n\t\t\tstyle=\"--ws-circle-size:100px\"\n\t\t\t>\n\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\tclass=\"web-stories-list__carousel circles\"\n\t\t\t\t\tdata-id=\"carousel-1\"\n\t\t\t\t\tdata-prev=\"Previous\"\n\t\t\t\t\tdata-next=\"Next\"\n\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<div\n\t\t\t\tclass=\"web-stories-list__story\"\n\t\t\t\tdata-wp-interactive=\"web-stories-block\"\n\t\t\t\tdata-wp-context='{\"instanceId\":1}'\t\t\t\tdata-wp-on--click=\"actions.open\"\n\t\t\t\tdata-wp-on-window--popstate=\"actions.onPopstate\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<div class=\"web-stories-list__story-poster\">\n\t\t\t\t<a href=\"https:\/\/neonpolice.com\/kr\/web-stories\/your-ultimate-checklist-of-baby-essentials\/\" >\n\t\t\t\t\t<img\n\t\t\t\t\t\tsrc=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2024\/01\/cropped-baby_essentials_checklist-hero-GettyImages-1413731369.webp\"\n\t\t\t\t\t\talt=\"Your Ultimate Checklist of Baby Essentials\"\n\t\t\t\t\t\twidth=\"185\"\n\t\t\t\t\t\theight=\"308\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsrcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2024\/01\/cropped-baby_essentials_checklist-hero-GettyImages-1413731369.webp 640w, https:\/\/neonpolice.com\/wp-content\/uploads\/2024\/01\/cropped-baby_essentials_checklist-hero-GettyImages-1413731369-225x300.webp 225w, https:\/\/neonpolice.com\/wp-content\/uploads\/2024\/01\/cropped-baby_essentials_checklist-hero-GettyImages-1413731369-585x780.webp 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2024\/01\/cropped-baby_essentials_checklist-hero-GettyImages-1413731369-150x200.webp 150w\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsizes=\"auto, (max-width: 640px) 100vw, 640px\"\n\t\t\t\t\t\t\t\t\t\t\t\tloading=\"lazy\"\n\t\t\t\t\t\tdecoding=\"async\"\n\t\t\t\t\t>\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div\n\t\t\t\tclass=\"web-stories-list__story\"\n\t\t\t\tdata-wp-interactive=\"web-stories-block\"\n\t\t\t\tdata-wp-context='{\"instanceId\":1}'\t\t\t\tdata-wp-on--click=\"actions.open\"\n\t\t\t\tdata-wp-on-window--popstate=\"actions.onPopstate\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<div class=\"web-stories-list__story-poster\">\n\t\t\t\t<a href=\"https:\/\/neonpolice.com\/kr\/web-stories\/youll-absolutely-love-these-moisturizers-for-dry-skin\/\" >\n\t\t\t\t\t<img\n\t\t\t\t\t\tsrc=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-3-23.webp\"\n\t\t\t\t\t\talt=\"YOU\u2019LL ABSOLUTELY LOVE THESE MOISTURIZERS FOR DRY SKIN\"\n\t\t\t\t\t\twidth=\"185\"\n\t\t\t\t\t\theight=\"308\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsrcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-3-23.webp 640w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-3-23-225x300.webp 225w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-3-23-585x780.webp 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-3-23-150x200.webp 150w\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsizes=\"auto, (max-width: 640px) 100vw, 640px\"\n\t\t\t\t\t\t\t\t\t\t\t\tloading=\"lazy\"\n\t\t\t\t\t\tdecoding=\"async\"\n\t\t\t\t\t>\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div\n\t\t\t\tclass=\"web-stories-list__story\"\n\t\t\t\tdata-wp-interactive=\"web-stories-block\"\n\t\t\t\tdata-wp-context='{\"instanceId\":1}'\t\t\t\tdata-wp-on--click=\"actions.open\"\n\t\t\t\tdata-wp-on-window--popstate=\"actions.onPopstate\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<div class=\"web-stories-list__story-poster\">\n\t\t\t\t<a href=\"https:\/\/neonpolice.com\/kr\/web-stories\/top-18-white-sneakers-for-women\/\" >\n\t\t\t\t\t<img\n\t\t\t\t\t\tsrc=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-10-2.webp\"\n\t\t\t\t\t\talt=\"WHITE SNEAKERS FOR WOMEN\"\n\t\t\t\t\t\twidth=\"185\"\n\t\t\t\t\t\theight=\"308\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsrcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-10-2.webp 640w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-10-2-225x300.webp 225w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-10-2-585x780.webp 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-10-2-150x200.webp 150w\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsizes=\"auto, (max-width: 640px) 100vw, 640px\"\n\t\t\t\t\t\t\t\t\t\t\t\tloading=\"lazy\"\n\t\t\t\t\t\tdecoding=\"async\"\n\t\t\t\t\t>\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div\n\t\t\t\tclass=\"web-stories-list__story\"\n\t\t\t\tdata-wp-interactive=\"web-stories-block\"\n\t\t\t\tdata-wp-context='{\"instanceId\":1}'\t\t\t\tdata-wp-on--click=\"actions.open\"\n\t\t\t\tdata-wp-on-window--popstate=\"actions.onPopstate\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<div class=\"web-stories-list__story-poster\">\n\t\t\t\t<a href=\"https:\/\/neonpolice.com\/kr\/web-stories\/what-clothing-brands-do-kids-like\/\" >\n\t\t\t\t\t<img\n\t\t\t\t\t\tsrc=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-Untitled-design-8.webp\"\n\t\t\t\t\t\talt=\"WHAT CLOTHING BRANDS DO KIDS LIKE?\"\n\t\t\t\t\t\twidth=\"185\"\n\t\t\t\t\t\theight=\"308\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsrcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-Untitled-design-8.webp 640w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-Untitled-design-8-225x300.webp 225w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-Untitled-design-8-585x780.webp 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2022\/10\/cropped-Untitled-design-8-150x200.webp 150w\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsizes=\"auto, (max-width: 640px) 100vw, 640px\"\n\t\t\t\t\t\t\t\t\t\t\t\tloading=\"lazy\"\n\t\t\t\t\t\tdecoding=\"async\"\n\t\t\t\t\t>\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div\n\t\t\t\tclass=\"web-stories-list__story\"\n\t\t\t\tdata-wp-interactive=\"web-stories-block\"\n\t\t\t\tdata-wp-context='{\"instanceId\":1}'\t\t\t\tdata-wp-on--click=\"actions.open\"\n\t\t\t\tdata-wp-on-window--popstate=\"actions.onPopstate\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<div class=\"web-stories-list__story-poster\">\n\t\t\t\t<a href=\"https:\/\/neonpolice.com\/kr\/web-stories\/ways-to-reuse-your-wedding-dresses\/\" >\n\t\t\t\t\t<img\n\t\t\t\t\t\tsrc=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/10\/cropped-wedding-dress-640x853.jpg\"\n\t\t\t\t\t\talt=\"Ways To Reuse Your Wedding Dresses\"\n\t\t\t\t\t\twidth=\"185\"\n\t\t\t\t\t\theight=\"308\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsrcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/10\/cropped-wedding-dress.jpg 640w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/10\/cropped-wedding-dress-225x300.jpg 225w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/10\/cropped-wedding-dress-9x12.jpg 9w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/10\/cropped-wedding-dress-585x780.jpg 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/10\/cropped-wedding-dress-150x200.jpg 150w\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsizes=\"auto, (max-width: 640px) 100vw, 640px\"\n\t\t\t\t\t\t\t\t\t\t\t\tloading=\"lazy\"\n\t\t\t\t\t\tdecoding=\"async\"\n\t\t\t\t\t>\n\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<div tabindex=\"0\" aria-label=\"Previous\" class=\"glider-prev\"><\/div>\n\t\t\t\t\t<div tabindex=\"0\" aria-label=\"Next\" class=\"glider-next\"><\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/span><\/p>\n<hr \/>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_78 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\ubaa9\ucc28<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\ubaa9\ucc28 \ud1a0\uae00\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">\ube44\ub140\uc7a5<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Defining_a_Python_Function\" >\ud30c\uc774\uc36c \ud568\uc218 \uc815\uc758\ud558\uae30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Function_Parameters_and_Arguments\" >\ud568\uc218 \ub9e4\uac1c\ubcc0\uc218 \ubc0f \uc778\uc218<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Calling_a_Python_Function\" >\ud30c\uc774\uc36c \ud568\uc218 \ud638\ucd9c<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Returning_Values_from_a_Python_Function\" >\ud30c\uc774\uc36c \ud568\uc218\uc5d0\uc11c \uac12 \ubc18\ud658\ud558\uae30<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#What_is_the_built-in_Python_function\" >Python \ub0b4\uc7a5 \ud568\uc218\ub294 \ubb34\uc5c7\uc778\uac00\uc694?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Definition\" >\uc815\uc758<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Why_are_Built-in_Functions_Important\" >\ub0b4\uc7a5 \ud568\uc218\uac00 \uc911\uc694\ud55c \uc774\uc720\ub294 \ubb34\uc5c7\uc785\ub2c8\uae4c?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#Conclusion\" >\uacb0\ub860<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/neonpolice.com\/kr\/python-function\/#FAQs\" >\uc790\uc8fc \ubb3b\ub294 \uc9c8\ubb38<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Defining_a_Python_Function\"><\/span><span style=\"font-weight: 400;\">\ud30c\uc774\uc36c \ud568\uc218 \uc815\uc758\ud558\uae30<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div id=\"attachment_9592\" style=\"width: 910px\" class=\"wp-caption alignnone\"><img decoding=\"async\" aria-describedby=\"caption-attachment-9592\" class=\"size-full wp-image-9592\" src=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon.jpg\" alt=\"Defining a Python Function\" width=\"900\" height=\"500\" srcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon.jpg 900w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon-300x167.jpg 300w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon-768x427.jpg 768w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon-18x10.jpg 18w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon-585x325.jpg 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133254.785_11zon-150x83.jpg 150w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9592\" class=\"wp-caption-text\">\ud30c\uc774\uc36c \ud568\uc218 \uc815\uc758 | neonpolice<\/p><\/div>\n<p><span style=\"font-weight: 400;\">\ud30c\uc774\uc36c\uc5d0\uc11c \ud568\uc218\ub294 &quot;def&quot; \ud0a4\uc6cc\ub4dc\ub85c \uc2dc\uc791\ud558\uace0, \uadf8 \ub4a4\uc5d0 \ud568\uc218 \uc774\ub984\uc744 \ubd99\uc774\uace0, \uad04\ud638 \ud55c \uc30d\uc73c\ub85c \ub05d\ub0b4\uba74 \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad04\ud638\uc5d0\ub294 \ud568\uc218\uac00 \uc791\uc5c5\uc744 \uc218\ud589\ud558\ub294 \ub370 \ud544\uc694\ud558\uc9c0 \uc54a\uc740 \ub9e4\uac1c\ubcc0\uc218\uac00 \ud3ec\ud568\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud568\uc218\uc758 \ubcf8\ubb38\uc740 \ub4e4\uc5ec\uc4f0\uae30\uac00 \ub418\uc5b4 \uc788\uc73c\uba70, \uc870\uac74\ubb38\uc744 \ud3ec\ud568\ud558\uc5ec \uc5ec\ub7ec \uac1c\uc758 \uba85\ub839\ubb38\uc744 \ud3ec\ud568\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\"> \ub8e8\ud504 \ubc0f \uae30\ud0c0 \uae30\ub2a5<\/a>\u2014\uadf8\ub9ac\uace0 \ub2e4\ub978 \uc885\ub958\uc758 \uc9c4\uc220\ub3c4 \ub9c8\ucc2c\uac00\uc9c0\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c\uc740 \uba54\uc2dc\uc9c0\ub97c \ucd9c\ub825\ud558\ub294 \uac04\ub2e8\ud55c Python \ud504\ub85c\uc2dc\uc800\uc758 \uadf8\ub9bc\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">def print_message():<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0print(\u201c\uc548\ub155\ud558\uc138\uc694, \uc138\uc0c1!\u201d)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774 \uc608\uc81c\uc5d0\uc11c \uc6b0\ub9ac\ub294 \uc778\uc218\ub97c \ubc1b\uc9c0 \uc54a\uace0 \ud638\ucd9c\ub418\uba74 \ub2e8\uc21c\ud788 &quot;Hello, world!&quot;\ub77c\ub294 \uba54\uc2dc\uc9c0\ub97c \uc778\uc1c4\ud558\ub294 &quot;print_message&quot;\ub77c\ub294 \ud568\uc218\ub97c \uc815\uc758\ud588\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Function_Parameters_and_Arguments\"><\/span><span style=\"font-weight: 400;\">\ud568\uc218 \ub9e4\uac1c\ubcc0\uc218 \ubc0f \uc778\uc218<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Python \ud568\uc218\uc5d0\ub294 \ub2e4\uc74c \uae30\ub2a5\uc774 \uc788\uc2b5\ub2c8\ub2e4. <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">\ud558\ub098 \uc774\uc0c1\uc758 \ub9e4\uac1c\ubcc0\uc218\ub97c \ucde8\ud558\ub2e4<\/a>, \uc774\ub294 \ubcf8\uc9c8\uc801\uc73c\ub85c \ud568\uc218\uac00 \ubaa9\uc801\uc744 \uc218\ud589\ud558\uae30 \uc704\ud574 \ud544\uc694\ub85c \ud558\ub294 \uc815\ubcf4\ub97c \ub300\uc2e0\ud558\ub294 \ub370\uc774\ud130 \uc2a4\ud141\uc785\ub2c8\ub2e4. \ud568\uc218\uc758 \ub9e4\uac1c\ubcc0\uc218\uc5d0 \uc804\ub2ec\ub418\ub294 \uac12\uc740 \ud568\uc218\uac00 \ud638\ucd9c\ub420 \ub54c \uc778\uc218\ub77c\uace0 \ud569\ub2c8\ub2e4. \ub9e4\uac1c\ubcc0\uc218\uc640 \uc778\uc218\ub294 \ubaa8\ub450 \ubb38\uc790\uc5f4, \uc815\uc218, \ubd80\ub3d9 \uc18c\uc218\uc810 \ub610\ub294 \uc644\uc804\ud788 \ub2e4\ub978 \uac83\uacfc \uac19\uc740 \ubaa8\ub4e0 \ub370\uc774\ud130 \ud615\uc2dd\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c\uc740 \ub2e4\uc74c\uc758 \uadf8\ub9bc\uc785\ub2c8\ub2e4. <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">\ubc1b\ub294 Python \ud568\uc218<\/a> \ub450 \uac1c\uc758 \ub9e4\uac1c\ubcc0\uc218\ub97c \uc785\ub825\ud558\uace0 \ud574\ub2f9 \ub9e4\uac1c\ubcc0\uc218\uc758 \ud569\uc744 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">def add_numbers(x, y):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0x + y\ub97c \ubc18\ud658<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc5ec\uae30\uc5d0 \ud45c\uc2dc\ub41c &quot;add_numbers&quot; \uba54\uc11c\ub4dc\ub294 \uc785\ub825 \uc778\uc218\ub85c &quot;x&quot;\uc640 &quot;y&quot; \uac12\uc744 \ud5c8\uc6a9\ud569\ub2c8\ub2e4. \ud568\uc218 \ubcf8\ubb38\uc740 \uc774 \ub450 \ub9e4\uac1c\ubcc0\uc218\uc758 \ud569\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/span><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Calling_a_Python_Function\"><\/span><span style=\"font-weight: 400;\">\ud30c\uc774\uc36c \ud568\uc218 \ud638\ucd9c<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Python \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub824\uba74 \uac04\ub2e8\ud788 \ub2e4\uc74c\uacfc \uac19\uc774 \ud569\ub2c8\ub2e4. <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">\ud568\uc218 \uc774\ub984\uc744 \ub4a4\uc5d0 \uc0ac\uc6a9\ud558\uc138\uc694<\/a> \uad04\ud638\ub85c. \ud568\uc218\uac00 \uc778\uc218\ub97c \ubc1b\ub294 \uacbd\uc6b0, \uc6b0\ub9ac\ub294 \uc778\uc218\ub97c \uad04\ud638 \uc548\uc5d0 \uc804\ub2ec\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c\uc740 \uc55e\uc11c \uc815\uc758\ud55c &quot;print_message&quot; \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \uc608\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc778\uc1c4 \uba54\uc2dc\uc9c0()<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774 \ud568\uc218\ub97c \ud638\ucd9c\ud558\uba74 \ucf58\uc194\uc5d0 &quot;Hello, world!&quot;\ub77c\ub294 \uba54\uc2dc\uc9c0\uac00 \uc778\uc1c4\ub429\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c\uc740 \uc778\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec &quot;add_numbers&quot; \ud568\uc218\ub97c \ud638\ucd9c\ud558\ub294 \uc608\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uacb0\uacfc = add_numbers(3, 5)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc778\uc1c4(\uacb0\uacfc)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774 \uc608\uc5d0\uc11c \uc6b0\ub9ac\ub294 \uc778\uc218 3\uacfc 5\ub97c \uc0ac\uc6a9\ud558\uc5ec &quot;add_numbers&quot; \ud568\uc218\ub97c \ud638\ucd9c\ud588\uc2b5\ub2c8\ub2e4. \ud568\uc218\ub294 \ud569\uacc4\ub97c \ubc18\ud658\ud588\uace0, \uc6b0\ub9ac\ub294 \uc774\ub97c &quot;result&quot;\ub77c\ub294 \ubcc0\uc218\uc5d0 \uc800\uc7a5\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ub2e8\uacc4\ub294 &quot;results&quot;\uc758 \uc218\ub97c \ucf58\uc194\uc5d0 \ucd9c\ub825\ud558\ub294 \uac83\uc774\uc5c8\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Returning_Values_from_a_Python_Function\"><\/span><span style=\"font-weight: 400;\">\ud30c\uc774\uc36c \ud568\uc218\uc5d0\uc11c \uac12 \ubc18\ud658\ud558\uae30<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Python \ud568\uc218\ub3c4 \uac00\ub2a5\ud569\ub2c8\ub2e4 <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">\ubc18\ud658 \uac12\uc744 \uc0ac\uc6a9\ud558\uc5ec<\/a> &quot;return&quot; \ud0a4\uc6cc\ub4dc. \ud568\uc218\uac00 \uac12\uc744 \ubc18\ud658\ud558\uba74 \ubcc0\uc218\uc5d0 \ud560\ub2f9\ud558\uac70\ub098 \ud574\ub2f9 \ub370\uc774\ud130 \uc720\ud615\uc758 \uac12\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub2e4\ub978 \ubc29\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub2e4\uc74c\uc740 \uc22b\uc790\uc758 \uc81c\uacf1\uc744 \ubc18\ud658\ud558\ub294 Python \ud568\uc218\uc758 \uc608\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">def square(x):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0x **\ub85c \ub3cc\uc544\uac00\ub2e4\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc774 \uc608\uc5d0\uc11c \uc6b0\ub9ac\ub294 \ud558\ub098\uc758 \ub9e4\uac1c\ubcc0\uc218 &quot;x&quot;\ub97c \ucde8\ud558\ub294 &quot;square&quot;\ub77c\ub294 \ud568\uc218\ub97c \uc815\uc758\ud588\uc2b5\ub2c8\ub2e4. \ud568\uc218 \ubcf8\ubb38\uc740 &quot;x&quot;\uc758 \uc81c\uacf1\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc6b0\ub9ac\ub294 \uc774 \ud568\uc218\ub97c \ud638\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4 <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">\ubc18\ud658\uc744 \ud560\ub2f9\ud558\ub2e4<\/a> \ubcc0\uc218\uc5d0 \uac12\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uacb0\uacfc = square(4)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\uc778\uc1c4(\uacb0\uacfc)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\uc774 \uc608\uc5d0\uc11c \uc6b0\ub9ac\ub294 \uc778\uc218 4\ub85c &quot;square&quot; \ud568\uc218\ub97c \ud638\ucd9c\ud588\uc2b5\ub2c8\ub2e4. \ud568\uc218\ub294 4\uc758 \uc81c\uacf1(16)\uc744 \ubc18\ud658\ud588\uace0, \uc6b0\ub9ac\ub294 \uc774\ub97c &quot;result&quot;\ub77c\ub294 \ubcc0\uc218\uc5d0 \uc800\uc7a5\ud588\uc2b5\ub2c8\ub2e4. \uadf8 \ud6c4, \uc6b0\ub9ac\ub294 &quot;result&quot; \ubcc0\uc218\uc5d0 \uc800\uc7a5\ub41c \uc22b\uc790\ub97c \ucf58\uc194\uc5d0 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_is_the_built-in_Python_function\"><\/span><span style=\"font-weight: 400;\">Python \ub0b4\uc7a5 \ud568\uc218\ub294 \ubb34\uc5c7\uc778\uac00\uc694?<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div id=\"attachment_9600\" style=\"width: 910px\" class=\"wp-caption alignnone\"><img decoding=\"async\" aria-describedby=\"caption-attachment-9600\" class=\"size-full wp-image-9600\" src=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon.jpg\" alt=\"What is the built-in Python function?\" width=\"900\" height=\"500\" srcset=\"https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon.jpg 900w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon-300x167.jpg 300w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon-768x427.jpg 768w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon-18x10.jpg 18w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon-585x325.jpg 585w, https:\/\/neonpolice.com\/wp-content\/uploads\/2023\/05\/Untitled-design-2023-05-15T133454.794_11zon-150x83.jpg 150w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><p id=\"caption-attachment-9600\" class=\"wp-caption-text\">\ud30c\uc774\uc36c \ub0b4\uc7a5 \ud568\uc218\ub294 \ubb34\uc5c7\uc785\ub2c8\uae4c | neonpolice<\/p><\/div>\n<p><span style=\"font-weight: 400;\">Python\uc740 \ud574\uc11d\uc774 \uac00\ub2a5\ud558\uace0 \ub9ce\uc740 \ub0b4\uc7a5 \ud568\uc218\uac00 \ud3ec\ud568\ub41c \uace0\uae09 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud568\uc218\ub294 \uc774\ubbf8 \uc120\uc5b8\ub418\uace0 \uc815\uc758\ub418\uc5b4 \uc788\uc73c\ubbc0\ub85c Python \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc774\ub97c \uc0ac\uc6a9\ud558\uae30 \uc804\uc5d0 \ucd94\uac00 \uc120\uc5b8\uc774\ub098 \uc218\uc815\uc744 \ud560 \ud544\uc694\uac00 \uc5c6\uc2b5\ub2c8\ub2e4. Python\uc758 \ub0b4\uc7a5 \ud568\uc218 \ub355\ubd84\uc5d0 \ud504\ub85c\uadf8\ub798\ubc0d\uc774 \ub354 \uc0ac\uc6a9\uc790 \uce5c\ud654\uc801\uc774\uace0 \ud6a8\uacfc\uc801\uc774\uba70 \uc990\uac70\uc6cc\uc84c\uc2b5\ub2c8\ub2e4.<a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\"> \uc911\uc694\ud55c \uad6c\uc131 \uc694\uc18c<\/a> \ud30c\uc774\uc36c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc758<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Definition\"><\/span><span style=\"font-weight: 400;\">\uc815\uc758<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Python\uc758 \ub0b4\uc7a5 \ud568\uc218\ub780 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc640 \ud568\uaed8 \uc81c\uacf5\ub418\ub294 \ud45c\uc900 \ud328\ud0a4\uc9c0\uc5d0 \ud3ec\ud568\ub41c \ud568\uc218\ub97c \ub9d0\ud569\ub2c8\ub2e4. <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">\uc774\ub7ec\ud55c \uae30\ub2a5\uc740 \uc774\ubbf8 \uc9c0\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4<\/a> \ubbf8\ub9ac \uc815\uc758\ub41c \ud568\uc218\uc774\uae30 \ub54c\ubb38\uc5d0 \ucd94\uac00\uc801\uc778 import \ubb38\uc774\ub098 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc124\uce58 \uc5c6\uc774\ub3c4 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ud504\ub85c\uadf8\ub7a8\uc758 \ub0b4\uc7a5 \ud568\uc218\uc758 \ubaa9\uc801\uc740 \ub300\ubd80\ubd84 \ud504\ub85c\uadf8\ub7a8\uc5d0 \ud544\uc694\ud55c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud568\uc218\uc758 \uae30\ub2a5\uc740 \ubbf8\uc138 \uc870\uc815\ub418\uc5c8\uc73c\uba70, C \ub610\ub294 Python\uc73c\ub85c \uc644\uc804\ud788 \uad6c\ud604\ub418\uc5b4 \ub9e4\uc6b0 \ube60\ub974\uace0 \ud6a8\uacfc\uc801\uc785\ub2c8\ub2e4.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_are_Built-in_Functions_Important\"><\/span><span style=\"font-weight: 400;\">\ub0b4\uc7a5 \ud568\uc218\uac00 \uc911\uc694\ud55c \uc774\uc720\ub294 \ubb34\uc5c7\uc785\ub2c8\uae4c?<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">~ \uc548\uc5d0 <a href=\"https:\/\/en.wikipedia.org\/w\/index.php?search=python+function&amp;title=Special%3ASearch&amp;ns0=1\" target=\"_blank\" rel=\"noopener\">\ud30c\uc774\uc36c \ud504\ub85c\uadf8\ub798\ubc0d,<\/a> \ub0b4\uc7a5 \ud568\uc218\ub294 \uc5ec\ub7ec \uac00\uc9c0 \uc774\uc720\ub85c \ub9e4\uc6b0 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uc6b0\uc120, \ubbf8\ub9ac \uc815\uc758\ub41c \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uc5ec \uc791\uc5c5\uc744 \uc644\ub8cc\ud558\ub294 \ub370 \ud544\uc694\ud55c \uc2dc\uac04\uacfc \ub178\ub825\uc744 \uc904\uc5ec\uc90d\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \uc774\uc804 \uc120\uc5b8\uc774\ub098 \uc815\uc758 \uc5c6\uc774\ub3c4 \ud504\ub85c\uadf8\ub7a8 \ub0b4\uc5d0\uc11c \uc989\uc2dc \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub450 \ubc88\uc9f8 \uc7a5\uc810\uc740<a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\"> \ub0b4\uc7a5 \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc740<\/a>, \uc774\ubbf8 \uc131\ub2a5\uc744 \uc704\ud574 \ucd5c\uc801\ud654\ub418\uc5c8\uae30 \ub54c\ubb38\uc5d0 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218\ubcf4\ub2e4 \ud6e8\uc52c \ub354 \ube60\ub974\uac8c \ud638\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub294 C \ub610\ub294 Python \uc790\uccb4\uac00 \ub0b4\uc7a5 \ud568\uc218\ub97c \uad6c\uc131\ud558\ub294 \ub370 \uc0ac\uc6a9\ub418\uae30 \ub54c\ubb38\uc5d0 \ud568\uc218\uac00 \ub354 \ub192\uc740 \uc218\uc900\uc758 \ud6a8\uc728\uc131\uc744 \uac16\uac8c \ub418\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\ub9c8\uc9c0\ub9c9\uc73c\ub85c, \ub0b4\uc7a5 \ud568\uc218\ub294 \uc790\uc8fc \uc218\ud589\ub418\ub294 \uc5c5\ubb34\ub97c \uc644\ub8cc\ud558\ub294 \uc77c\uad00\ub41c \ubc29\ubc95\uc744 \uc81c\uacf5\ud558\uc5ec \ucf54\ub4dc\ub97c \ub354 \uc77d\uae30 \uc27d\uace0 \uc774\ud574\ud558\uae30 \uc27d\uac8c \ub9cc\ub4ed\ub2c8\ub2e4. \uc774\ub294 \ub0b4\uc7a5 \ud568\uc218\uac00 \ud45c\uc900\ud654\ub41c \uc81c\ubaa9\uacfc \uad6c\ubb38\uc744 \uac00\uc9c0\uace0 \uc788\uae30 \ub54c\ubb38\uc5d0 \uc2dd\ubcc4\ud558\uace0 \uc0ac\uc6a9\ud558\uae30\uac00 \ub354 \uac04\ub2e8\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4.<\/span><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><span style=\"font-weight: 400;\">\uacb0\ub860<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\uac04\ub2e8\ud788 \ub9d0\ud574\uc11c, <a href=\"https:\/\/neonpolice.com\/kr\/acwb\/\" target=\"_blank\" rel=\"nofollow noopener sponsored\">Python \ud568\uc218\ub294 \ud504\ub85c\uadf8\ub798\uba38\uc5d0\uac8c \uc81c\uacf5\ub429\ub2c8\ub2e4.<\/a> \ub2e4\uc591\ud55c \uc7a5\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ud070 \ud504\ub85c\uadf8\ub7a8\uc740 \uc774\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub354 \uc791\uace0 \uad00\ub9ac\ud558\uae30 \uc26c\uc6b4 \ubd80\ubd84\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc73c\ubbc0\ub85c \ucf54\ub4dc\ub97c \uc720\uc9c0 \uad00\ub9ac\ud558\uace0 \uc5c5\ub370\uc774\ud2b8\ud558\ub294 \uac83\uc774 \ud6e8\uc52c \uac04\ub2e8\ud569\ub2c8\ub2e4. \uc774 \uc678\uc5d0\ub3c4 \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uba74 \ucf54\ub4dc\ub97c \uc7ac\uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \ud504\ub85c\uc81d\ud2b8 \uacfc\uc815\uc5d0\uc11c \uc0c1\ub2f9\ud55c \uc2dc\uac04\uacfc \ub178\ub825\uc744 \uc808\uc57d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \ub2e4\uc74c\uc744 \ubc29\ubb38\ud558\uc138\uc694. <a href=\"https:\/\/neonpolice.com\/kr\/\" target=\"_blank\" rel=\"noopener\">\ub124\uc628\uacbd\ucc30.<\/a><\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQs\"><\/span><span style=\"font-weight: 400;\">\uc790\uc8fc \ubb3b\ub294 \uc9c8\ubb38<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"su-accordion su-u-trim\"><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>\ud30c\uc774\uc36c\uc758 4\uac00\uc9c0 \ud568\uc218 \uc720\ud615\uc740?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>\ub0b4\uc7a5 \ud568\uc218: \uc774\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0 \uc774\ubbf8 \uc874\uc7ac\ud558\uace0 \uc5b8\uc81c\ub4e0\uc9c0 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \uc608\ub85c\ub294 print(), len(), min(), max() \ub4f1\uc774 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218: \uc0ac\uc6a9\uc790\uac00 \uc9c0\uc815\ud558\uace0 \ud2b9\uc815 \ud65c\ub3d9\uc744 \uc218\ud589\ud558\ub294 \ub370 \ud65c\uc6a9\ud560 \uc218 \uc788\ub294 \ud568\uc218\uc785\ub2c8\ub2e4.<br \/>\n\ub78c\ub2e4 \ud568\uc218\ub294 \uc774\ub984\uc774 \uc5f0\uad00\ub418\uc9c0 \uc54a\uc740 \uc775\uba85 \ud568\uc218\uc785\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ud568\uc218\uac00 \ud55c \ubc88\ub9cc \ud638\ucd9c\ub418\ub294 \uc0c1\ud669\uc5d0\uc11c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<br \/>\n\uc7ac\uadc0 \ud568\uc218: \uc774\ub4e4\uc740 \uc790\uc2e0\uc744 \ud638\ucd9c\ud558\ub294 \ud568\uc218\ub85c, \ud2b9\uc815 \uc870\uac74\uc774 \ucda9\uc871\ub420 \ub54c\uae4c\uc9c0 \uc791\uc5c5\uc744 \ubc18\ubcf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc7ac\uadc0 \ud568\uc218\ub294 \uc790\uccb4 \ud638\ucd9c \ud568\uc218\ub77c\uace0\ub3c4 \ud569\ub2c8\ub2e4. \uc608\ub85c\ub294 \ud329\ud1a0\ub9ac\uc5bc\uacfc \ud53c\ubcf4\ub098\uce58 \uc218\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/div><\/div> <div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>\ud30c\uc774\uc36c\uc5d0\uc11c \ud568\uc218\ub780 \ubb34\uc5c7\uc778\uac00\uc694?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>\ud568\uc218\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc758 \ucf54\ub4dc\uc5d0\uc11c \uc5ec\ub7ec \ubc88 \ud638\ucd9c\ud558\uc5ec \ub3d9\uc77c\ud55c \uc791\uc5c5\uc744 \uc218\ud589\ud560 \uc218 \uc788\ub294 \uac1c\ubcc4 \ubd80\ubd84\uc785\ub2c8\ub2e4. \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ud568\uc218\ub97c \ud65c\uc6a9\ud558\uba74 \uc720\uc5f0\uc131\uacfc \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. Python\uc5d0\ub294 print()\uc640 \uac19\uc740 \ub9ce\uc740 \uc720\uc6a9\ud55c \ud568\uc218\uac00 \ubbf8\ub9ac \ub85c\ub4dc\ub418\uc5b4 \uc788\uc744 \ubfd0\ub9cc \uc544\ub2c8\ub77c \uc9c1\uc811 \ub9cc\ub4e4 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc815\uc758 \ud568\uc218\ub294 \uc774\ub7ec\ud55c \uc885\ub958\uc758 \ud568\uc218\uc5d0 \uc9c0\uc815\ub41c \uc774\ub984\uc785\ub2c8\ub2e4.<\/p>\n<p>\ud30c\uc774\uc36c\uc5d0\uc11c \ud568\uc218\uac00 \ubb34\uc5c7\uc778\uc9c0 \uc608\ub97c \ub4e4\uc5b4\ubcf4\uc138\uc694.<\/p>\n<p>\ud30c\uc774\uc36c\uc5d0\uc11c \ud568\uc218\ub294 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud558\uace0 \uacb0\uacfc\ub97c \uc81c\uacf5\ud558\ub294 \ucf54\ub4dc \ube14\ub85d\uc785\ub2c8\ub2e4. \ud568\uc218\ub294 \ucf54\ub4dc\ub97c \ub354 \uccb4\uacc4\uc801\uc774\uace0 \uc77d\uae30 \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4.<\/p>\n<p>Python \ud568\uc218\uc758 \uc608\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<p>def double_number(x):<\/p>\n<p>x * 2\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4<\/p>\n<p>\uc774 \ud568\uc218\ub294 \ub2e8\uc77c \uc778\uc218(x)\ub97c \ubc1b\uc544\uc11c \ud574\ub2f9 \uc778\uc218\uc758 \uacb0\uacfc\uc5d0 2\ub97c \uacf1\ud55c \uac12\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<\/div><\/div> <div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Python \ud568\uc218\ub97c \uc5b4\ub5bb\uac8c \uc791\uc131\ud558\ub098\uc694?<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">Python \ud568\uc218\ub294 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud558\uae30 \uc704\ud574 \ub450 \ubc88 \uc774\uc0c1 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucf54\ub4dc \ube14\ub85d\uc785\ub2c8\ub2e4. \ud568\uc218\ub97c \uc791\uc131\ud558\ub824\uba74 \ud568\uc218 \uc774\ub984\uc744 \uc815\uc758\ud558\uace0, \ud568\uc218\uac00 \ubc1b\ub294 \ub9e4\uac1c\ubcc0\uc218\ub97c \uc9c0\uc815\ud558\uace0, \ud568\uc218\uac00 \ud638\ucd9c\ub420 \ub54c \uc2e4\ud589\ub418\ub294 \ud568\uc218 \ub0b4\uc758 \ucf54\ub4dc \ube14\ub85d\uc744 \uc9c0\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \ub450 \uac1c\uc758 \ub9e4\uac1c\ubcc0\uc218\ub97c \ubc1b\uace0, \ub450 \ub9e4\uac1c\ubcc0\uc218\ub97c \ub354\ud558\uace0, \uacb0\uacfc\ub97c \ubc18\ud658\ud558\ub294 \uac04\ub2e8\ud55c Python \ud568\uc218\uc758 \uc608\uc785\ub2c8\ub2e4.<\/div><\/div><\/div>\n<p><script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\/\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Python's four function types?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Built-in Functions: These are functions that are already present in the Python programming language and can be used at any time. Examples include print(), len(), min(), max(), etc. User-defined Functions: These are functions that are specified by the user and are able to be utilized to carry out a particular activity. Lambda Functions are anonymous functions that are created without having a name associated with them. They are typically put to use in circumstances in which a function is only called upon once. Recursive Functions: These are functions that call themselves, which enables them to repeat a work until a specific condition is met. Recursive functions are also known as self-calling functions. Examples include factorials and Fibonacci numbers.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What is a function in Python?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"A function is a discrete portion of code in the Python programming language that can be called multiple times to carry out the same operation. By utilizing functions in your program, you can increase its flexibility as well as its potential for reuse.\u00a0 Python not only comes pre-loaded with a ton of helpful functions like print() and others, but it also gives you the ability to create your own. User-defined functions are the name given to these kinds of functions.  Give an example of what a function is in Python.  In Python, a function is a block of code that does a certain job and gives a result. Functions help to make code more organized and easier to read.  An example of a function in Python is the following:  def double_number(x):  \u00a0\u00a0\u00a0\u00a0return x * 2  This function takes in a single argument (x) and returns the result of that argument multiplied by 2.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"How to write a Python function?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"A Python function is a block of code that can be used more than once to do a certain task. To write the function, you will need to define a function name, specify the parameters it takes, and the code block within the function that will execute when it is called. Here is an example of a simple Python function that takes two parameters, adds them together, and returns the result:\"\n      }\n    }\n  ]\n}\n<\/script><\/p>","protected":false},"excerpt":{"rendered":"<p>\ud30c\uc774\uc36c\uc758 \ud568\uc218\ub294 \uc5b8\uc5b4\uc758 \uae30\ubcf8 \uad6c\uc870\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub354 \ud070 \ud504\ub85c\uadf8\ub7a8\uc744 \ub354 \uc791\uace0 \uad00\ub9ac\ud558\uae30 \uc26c\uc6b4 \ubd80\ubd84\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c \ucf54\ub4dc \uc7ac\uc0ac\uc6a9\uc131\uc744 \uc9c0\uc6d0\ud558\ub294\ub370, \uc774\ub294\u2026<\/p>","protected":false},"author":2,"featured_media":9590,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[252,1016],"tags":[632],"class_list":["post-9574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","category-datacamp","tag-python-function"],"_links":{"self":[{"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/posts\/9574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/comments?post=9574"}],"version-history":[{"count":0,"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/posts\/9574\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/media\/9590"}],"wp:attachment":[{"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/media?parent=9574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/categories?post=9574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neonpolice.com\/kr\/wp-json\/wp\/v2\/tags?post=9574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}