{"id":35241,"date":"2026-11-24T05:00:00","date_gmt":"2026-11-24T04:00:00","guid":{"rendered":"https:\/\/sii.pl\/blog\/rekrutacja-na-python-developera-przykladowe-zadanie-techniczne\/"},"modified":"2026-11-24T10:37:35","modified_gmt":"2026-11-24T09:37:35","slug":"python-developer-recruitment-an-example-technical-task","status":"publish","type":"post","link":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/","title":{"rendered":"Python Developer recruitment \u2013 an example technical task"},"content":{"rendered":"\n<p>Wanting to start my career path as a Python programmer in the age of AI, I wondered what the point of solving a task &#8220;on a piece of paper&#8221; during recruitment is.<\/p>\n\n\n\n<p>In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python language. If you are interested in the topic, I invite you to read my previous article in a similar convention (<a href=\"https:\/\/sii.pl\/blog\/rekrutacja-na-junior-python-developera-przykladowe-zadanie-techniczne\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Recruitment for a Junior Python Developer \u2013 an example of a technical task<\/a>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Task: search for text in text<\/strong><\/strong><\/h2>\n\n\n\n<p>We take the search engine on our drawing board \u2013 finding a string of characters in another string, but at the output we expect a list of string indexes starting at the first character of the searched word.<\/p>\n\n\n\n<p>For the purposes of this task, I will simplify the nomenclature: a word is a searched string, a sentence is a string of characters in which we search for the aforementioned word.<\/p>\n\n\n\n<p>Below is an example of a function call with the expected result:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n&gt;&gt;&gt; search(&#039;aa&#039;, &#039;maakkaanaakka&#039;)\n&#x5B;1, 5, 8]\n<\/pre><\/div>\n\n\n<p>I used Python version 3.x to solve the problem.<\/p>\n\n\n\n<p>At first glance, the task seems easy, especially when AI can generate the correct solution in seconds. In practice, however, a technical interview is often not about the result itself, but about how the problem is analysed, the decision is justified, and the solution is adapted to changing requirements. Therefore, let&#8217;s go through the next approaches to do just that.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Basic approach<\/strong><\/strong><\/h2>\n\n\n\n<p>Since we are working with strings, which are a built-in type, let&#8217;s see whether the documentation can solve this problem for us.<\/p>\n\n\n\n<p>On the <a href=\"https:\/\/docs.python.org\/3\/builtins\/stdtypes.html#str.find\" target=\"_blank\" rel=\"noopener\" title=\"\" rel=\"nofollow\" >docs.python.org<\/a> website, we find a family of find methods. Unfortunately, they solve our problem only halfway, because they only return the first occurrence of the word. After a long contemplation, we conclude that further considerations in this direction may bring the expected result, but it would be convoluted, to say the least.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef search001(word, sentence):\n    &quot;&quot;&quot;\n    Return tha list of index of a substring found in string\n\n    &gt;&gt;&gt; search001(&#039;aa&#039;, &#039;makkaanada&#039;)\n    &#x5B;4]\n\n    &gt;&gt;&gt; search001(&#039;ad&#039;, &#039;makkaanada&#039;)\n    &#x5B;7]\n\n    &gt;&gt;&gt; search001(&#039;an&#039;, &#039;makkaanada&#039;)\n    &#x5B;5]\n    &quot;&quot;&quot;\n    return &#x5B;sentence.find(word)]\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>An ambitious approach \u2013 a regular expression<\/strong><\/strong><\/h2>\n\n\n\n<p>It seems intuitive that if we want to find a word in a sentence, using a regular expression (RegEx) will settle the matter. We import the appropriate library and get to work.<\/p>\n\n\n\n<p>To quote a classic:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em><em>If you want to solve your problem with a regular expression, you now have two problems: solving the problem and creating a valid regular expression.<\/em><\/em><\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef search002(word, sentence):\n    &quot;&quot;&quot;\n    Return tha list of indexs of a substring found in string\n\n    &gt;&gt;&gt; search002(&#039;aa&#039;, &#039;makkaanada&#039;)\n    &#x5B;4]\n\n    &gt;&gt;&gt; search002(&#039;ad&#039;, &#039;makkaanada&#039;)\n    &#x5B;7]\n\n    &gt;&gt;&gt; search002(&#039;an&#039;, &#039;makkaanada&#039;)\n    &#x5B;5]\n    &quot;&quot;&quot;\n    return &#x5B;re.search(word, sentence).span()&#x5B;0]]\n<\/pre><\/div>\n\n\n<p>And everything would be fine if we were looking for only the first occurrence of a word in a sentence.<\/p>\n\n\n\n<p>After searching in your favourite AI for a while, by inserting the code above, we found two things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first \u2013 primo: that this problem can be solved with a regular expression,<\/li>\n\n\n\n<li>The second \u2013 Primo: that <a href=\"https:\/\/docs.python.org\/3\/library\/doctest.html#module-doctest\" target=\"_blank\" rel=\"noopener\" title=\"\" rel=\"nofollow\" >the documentation for this function is Doctest<\/a> \u2013 documentation that can be used to test the function&#8217;s operation.<\/li>\n<\/ul>\n\n\n\n<p>Below is the code, returning all the indexes found with their corresponding tests:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef search003(word: str, sentence: str) -&gt; list:\n    &quot;&quot;&quot;\nReturn tha list of indexs of a substring found in string\n\n    &gt;&gt;&gt; search003(&#039;aa&#039;, &#039;maakkaanaakka&#039;)\n    &#x5B;1, 5, 8]\n\n    &gt;&gt;&gt; search003(&#039;kk&#039;, &#039;maakkaanaakka&#039;)\n    &#x5B;3, 10]\n\n    &gt;&gt;&gt; search003(&#039;ak&#039;, &#039;maakkaanaakka&#039;)\n    &#x5B;2, 9]\n    &quot;&quot;&quot;\n    return &#x5B;match.start() for match in re.finditer(word, sentence)]\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Or maybe we will use a Python property?<\/strong><\/strong><\/h2>\n\n\n\n<p>Strings in Python can break a sentence into &#8220;segments&#8221; of word length on the fly and compare them directly.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef search004(word: str, sentence: str):\n    &quot;&quot;&quot;\n    Return tha list of indexes of a substring found in string\n\n    &gt;&gt;&gt; search004(&#039;aa&#039;, &#039;maakkaanaakka&#039;)\n    &#x5B;1, 5, 8]\n\n    &gt;&gt;&gt; search004(&#039;kk&#039;, &#039;maakkaanaakka&#039;)\n    &#x5B;3, 10]\n\n    &gt;&gt;&gt; search004(&#039;ak&#039;, &#039;maakkaanaakka&#039;)\n    &#x5B;2, 9]\n    &quot;&quot;&quot;\n    response = &#x5B;]\n    word_len = len(word)\n    for i in range(len(sentence) - word_len + 1):\n        if (word == sentence&#x5B;i:i+word_len]):\n            response.append(i)\n    return response\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Plot twist \u2013 change in requirements<\/strong><\/strong><\/h2>\n\n\n\n<p>All solutions based on regular expressions or built-in functions such as &#8216;str.find()&#8217; require the results to be stored in memory. In our case, this is not optimal, because the searched texts can be very large, reaching hundreds of megabytes or even several gigabytes. Therefore, instead of returning a list of all matches, it is better to return a generator that yields results on the fly and uses much less memory.<\/p>\n\n\n\n<p>We can convert our last solution in a very easy way.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef search005(word: str, sentence: str):\n    &quot;&quot;&quot;\n    Return tha list of indexes of a substring found in string\n\n    &gt;&gt;&gt; list(search005(&#039;aa&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;1, 5, 8]\n\n    &gt;&gt;&gt; list(search005(&#039;kk&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;3, 10]\n\n    &gt;&gt;&gt; list(search005(&#039;ak&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;2, 9]\n    &quot;&quot;&quot;\n    word_len = len(word)\n    for i in range(len(sentence) - word_len + 1):\n        if (word == sentence&#x5B;i:i + word_len]):\n            yield i\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>More optimisation, more optimisation!<\/strong><\/strong><\/h2>\n\n\n\n<p>To achieve the highest possible efficiency and answer the problem as precisely as possible, let&#8217;s check whether we can solve it by adapting the above method and using only character comparisons.<\/p>\n\n\n\n<p>Let&#8217;s iterate over the signs in our sentence; if the character at a given position equals the first sign of the word, we compare the subsequent characters of the word and the sentence. As soon as we find a character that doesn&#8217;t match, we move on to the next step in the sentence iteration.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef search006(word: str, sentence: str):\n    &quot;&quot;&quot;\n    Return a generator of indexs of a substring found in string\n\n    &gt;&gt;&gt; list(search006(&#039;aa&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;1, 5, 8]\n\n    &gt;&gt;&gt; list(search006(&#039;kk&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;3, 10]\n\n    &gt;&gt;&gt; list(search006(&#039;ak&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;2, 9]\n\n    &gt;&gt;&gt; list(search006(&#039;au&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;]\n\n    &gt;&gt;&gt; list(search006(&#039;ana&#039;, &#039;maakkaanaakka&#039;))\n    &#x5B;6]\n\n    &gt;&gt;&gt; list(search006(&#039;ana&#039;, &#039;maannakkaanaakka&#039;))\n    &#x5B;9]\n\n    &quot;&quot;&quot;\n\n    word_len = len(word)\n    for i in range(len(sentence) - word_len + 1):\n        for j in range(word_len):\n            if (sentence&#x5B;i+j] == word&#x5B;j]):\n                if (j == word_len-1):\n                    yield i\n            else:\n                break\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong><strong>Let&#8217;s summarise what we know<\/strong><\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>iteration over the array of elements \u2013 the &#8216;range&#8217; function,<\/li>\n\n\n\n<li>the string is an array,<\/li>\n\n\n\n<li>using a method that counts characters in a string,<\/li>\n\n\n\n<li>cutting out board elements,<\/li>\n\n\n\n<li>regular expressions as a library,<\/li>\n\n\n\n<li>the ability to create generators and use them,<\/li>\n\n\n\n<li>knowledge of the technique of creating tests in documentation,<\/li>\n\n\n\n<li>the ability to modify the solution when the requirements of the problem change.<\/li>\n<\/ul>\n\n\n<div class=\"nsw-o-blogersii-banner\">\n            <picture>\n            <source srcset=\"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/04\/Blog-SzkoleniaDesktop_.jpg\" media=\"(min-width: 992px)\" >\n            <source srcset=\"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/04\/Blog-Szkolenia-Mob_.jpg\" media=\"(min-width: 300px)\" >            <img decoding=\"async\" src=\"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/04\/Blog-SzkoleniaDesktop_.jpg\" alt=\"\"  class=\"\"  >\n        <\/picture>\n        <div class=\"cnt\">\n                    <div class=\"nsw-m-title-block -h3 -invert  -has-title-margin-bottom-0 -has-title-font-weight-bold\">\n                                <h2 class=\"nsw-m-title-block__title\" >Training in IT, business, and soft skills<\/h2>\n                <\/div>\n                            <p class=\"has-nsw-p-4-font-size has-invert-color\">\n                Learn from experts who implement digital solutions for leading companies every day.\n            <\/p>\n                            <a  href=\"https:\/\/sii.pl\/en\/trainings\/training-search\/\" class=\"nsw-a-button -ghost -banner-button\"   >\n        <span>Trainings offering<\/span>\n    <\/a>\n            <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>As you go through the successive versions of the solution, it is easier to understand why similar tasks continue to appear during recruitment. They do not only test the knowledge of syntax or ready-made functions, but above all the way of thinking, the analysis of compromises and the ability to develop the solution as the requirements change.<\/p>\n\n\n\n<p>The code for our struggle is available on <a href=\"https:\/\/github.com\/slyher\/python_rekrutacja\/blob\/master\/search.py\" target=\"_blank\" rel=\"noopener\" title=\"\" rel=\"nofollow\" >GitHub<\/a>.<\/p>\n\n\n\n<p>It&#8217;s hard to say whether demonstrating such knowledge and skills will be enough to get the coveted Python Developer position.<\/p>\n\n\n\n<p>Certainly, the solution to the task shows analytical skills, approaches the problem from different perspectives, and demonstrates knowledge of Python basics. And it won&#8217;t hurt! Training on such basic examples and developing and documenting the code in the repository will be an additional advantage.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-left kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;left&quot;,&quot;id&quot;:&quot;35241&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;5&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;2&quot;,&quot;greet&quot;:&quot;&quot;,&quot;legend&quot;:&quot;5\\\/5&quot;,&quot;size&quot;:&quot;30&quot;,&quot;title&quot;:&quot;Python Developer recruitment \u2013 an example technical task&quot;,&quot;width&quot;:&quot;159&quot;,&quot;_legend&quot;:&quot;{score}\\\/5&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 159px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 2px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 24px;\">\n            5\/5    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Wanting to start my career path as a Python programmer in the age of AI, I wondered what the point &hellip; <a class=\"continued-btn\" href=\"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/\">Continued<\/a><\/p>\n","protected":false},"author":613,"featured_media":34989,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","inline_featured_image":false,"footnotes":""},"categories":[1320],"tags":[15077,2756,2198,1370,1458],"class_list":["post-35241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hard-development","tag-artificial-intelligence-en-2","tag-recruitment-en","tag-case-study-en","tag-career-path-en","tag-python-en"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sylwester Herber\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"blogersii\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Python Developer recruitment \u2013 an example technical task\" \/>\n\t\t<meta property=\"og:description\" content=\"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"733\" \/>\n\t\t<meta property=\"og:image:height\" content=\"456\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-24T04:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-24T09:37:35+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Sii.Polska\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Python Developer recruitment \u2013 an example technical task\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#article\",\"name\":\"Python Developer recruitment \\u2013 an example technical task\",\"description\":\"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python\",\"inLanguage\":\"en-US\",\"headline\":\"Python Developer recruitment \\u2013 an example technical task\",\"author\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/author\\\/sherber\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/#organization\"},\"datePublished\":\"2026-11-24T04:00:00+01:00\",\"dateModified\":\"2026-11-24T09:37:35+01:00\",\"articleSection\":\"Hard development, Artificial Intelligence, Recruitment, Case Study, Career path, Python\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#webpage\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/sii.pl\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Coding-1.jpg\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#articleImage\",\"width\":733,\"height\":456,\"caption\":\"Rekrutacja na Python Developera \\u2013 przyk\\u0142adowe zadanie techniczne\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/hard-development\\\/#listItem\",\"name\":\"Hard development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/hard-development\\\/#listItem\",\"position\":2,\"name\":\"Hard development\",\"item\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/hard-development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#listItem\",\"name\":\"Python Developer recruitment \\u2013 an example technical task\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#listItem\",\"position\":3,\"name\":\"Python Developer recruitment \\u2013 an example technical task\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/hard-development\\\/#listItem\",\"name\":\"Hard development\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sii.pl\\\/#organization\",\"name\":\"Sii Polska\",\"url\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/\",\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/siipolska\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@siipolska\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCQ3UQ7RJPEYnAWC_rPE5Dxg\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/sii-polska\",\"https:\\\/\\\/clutch.co\\\/profile\\\/sii-poland\",\"https:\\\/\\\/www.crunchbase.com\\\/organization\\\/sii\",\"https:\\\/\\\/www.wikidata.org\\\/wiki\\\/Q16601096\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#webpage\",\"url\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/\",\"name\":\"Python Developer recruitment \\u2013 an example technical task\",\"description\":\"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#breadcrumblist\"},\"author\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/author\\\/sherber\\\/#author\",\"creator\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/author\\\/sherber\\\/#author\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/sii.pl\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/Coding-1.jpg\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#mainImage\",\"width\":733,\"height\":456,\"caption\":\"Rekrutacja na Python Developera \\u2013 przyk\\u0142adowe zadanie techniczne\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/python-developer-recruitment-an-example-technical-task\\\/#mainImage\"},\"datePublished\":\"2026-11-24T04:00:00+01:00\",\"dateModified\":\"2026-11-24T09:37:35+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/sii.pl\\\/blog\\\/en\\\/\",\"name\":\"blogersii\",\"description\":\"Sii\\u2019s tech blog \\u2013 practical knowledge from experts\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/sii.pl\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Python Developer recruitment \u2013 an example technical task","description":"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python","canonical_url":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#article","name":"Python Developer recruitment \u2013 an example technical task","description":"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python","inLanguage":"en-US","headline":"Python Developer recruitment \u2013 an example technical task","author":{"@id":"https:\/\/sii.pl\/blog\/en\/author\/sherber\/#author"},"publisher":{"@id":"https:\/\/sii.pl\/#organization"},"datePublished":"2026-11-24T04:00:00+01:00","dateModified":"2026-11-24T09:37:35+01:00","articleSection":"Hard development, Artificial Intelligence, Recruitment, Case Study, Career path, Python","mainEntityOfPage":{"@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#webpage"},"isPartOf":{"@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#webpage"},"image":{"@type":"ImageObject","url":"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#articleImage","width":733,"height":456,"caption":"Rekrutacja na Python Developera \u2013 przyk\u0142adowe zadanie techniczne"}},{"@type":"BreadcrumbList","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/#listItem","position":1,"name":"Home","item":"https:\/\/sii.pl\/blog\/en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/hard-development\/#listItem","name":"Hard development"}},{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/hard-development\/#listItem","position":2,"name":"Hard development","item":"https:\/\/sii.pl\/blog\/en\/hard-development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#listItem","name":"Python Developer recruitment \u2013 an example technical task"},"previousItem":{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#listItem","position":3,"name":"Python Developer recruitment \u2013 an example technical task","previousItem":{"@type":"ListItem","@id":"https:\/\/sii.pl\/blog\/en\/hard-development\/#listItem","name":"Hard development"}}]},{"@type":"Organization","@id":"https:\/\/sii.pl\/#organization","name":"Sii Polska","url":"https:\/\/sii.pl\/blog\/en\/","sameAs":["https:\/\/www.instagram.com\/siipolska\/","https:\/\/www.tiktok.com\/@siipolska","https:\/\/www.youtube.com\/channel\/UCQ3UQ7RJPEYnAWC_rPE5Dxg","https:\/\/www.linkedin.com\/company\/sii-polska","https:\/\/clutch.co\/profile\/sii-poland","https:\/\/www.crunchbase.com\/organization\/sii","https:\/\/www.wikidata.org\/wiki\/Q16601096"]},{"@type":"WebPage","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#webpage","url":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/","name":"Python Developer recruitment \u2013 an example technical task","description":"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/sii.pl\/blog\/en\/#website"},"breadcrumb":{"@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#breadcrumblist"},"author":"https:\/\/sii.pl\/blog\/en\/author\/sherber\/#author","creator":"https:\/\/sii.pl\/blog\/en\/author\/sherber\/#author","image":{"@type":"ImageObject","url":"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg","@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#mainImage","width":733,"height":456,"caption":"Rekrutacja na Python Developera \u2013 przyk\u0142adowe zadanie techniczne"},"primaryImageOfPage":{"@id":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/#mainImage"},"datePublished":"2026-11-24T04:00:00+01:00","dateModified":"2026-11-24T09:37:35+01:00"},{"@type":"WebSite","@id":"https:\/\/sii.pl\/blog\/en\/#website","url":"https:\/\/sii.pl\/blog\/en\/","name":"blogersii","description":"Sii\u2019s tech blog \u2013 practical knowledge from experts","inLanguage":"en-US","publisher":{"@id":"https:\/\/sii.pl\/#organization"}}]},"og:locale":"en_US","og:site_name":"blogersii","og:type":"article","og:title":"Python Developer recruitment \u2013 an example technical task","og:description":"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python","og:url":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/","og:image":"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg","og:image:secure_url":"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg","og:image:width":733,"og:image:height":456,"article:published_time":"2026-11-24T04:00:00+00:00","article:modified_time":"2026-11-24T09:37:35+00:00","article:publisher":"https:\/\/www.facebook.com\/Sii.Polska","twitter:card":"summary","twitter:title":"Python Developer recruitment \u2013 an example technical task","twitter:description":"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python","twitter:image":"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg"},"aioseo_meta_data":{"post_id":"35241","title":"Python Developer recruitment \u2013 an example technical task","description":"In this article, I will share a task I came across. We will go through its development process step by step and learn about several properties of the Python","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2026-11-24 09:19:15","updated":"2026-11-24 09:37:56","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/sii.pl\/blog\/en\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/sii.pl\/blog\/en\/hard-development\/\" title=\"Hard development\">Hard development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPython Developer recruitment \u2013 an example technical task\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/sii.pl\/blog\/en\/"},{"label":"Hard development","link":"https:\/\/sii.pl\/blog\/en\/hard-development\/"},{"label":"Python Developer recruitment \u2013 an example technical task","link":"https:\/\/sii.pl\/blog\/en\/python-developer-recruitment-an-example-technical-task\/"}],"republish_history":[{"old_date_gmt":"2026-10-19 03:00:00","new_date_gmt":"2026-11-24 04:00:00","changed_at_gmt":"2026-11-24 09:34:02"}],"featured_media_url":"https:\/\/sii.pl\/blog\/wp-content\/uploads\/2026\/10\/Coding-1.jpg","category_names":["Hard development"],"_links":{"self":[{"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/posts\/35241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/users\/613"}],"replies":[{"embeddable":true,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/comments?post=35241"}],"version-history":[{"count":1,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/posts\/35241\/revisions"}],"predecessor-version":[{"id":35243,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/posts\/35241\/revisions\/35243"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/media\/34989"}],"wp:attachment":[{"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/media?parent=35241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/categories?post=35241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sii.pl\/blog\/en\/wp-json\/wp\/v2\/tags?post=35241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}