{"id":1838,"date":"2024-07-18T12:43:32","date_gmt":"2024-07-18T10:43:32","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=1838"},"modified":"2024-07-19T14:56:30","modified_gmt":"2024-07-19T12:56:30","slug":"python-control-flow","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/","title":{"rendered":"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05e8\u05d0\u05e9\u05d5\u05df \u2013\u00a0<a href=\"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/\">\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df: \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e2\u05dd \u05e1\u05d5\u05d2\u05d9 \u05e0\u05ea\u05d5\u05e0\u05d9\u05dd.<\/a><br>\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05dc\u05d9\u05e9\u05d9 &#8211; <a href=\"https:\/\/epicmarketing.co.il\/notebook\/python-functions\/\">\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea<\/a>.<br>\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e8\u05d1\u05d9\u05e2\u05d9 &#8211; <a href=\"https:\/\/epicmarketing.co.il\/notebook\/python-classes\/\">\u05de\u05d7\u05dc\u05e7\u05d5\u05ea<\/a>.<br><a href=\"https:\/\/epicmarketing.co.il\/notebook\/python-exercises\/\">\u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u05ea\u05e0\u05d0\u05d9 if<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05ea\u05e0\u05d0\u05d9 if \u05de\u05e9\u05de\u05e9 \u05dc\u05e7\u05d1\u05d9\u05e2\u05d4 \u05d4\u05d0\u05dd \u05e7\u05d8\u05e2 \u05e7\u05d5\u05d3 \u05de\u05ea\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da true, \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05d9\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da false \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05dc\u05d0 \u05d9\u05ea\u05d1\u05e6\u05e2 \u05d5\u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d0\u05d7\u05e8\u05d9 \u05d1\u05dc\u05d5\u05e7 \u05d4-if.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05de\u05d4 \u05e0\u05de\u05e6\u05d0 \u05de\u05ea\u05d7\u05ea \u05dc-if \u05d9\u05e9 \u05d0\u05ea \u05d4\u05db\u05e0\u05d9\u05e1\u05d4 \u05e9\u05dc \u05d4\u05e9\u05d5\u05e8\u05d4 \u05e4\u05e0\u05d9\u05de\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# if Statement\ntest_value = 100\n\nif test_value &gt; 1:\n  # Expression evaluates to True\n  print(&quot;This code is executed!&quot;)\n\nif test_value &gt; 1000:\n  # Expression evaluates to False\n  print(&quot;This code is NOT executed!&quot;)\n\nprint(&quot;Program continues at this point.&quot;)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05ea\u05e0\u05d0\u05d9 else<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05dc\u05d0 \u05de\u05ea\u05e7\u05d9\u05d9\u05dd, \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05e7\u05d8\u05e2 \u05e7\u05d5\u05d3 \u05d0\u05d7\u05e8 \u05e9\u05d9\u05d1\u05d5\u05e6\u05e2.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# else Statement\ntest_value = 50\n\nif test_value &lt; 1:\n  print(&quot;Value is &lt; 1&quot;)\nelse:\n  print(&quot;Value is &gt;= 1&quot;)\n\ntest_string = &quot;VALID&quot;\n\nif test_string == &quot;NOT_VALID&quot;:\n  print(&quot;String equals NOT_VALID&quot;)\nelse:\n  print(&quot;String equals something else!&quot;)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05d1\u05d3\u05d9\u05e7\u05ea \u05ea\u05e0\u05d0\u05d9\u05dd \u05e0\u05d5\u05e1\u05e4\u05d9\u05dd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d5\u05dc\u05d1\u05d3\u05d5\u05e7 \u05ea\u05e0\u05d0\u05d9\u05dd \u05e0\u05d5\u05e1\u05e4\u05d9\u05dd \u05e2\u05dc \u05d9\u05d3\u05d9 elif.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# elif Statement\npet_type = &quot;fish&quot;\n\nif pet_type == &quot;dog&quot;:\n  print(&quot;You have a dog.&quot;)\nelif pet_type == &quot;cat&quot;:\n  print(&quot;You have a cat.&quot;)\nelif pet_type == &quot;fish&quot;:\n  # this is performed\n  print(&quot;You have a fish&quot;)\nelse:\n  print(&quot;Not sure!&quot;)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05d1\u05d3\u05d9\u05e7\u05d4 \u05d4\u05d0\u05dd \u05e2\u05e8\u05da \u05e0\u05de\u05e6\u05d0 \u05d1\u05e8\u05e9\u05d9\u05de\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 in<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d1\u05d3\u05d5\u05e7 \u05d4\u05d0\u05dd \u05e2\u05e8\u05da \u05e0\u05de\u05e6\u05d0 \u05d1\u05ea\u05d5\u05da \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05dc \u05e8\u05e9\u05d9\u05de\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;65, 83, 75, 100, 57, 90]\nif 100 in grades:\n  print(&#039;We have found a perfect score&#039;)\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05de\u05d9\u05dc\u05d4 in \u05d2\u05dd \u05db\u05d3\u05d9 \u05dc\u05e2\u05e9\u05d5\u05ea \u05de\u05e2\u05d1\u05e8 \u05e2\u05dc \u05e8\u05e9\u05d9\u05de\u05d4 \u05e9\u05dc \u05e2\u05e8\u05db\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ntodo_list = &#x5B;&#039;start project proposal&#039;, &#039;review the proposal with Team Lead&#039;, &#039;continue working on the proposal&#039;, &#039;present the proposal&#039;]\nfor todo in todo_list:\n  print(&#039;Things to do today: &#039;, todo)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05dc\u05d5\u05dc\u05d0\u05ea for<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05e2\u05d1\u05d5\u05e8 \u05e2\u05dc \u05e8\u05e9\u05d9\u05de\u05d4 \u05e9\u05dc \u05e2\u05e8\u05db\u05d9\u05dd, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05dc\u05d5\u05dc\u05d0\u05ea for.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\njames_cameron_movies = &#x5B;&quot;Titanic&quot;, &quot;Avatar&quot;, &quot;The Terminator&quot;, &quot;Aliens&quot;]\nfor movie in james_cameron_movies:\n  print(movie)\n\n# Output:\nTitanic\nAvatar\nThe Terminator\nAliens\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-range<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05dd \u05e0\u05e8\u05e6\u05d4 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05e4\u05e2\u05de\u05d9\u05dd \u05d4\u05de\u05d3\u05d5\u05d9\u05d9\u05e7 \u05e9\u05d4\u05dc\u05d5\u05dc\u05d0\u05d4 \u05ea\u05e2\u05d1\u05d5\u05d3, \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-range. \u05d1\u05d3\u05d5\u05d2\u05de\u05d0 \u05d4\u05dc\u05d5\u05dc\u05d0\u05d4 \u05ea\u05e2\u05d1\u05d5\u05d3 3 \u05e4\u05e2\u05de\u05d9\u05dd (\u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d1\u05dc\u05d5\u05dc\u05d0\u05d4 \u05d9\u05d4\u05d9\u05d5 0-2).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# Print &quot;WARNING&quot; 3 times:\nfor i in range(3):\n  print(&quot;WARNING&quot;)\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-range \u05d9\u05db\u05d5\u05dc \u05dc\u05d4\u05d9\u05d5\u05ea \u05de\u05d5\u05e8\u05db\u05d1 \u05d9\u05d5\u05ea\u05e8. \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05e9\u05e2\u05d5\u05d1\u05e8\u05d9\u05dd \u05dc\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05d4\u05dd \u05de\u05e1\u05e4\u05e8 \u05d4\u05ea\u05d7\u05dc\u05d4, \u05de\u05e1\u05e4\u05e8 \u05e1\u05d9\u05d5\u05dd (\u05dc\u05d0 \u05db\u05d5\u05dc\u05dc) \u05d5\u05d0\u05e4\u05e9\u05e8 \u05d2\u05dd \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 \u05d0\u05ea \u05d2\u05d5\u05d3\u05dc \u05d4\u05e7\u05e4\u05d9\u05e6\u05d4 \u05d1\u05d9\u05df \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd. \u05d1\u05d3\u05d5\u05d2\u05de\u05d0 \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05ea\u05d7\u05d9\u05dc\u05d9\u05dd \u05de\u05de\u05e1\u05e4\u05e8 1, \u05d4\u05dc\u05d5\u05dc\u05d0\u05d4 \u05ea\u05e2\u05d1\u05d5\u05d3 10 \u05e4\u05e2\u05de\u05d9\u05dd, \u05d5\u05d4\u05e7\u05e4\u05d9\u05e6\u05d4 \u05d1\u05d9\u05df \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05ea\u05d4\u05d9\u05d4 \u05e9\u05dc 1.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfor num in range(1, 11, 1):\n  if num % 2 == 0:\n    print(&#039;Num &#039;, num, &#039; is even&#039;)\n  elif num % 2 != 0:\n    print(&#039;Num &#039;, num, &#039; is odd&#039;)\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-continue<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05e4\u05e2\u05de\u05d9\u05dd \u05dc\u05d0 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d0\u05ea \u05d4\u05e1\u05d9\u05d1\u05d5\u05d1 \u05d4\u05e0\u05d5\u05db\u05d7\u05d9 \u05d1\u05dc\u05d5\u05dc\u05d0\u05d4 \u05d1\u05e9\u05dc \u05ea\u05e0\u05d0\u05d9 \u05de\u05e1\u05d5\u05d9\u05dd \u05d5\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05e2\u05d1\u05d5\u05d3 \u05dc\u05e1\u05d9\u05d1\u05d5\u05d1 \u05d4\u05d1\u05d0, \u05d0\u05ea \u05d6\u05d4 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e2\u05e9\u05d5\u05ea \u05e2\u05dd continue.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nbig_number_list = &#x5B;1, 2, -1, 4, -5, 5, 2, -9]\n\n# Print only positive numbers:\nfor i in big_number_list:\n  if i &lt; 0:\n    continue\n  print(i)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05dc\u05d5\u05dc\u05d0\u05d4 \u05e2\u05dd \u05e9\u05de\u05d9\u05e8\u05ea \u05d4\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05e4\u05e2\u05de\u05d9\u05dd \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05e2\u05d1\u05d5\u05e8 \u05e2\u05dc \u05e2\u05e8\u05db\u05d9\u05dd \u05d1\u05e8\u05e9\u05d9\u05de\u05d4, \u05d0\u05d1\u05dc \u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05d2\u05dd \u05dc\u05d3\u05e2\u05ea \u05de\u05d4 \u05d4\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 \u05d4\u05e0\u05d5\u05db\u05d7\u05d9 \u05e9\u05e0\u05de\u05e6\u05d0\u05d9\u05dd \u05d1\u05d5. \u05e2\u05d1\u05d5\u05e8 \u05d6\u05d4 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-enumerate. \u05db\u05d1\u05e8\u05d9\u05e8\u05ea \u05de\u05d7\u05d3\u05dc \u05d4\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 \u05de\u05ea\u05d7\u05d9\u05dc \u05d1\u05de\u05e1\u05e4\u05e8 0, \u05d0\u05d1\u05dc \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05dc\u05d5\u05d7 \u05dc\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05d0\u05ea \u05d4\u05de\u05e1\u05e4\u05e8 \u05e9\u05d1\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05ea\u05d7\u05d9\u05dc \u05dc\u05de\u05e1\u05e4\u05e8 \u05d0\u05ea \u05d4\u05e2\u05e8\u05db\u05d9\u05dd (\u05d1\u05d3\u05d5\u05d2\u05de\u05d0 \u05d4\u05e9\u05e0\u05d9\u05d9\u05d4).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# A string is a list, each character is an item on the list\ngreeting = &quot;hello&quot;\nfor index, character in enumerate(greeting):\n  print(character, &#039; is located at index &#039;, index, &#039; in string &#039;, greeting)\n\njames_cameron_movies = &#x5B;&quot;Titanic&quot;, &quot;Avatar&quot;, &quot;The Terminator&quot;, &quot;Aliens&quot;]\nfor index, movie in enumerate(james_cameron_movies, 1):\n  print(movie, &#039; is located at index &#039;, index, &#039; in list &#039;, james_cameron_movies)\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05dc\u05d5\u05dc\u05d0\u05d5\u05ea \u05de\u05e7\u05d5\u05e0\u05e0\u05d5\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05e9\u05d9\u05e9 \u05e8\u05e9\u05d9\u05de\u05d4 \u05d1\u05ea\u05d5\u05da \u05e8\u05e9\u05d9\u05de\u05d4, \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e2\u05d1\u05d5\u05e8 \u05e2\u05dc \u05e9\u05ea\u05d9 \u05dc\u05d5\u05dc\u05d0\u05d5\u05ea \u05d4\u05d0\u05d7\u05ea \u05d1\u05ea\u05d5\u05da \u05d4\u05e9\u05e0\u05d9\u05d9\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngroups = &#x5B;&#x5B;&quot;Jobs&quot;, &quot;Gates&quot;], &#x5B;&quot;Newton&quot;, &quot;Euclid&quot;], &#x5B;&quot;Einstein&quot;, &quot;Feynman&quot;]]\n\n# This outer loop will iterate over each list in the groups list\nfor group in groups:\n  # This inner loop will go through each name in each list\n  for name in group:\n    print(name)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05dc\u05d5\u05dc\u05d0\u05ea while<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05d5\u05dc\u05d0\u05ea while \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05e0\u05d5 \u05dc\u05e2\u05d1\u05d5\u05e8 \u05e2\u05dc \u05e8\u05e9\u05d9\u05de\u05d5\u05ea \u05db\u05dc  \u05e2\u05d5\u05d3 \u05de\u05ea\u05e7\u05d9\u05d9\u05dd \u05ea\u05e0\u05d0\u05d9 \u05de\u05e1\u05d5\u05d9\u05d9\u05dd. \u05d9\u05e9 \u05dc\u05e0\u05d5 \u05e2\u05e8\u05da \u05db\u05dc\u05e9\u05d4\u05d5 \u05e9\u05de\u05e7\u05d9\u05d9\u05dd \u05d0\u05ea \u05d4\u05ea\u05e0\u05d0\u05d9 \u05d5\u05d4\u05d5\u05d0 \u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05ea\u05d5\u05da \u05d4\u05dc\u05d5\u05dc\u05d0\u05d4. \u05db\u05dc \u05e2\u05d5\u05d3 \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05ea\u05e7\u05d9\u05d9\u05dd \u05d4\u05dc\u05d5\u05dc\u05d0\u05d4 \u05ea\u05e8\u05d5\u05e5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">** \u05e6\u05e8\u05d9\u05da \u05dc\u05e9\u05d9\u05dd \u05dc\u05d1, \u05e9\u05d0\u05dd \u05e0\u05d2\u05d3\u05d9\u05e8 \u05ea\u05e0\u05d0\u05d9 \u05e9\u05de\u05ea\u05e7\u05d9\u05d9\u05dd \u05db\u05dc \u05d4\u05d6\u05de\u05df, \u05e0\u05db\u05e0\u05e1 \u05dc\u05dc\u05d5\u05dc\u05d0\u05d4 \u05d0\u05d9\u05e0\u05e1\u05d5\u05e4\u05d9\u05ea \u05e9\u05dc\u05d0 \u05ea\u05e4\u05e1\u05d9\u05e7 \u05dc\u05e8\u05d5\u05e5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# Starting with 1 the initial_value will change in the loop\n# The loop will run 10 times.\ninitial_value = 1\nwhile initial_value &lt;= 10:\n  print(&#039;initial value is: &#039;, initial_value)\n  initial_value = initial_value + 1\n\n# This loop will only run 1 time\nhungry = True\nwhile hungry:\n  print(&quot;Time to eat!&quot;)\n  hungry = False\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05e8\u05d0\u05e9\u05d5\u05df \u2013\u00a0\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df: \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e2\u05dd \u05e1\u05d5\u05d2\u05d9 \u05e0\u05ea\u05d5\u05e0\u05d9\u05dd.\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05dc\u05d9\u05e9\u05d9 &#8211; \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea.\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e8\u05d1\u05d9\u05e2\u05d9 &#8211; \u05de\u05d7\u05dc\u05e7\u05d5\u05ea.\u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd. \u05ea\u05e0\u05d0\u05d9 if \u05ea\u05e0\u05d0\u05d9 if \u05de\u05e9\u05de\u05e9 \u05dc\u05e7\u05d1\u05d9\u05e2\u05d4 \u05d4\u05d0\u05dd \u05e7\u05d8\u05e2 \u05e7\u05d5\u05d3 \u05de\u05ea\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da true, \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05d9\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da false \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05dc\u05d0 \u05d9\u05ea\u05d1\u05e6\u05e2 \u05d5\u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d0\u05d7\u05e8\u05d9 \u05d1\u05dc\u05d5\u05e7 \u05d4-if. \u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05de\u05d4 \u05e0\u05de\u05e6\u05d0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[77],"tags":[],"class_list":["post-1838","post","type-post","status-publish","format-standard","hentry","category-python","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow) - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow) - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05e8\u05d0\u05e9\u05d5\u05df \u2013\u00a0\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df: \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e2\u05dd \u05e1\u05d5\u05d2\u05d9 \u05e0\u05ea\u05d5\u05e0\u05d9\u05dd.\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05dc\u05d9\u05e9\u05d9 &#8211; \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea.\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e8\u05d1\u05d9\u05e2\u05d9 &#8211; \u05de\u05d7\u05dc\u05e7\u05d5\u05ea.\u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd. \u05ea\u05e0\u05d0\u05d9 if \u05ea\u05e0\u05d0\u05d9 if \u05de\u05e9\u05de\u05e9 \u05dc\u05e7\u05d1\u05d9\u05e2\u05d4 \u05d4\u05d0\u05dd \u05e7\u05d8\u05e2 \u05e7\u05d5\u05d3 \u05de\u05ea\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da true, \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05d9\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da false \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05dc\u05d0 \u05d9\u05ea\u05d1\u05e6\u05e2 \u05d5\u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d0\u05d7\u05e8\u05d9 \u05d1\u05dc\u05d5\u05e7 \u05d4-if. \u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05de\u05d4 \u05e0\u05de\u05e6\u05d0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-18T10:43:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-19T12:56:30+00:00\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow)\",\"datePublished\":\"2024-07-18T10:43:32+00:00\",\"dateModified\":\"2024-07-19T12:56:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/\"},\"wordCount\":25,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"articleSection\":[\"Python\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/\",\"name\":\"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow) - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"datePublished\":\"2024-07-18T10:43:32+00:00\",\"dateModified\":\"2024-07-19T12:56:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-control-flow\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow) - Code Notebook","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:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/","og_locale":"he_IL","og_type":"article","og_title":"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow) - Code Notebook","og_description":"\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05e8\u05d0\u05e9\u05d5\u05df \u2013\u00a0\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df: \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e2\u05dd \u05e1\u05d5\u05d2\u05d9 \u05e0\u05ea\u05d5\u05e0\u05d9\u05dd.\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05dc\u05d9\u05e9\u05d9 &#8211; \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea.\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e8\u05d1\u05d9\u05e2\u05d9 &#8211; \u05de\u05d7\u05dc\u05e7\u05d5\u05ea.\u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd. \u05ea\u05e0\u05d0\u05d9 if \u05ea\u05e0\u05d0\u05d9 if \u05de\u05e9\u05de\u05e9 \u05dc\u05e7\u05d1\u05d9\u05e2\u05d4 \u05d4\u05d0\u05dd \u05e7\u05d8\u05e2 \u05e7\u05d5\u05d3 \u05de\u05ea\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da true, \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05d9\u05d1\u05e6\u05e2. \u05d0\u05dd \u05d4\u05ea\u05e0\u05d0\u05d9 \u05de\u05d7\u05d6\u05d9\u05e8 \u05e2\u05e8\u05da false \u05e7\u05d8\u05e2 \u05d4\u05e7\u05d5\u05d3 \u05dc\u05d0 \u05d9\u05ea\u05d1\u05e6\u05e2 \u05d5\u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d0\u05d7\u05e8\u05d9 \u05d1\u05dc\u05d5\u05e7 \u05d4-if. \u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05de\u05d4 \u05e0\u05de\u05e6\u05d0 [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/","og_site_name":"Code Notebook","article_published_time":"2024-07-18T10:43:32+00:00","article_modified_time":"2024-07-19T12:56:30+00:00","author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"2 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow)","datePublished":"2024-07-18T10:43:32+00:00","dateModified":"2024-07-19T12:56:30+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/"},"wordCount":25,"commentCount":5,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"articleSection":["Python"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/","url":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/","name":"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow) - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"datePublished":"2024-07-18T10:43:32+00:00","dateModified":"2024-07-19T12:56:30+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Control Flow)"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=1838"}],"version-history":[{"count":5,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1838\/revisions"}],"predecessor-version":[{"id":1862,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1838\/revisions\/1862"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=1838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=1838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=1838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}