{"id":1825,"date":"2024-07-18T10:33:34","date_gmt":"2024-07-18T08:33:34","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=1825"},"modified":"2024-07-19T14:56:47","modified_gmt":"2024-07-19T12:56:47","slug":"python-introduction","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/","title":{"rendered":"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05e0\u05d9 \u2013\u00a0<a href=\"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/\">\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df<\/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\">\u05de\u05d4 \u05d4\u05d9\u05d0 \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Python)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python is a cross-platform, high-level, object-oriented, and interpreted programming language.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05e9\u05e4\u05ea \u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05de\u05ea\u05d0\u05d9\u05de\u05d4 \u05dc\u05de\u05d2\u05d5\u05d5\u05df \u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d5\u05ea \u05db\u05de\u05d5 win \u05d5-mac. \u05d4\u05d9\u05d0 \u05e9\u05e4\u05d4 \u05e2\u05d9\u05dc\u05d9\u05ea \u05d5\u05de\u05db\u05d5\u05d5\u05e0\u05ea \u05e2\u05e6\u05de\u05d9\u05dd. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05d0\u05d7\u05ea \u05de\u05e9\u05e4\u05d5\u05ea \u05d4\u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05e0\u05e4\u05d5\u05e6\u05d5\u05ea \u05d5\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05d4 \u05d1\u05d7\u05d1\u05e8\u05d5\u05ea \u05e8\u05d1\u05d5\u05ea \u05d5\u05d1\u05d9\u05df \u05d4\u05e9\u05d0\u05e8 \u05dc\u05e4\u05d9\u05ea\u05d5\u05d7 \u05e9\u05dc \u05d1\u05d9\u05e0\u05d4 \u05de\u05dc\u05d0\u05db\u05d5\u05ea\u05d9\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e2\u05d1\u05d5\u05d3 \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05e6\u05e8\u05d9\u05da \u05e2\u05d5\u05e8\u05da \u05e7\u05d5\u05d3, \u05dc\u05de\u05e9\u05dc Visual Studio Code. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05ea\u05e0\u05e1\u05d5\u05ea \u05d1\u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d1\u05d0\u05ea\u05e8\u05d9\u05dd \u05e9\u05d5\u05e0\u05d9\u05dd \u05d1\u05e8\u05e9\u05ea \u05dc\u05de\u05e9\u05dc: <a href=\"https:\/\/www.online-python.com\/\">online-python<\/a>, <a href=\"https:\/\/www.programiz.com\/python-programming\/online-compiler\/\">programiz<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u05e2\u05e7\u05e8\u05d5\u05e0\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1\u05d9\u05d9\u05dd \u05d1\u05db\u05ea\u05d9\u05d1\u05ea \u05e7\u05d5\u05d3 \u05e4\u05d9\u05d9\u05ea\u05d5\u05df<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d3 \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05e0\u05d7\u05e9\u05d1 \u05de\u05d4\u05e4\u05e9\u05d5\u05d8\u05d9\u05dd \u05dc\u05db\u05ea\u05d9\u05d1\u05d4 \u05d5\u05d9\u05d3\u05d9\u05d3\u05d5\u05ea\u05d9 \u05dc\u05de\u05ea\u05d7\u05d9\u05dc\u05d9\u05dd. \u05d1\u05e9\u05e4\u05d5\u05ea \u05e8\u05d1\u05d5\u05ea \u05d9\u05e9 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05ea\u05d5 ; \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05e1\u05d9\u05d9\u05dd \u05e9\u05d5\u05e8\u05d4 \u05d5\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-{} \u05e9\u05dc \u05de\u05e0\u05ea \u05dc\u05e1\u05de\u05df \u05d1\u05dc\u05d5\u05e7 \u05e9\u05dc \u05e4\u05e7\u05d5\u05d3\u05d5\u05ea. \u05d1\u05e4\u05d9\u05d9\u05ea\u05d5\u05df, \u05de\u05e2\u05d1\u05e8 \u05e9\u05d5\u05e8\u05d4 \u05de\u05e1\u05e4\u05d9\u05e7 \u05d5\u05d0\u05d9\u05df \u05e1\u05d9\u05de\u05d5\u05df \u05dc\u05e1\u05d5\u05e3 \u05e9\u05d5\u05e8\u05d4. \u05db\u05e9\u05d9\u05e9 \u05d1\u05dc\u05d5\u05e7 \u05e9\u05dc \u05e4\u05e7\u05d5\u05d3\u05d5\u05ea \u05ea\u05d4\u05d9\u05d4 \u05d4\u05d6\u05d7\u05d4 (\u05db\u05e0\u05d9\u05e1\u05d4 \u05e9\u05dc \u05d4\u05d8\u05e7\u05e1\u05d8 \u05e4\u05e0\u05d9\u05de\u05d4) \u05e9\u05d9\u05e1\u05de\u05df \u05d0\u05ea \u05ea\u05d7\u05d9\u05dc\u05ea \u05d4\u05d1\u05dc\u05d5\u05e7. \u05dc\u05e1\u05d9\u05d5\u05dd \u05d4\u05d1\u05dc\u05d5\u05e7, \u05e0\u05d7\u05d6\u05d5\u05e8 \u05d0\u05d7\u05d5\u05e8\u05d4 \u05d1\u05e9\u05d5\u05e8\u05d4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u05d4\u05e2\u05e8\u05d5\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e1\u05d9\u05de\u05d5\u05df \u05d4\u05e2\u05e8\u05d5\u05ea \u05e9\u05dc \u05e9\u05d5\u05e8\u05d4 \u05d0\u05d7\u05ea \u05d9\u05d4\u05d9\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05db\u05ea\u05d9\u05d1\u05ea # \u05d1\u05ea\u05d7\u05d9\u05dc\u05ea \u05d4\u05e9\u05d5\u05e8\u05d4. \u05db\u05d3\u05d9 \u05dc\u05db\u05ea\u05d5\u05d1 \u05d4\u05e2\u05e8\u05d4 \u05e9\u05dc \u05db\u05de\u05d4 \u05e9\u05d5\u05e8\u05d4 \u05e0\u05e1\u05de\u05df \u05e9\u05d5\u05e8\u05d4 \u05e8\u05d0\u05e9\u05d5\u05e0\u05d4 \u05d5\u05d0\u05d7\u05e8\u05d5\u05e0\u05d4 \u05d1-&quot;&quot;&quot;.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# Comments in python\n# With # at the beginning of the line.\n&quot;&quot;&quot;\nStarting a multi line\ncomments\n&quot;&quot;&quot;\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05de\u05ea\u05de\u05d8\u05d9\u05d5\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d7\u05e9\u05d1\u05d5\u05df \u05e2\u05d5\u05d1\u05d3\u05d5\u05ea \u05e2\u05dc \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d1\u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05e2\u05dd 2 \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05e0\u05d5\u05e1\u05e4\u05d5\u05ea \u05de\u05d9\u05d5\u05d7\u05d3\u05d5\u05ea. % \u05de\u05d1\u05e6\u05e2 \u05e4\u05e2\u05d5\u05dc\u05d4 \u05e9\u05dc \u05d4\u05d1\u05d0\u05ea \u05d4\u05e9\u05d0\u05e8\u05d9\u05ea \u05de\u05e4\u05e2\u05d5\u05dc\u05ea \u05d4\u05d7\u05d9\u05dc\u05d5\u05e7, ** \u05de\u05d1\u05e6\u05e2 \u05d0\u05ea \u05e4\u05e2\u05d5\u05dc\u05ea \u05d4\u05d7\u05d6\u05e7\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nprint(2+2)        # prints 4\nprint(10 - 5)     # prints 5\nprint(4 * 8)      # prints 32\nprint(2 \/ 5)      # prints 0.4\nprint(8 % 4)      # remainder when 8 is divided by 4, prints 0\nprint(8 % 3)      # remainder when 8 is divided by 3, prints 2\nprint(2 ** 4)     # 2 * 2 * 2 * 2, prints 16\nprint(3 ** 2)     # 3 * 3, prints 9\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05d5\u05d3 \u05e1\u05d9\u05de\u05e0\u05d9\u05dd \u05de\u05d9\u05d5\u05d7\u05d3\u05d9\u05dd \u05e9\u05d9\u05e9 \u05d1\u05e9\u05e4\u05d5\u05ea \u05e8\u05d1\u05d5\u05ea \u05d5\u05d2\u05dd \u05d1\u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05dd: =+ \u05e9\u05d0\u05d5\u05de\u05e8 \u05dc\u05d4\u05e2\u05dc\u05d5\u05ea \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05e9\u05e7\u05d9\u05d9\u05dd \u05d1\u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05de\u05e1\u05e4\u05e8 \u05db\u05dc\u05e9\u05d4\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nage = 30\nage += 10\n# Now age is 40\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05de\u05e9\u05ea\u05e0\u05d9\u05dd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05de\u05d0\u05d7\u05e1\u05e0\u05d9\u05dd \u05ea\u05d5\u05e6\u05d0\u05d4 \u05e9\u05dc \u05e4\u05e2\u05d5\u05dc\u05d4. \u05d1\u05d3\u05e8\u05da \u05db\u05dc\u05dc \u05dc\u05e9\u05d9\u05de\u05d5\u05e9 \u05e2\u05ea\u05d9\u05d3\u05d9, \u05d4\u05e6\u05d2\u05d4 \u05d0\u05d5 \u05d0\u05d7\u05e1\u05d5\u05df \u05db\u05dc\u05e9\u05d4\u05d5 \u05d1\u05e9\u05dc\u05d1 \u05de\u05d0\u05d5\u05d7\u05e8 \u05d9\u05d5\u05ea\u05e8. \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05de\u05d0\u05d5\u05d7\u05e1\u05e0\u05d9\u05dd \u05d1\u05e6\u05d5\u05e8\u05d4 \u05de\u05e7\u05d5\u05de\u05d9\u05ea \u05d5\u05e7\u05d9\u05d9\u05de\u05d9\u05dd \u05db\u05dc \u05e2\u05d5\u05d3 \u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e2\u05d5\u05d1\u05d3\u05ea. \u05d1\u05e8\u05d2\u05e2 \u05e9\u05d4\u05d9\u05d0 \u05de\u05e1\u05ea\u05d9\u05d9\u05de\u05ea, \u05d4\u05de\u05d9\u05d3\u05e2 \u05d1\u05d4\u05dd \u05dc\u05d0 \u05e0\u05e9\u05de\u05e8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05db\u05dc \u05e9\u05e4\u05d4 \u05d9\u05e9 \u05d3\u05e8\u05da \u05de\u05e7\u05d5\u05d1\u05dc\u05ea \u05dc\u05db\u05ea\u05d9\u05d1\u05ea \u05e9\u05de\u05d5\u05ea \u05de\u05e9\u05ea\u05e0\u05d9\u05dd, \u05d1\u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05db\u05d5\u05ea\u05d1\u05d9\u05dd \u05d0\u05ea \u05e9\u05de\u05d5\u05ea \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05e7\u05d8\u05e0\u05d5\u05ea \u05d5\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d9 \u05dc\u05d4\u05e4\u05e8\u05d3\u05ea \u05de\u05d9\u05dc\u05d9\u05dd. \u05dc\u05de\u05e9\u05dc: first_name.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfirst_name = &quot;Dan&quot;\nage = 30\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e1\u05d5\u05d2\u05d9 \u05de\u05e9\u05ea\u05e0\u05d9\u05dd (Data Types)<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05e9\u05ea\u05e0\u05d4 \u05de\u05e1\u05d5\u05d2 \u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05de\u05d0\u05d7\u05e1\u05df \u05e8\u05e6\u05e3 \u05e9\u05dc \u05ea\u05d5\u05d9\u05dd. \u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05de\u05e1\u05de\u05e0\u05d9\u05dd \u05e2\u05dd &quot; \u05d0\u05d5 ' \u05d1\u05d4\u05ea\u05d7\u05dc\u05d4 \u05d5\u05d1\u05e1\u05d5\u05e3. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e4\u05e8\u05d5\u05e1 \u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05e2\u05dc \u05e4\u05e0\u05d9 \u05db\u05de\u05d4 \u05e9\u05d5\u05e8\u05d5\u05ea \u05e2\u05dd \u05e1\u05d9\u05de\u05d5\u05df \u05e9\u05dc &quot;' \u05d1\u05d4\u05ea\u05d7\u05dc\u05d4 \u05d5\u05d1\u05e1\u05d5\u05e3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfirst_name = &#039;John&#039;\nlast_name = &quot;Doe&quot;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05d9\u05e8\u05e9\u05d5\u05e8 \u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05de\u05ea\u05d1\u05e6\u05e2 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8 +.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nfirst = &quot;Hello &quot;\nsecond = &quot;World&quot;\nlong_result = first + second + &quot;!&quot;\n# Output: Hello World!\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e4\u05e8\u05d9\u05d3 \u05d0\u05ea \u05d4\u05de\u05d9\u05dc\u05d9\u05dd \u05e9\u05d9\u05e9 \u05d1\u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 split. \u05d0\u05dd \u05de\u05e4\u05e2\u05d9\u05dc\u05d9\u05dd \u05d0\u05ea \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05e8\u05d9\u05e7\u05d4, \u05d4\u05d9\u05d0 \u05ea\u05e4\u05e8\u05d9\u05d3 \u05d0\u05ea \u05d4\u05de\u05d9\u05dc\u05d9\u05dd \u05d1\u05de\u05e7\u05d5\u05dd \u05e9\u05d9\u05e9 \u05e8\u05d5\u05d5\u05d7. \u05d0\u05dd \u05e9\u05d5\u05dc\u05d7\u05d9\u05dd \u05ea\u05d5 \u05de\u05e4\u05e8\u05d9\u05d3, \u05db\u05dc\u05d5\u05de\u05e8 \u05de\u05d4 \u05de\u05e1\u05de\u05df \u05d0\u05ea \u05d4\u05d4\u05e4\u05e8\u05d3\u05d4 \u05d1\u05de\u05e9\u05e4\u05d8, \u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05ea\u05e4\u05e8\u05d9\u05d3 \u05d0\u05ea \u05d4\u05de\u05e9\u05e4\u05d8 \u05dc\u05e4\u05d9 \u05ea\u05d5 \u05d4\u05d4\u05e4\u05e8\u05d3\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nsentence = &quot;split this string on whitespace into individual words&quot;\nprint(sentence.split())\n\ntodos = &#039;Finish Assignment,Work on Python Lab,Watch Movie,Go to Grocery Store&#039;\n# split todos on a specific character i.e. comma ,\nprint(todos.split(&#039;,&#039;))\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05de\u05d5\u05d1\u05e0\u05d5\u05ea \u05dc\u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea. \u05e0\u05e8\u05d0\u05d4 \u05db\u05de\u05d4 \u05e0\u05e4\u05d5\u05e6\u05d5\u05ea:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# Transforming a string.\n# There are more transformation functions.\n######################################\nstring = &quot;ConvErT ALL tO LoWErCASe&quot;\nprint(string.lower())\n#Output: convert all to lowercase\n\n# Formating string - adding variables\n######################################\nopen_string = &quot;Sammy loves {}.&quot;\nprint(open_string.format(&quot;open source&quot;))\n# Output: Sammy loves open source.\n\nprint(&quot;Sammy the {1} has a pet {0}!&quot;.format(&quot;shark&quot;, &quot;pilot fish&quot;))\n# Output: Sammy the pilot fish has a pet shark!\n\n# String length\n######################################\nopen_source = &quot;Sammy contributes to open source.&quot;\nprint(len(open_source))\n# Output: 33\n\n# Joining strings\n######################################\nprint(&quot;,&quot;.join(&#x5B;&quot;sharks&quot;, &quot;crustaceans&quot;, &quot;plankton&quot;]))\n# Output: sharks,crustaceans,plankton\n\n# Replace substring with another\n######################################\nballoon = &quot;Sammy has a balloon.&quot;\nprint(balloon.replace(&quot;has&quot;,&quot;had&quot;))\n# Output: Sammy had a balloon.\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05de\u05e1\u05e4\u05e8\u05d9\u05dd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05e9\u05e0\u05d9 \u05e1\u05d5\u05d2\u05d9 \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05e0\u05e4\u05d5\u05e6\u05d9\u05dd int \u05dc\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05e9\u05dc\u05de\u05d9\u05dd \u05d5-float \u05dc\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05e2\u05e9\u05e8\u05d5\u05e0\u05d9\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\noperand_one = 30\noperand_two = 7\nresult = operand_one \/ operand_two # 30 \/ 7 = 4.285714285714286\nprint(result)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05d1\u05d5\u05dc\u05d9\u05d0\u05e0\u05d9 (Boolean)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05d5\u05dc\u05d9\u05d0\u05e0\u05d9 \u05d4\u05d5\u05d0 \u05de\u05e9\u05ea\u05e0\u05d4 \u05e2\u05dd \u05e9\u05ea\u05d9 \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05d1\u05dc\u05d1\u05d3<\/span><\/strong>, \u05d0\u05de\u05ea \u05d0\u05d5 \u05e9\u05e7\u05e8. \u05d1\u05d9\u05df \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d1\u05d5\u05dc\u05d9\u05d0\u05e0\u05d9 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e4\u05e2\u05d9\u05dc \u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8\u05d9\u05dd \u05dc\u05d5\u05d2\u05d9\u05d9\u05dd. \u05dc\u05de\u05e9\u05dc \u05d0\u05dd \u05d4\u05de\u05e9\u05e4\u05d8 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df \u05e0\u05db\u05d5\u05df \u05d5\u05d2\u05dd \u05d4\u05e9\u05e0\u05d9 \u05d5\u05e0\u05e4\u05e2\u05d9\u05dc \u05d1\u05d9\u05e0\u05d9\u05d4\u05dd \u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8 &quot;\u05d5\u05d2\u05dd&quot; \u05d0\u05d6 \u05ea\u05ea\u05e7\u05d1\u05dc \u05ea\u05d5\u05e6\u05d0\u05ea \u05d0\u05de\u05ea. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nvalue_a = True\nvalue_b = False\nvalue_c = True\nvalue_d = False\n\nprint(value_a and value_b) # True and False will print False\nprint(value_a and value_c) # True and True will print True\nprint(value_a or value_d) # True or False will print True\nprint(value_b or value_d) # False or False will print False\nprint(not value_d) # not False will print True\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05e9\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8\u05d9\u05dd \u05e9\u05dc \u05d4\u05e9\u05d5\u05d5\u05d0\u05d4 \u05db\u05de\u05d5 \u05d2\u05d3\u05d5\u05dc\/\u05e7\u05d8\u05df\/\u05e9\u05d5\u05d5\u05d4, \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05e9\u05de\u05ea\u05e7\u05d1\u05dc\u05ea \u05d4\u05d9\u05d0 \u05d1\u05d5\u05dc\u05d9\u05d0\u05e0\u05d9\u05ea, \u05db\u05dc\u05d5\u05de\u05e8 \u05d4\u05d0\u05dd \u05d4\u05d1\u05d9\u05d8\u05d5\u05d9 \u05e0\u05db\u05d5\u05df \u05d0\u05d5 \u05dc\u05d0. \u05e6\u05e8\u05d9\u05da \u05dc\u05e9\u05d9\u05dd \u05e9\u05d4\u05e9\u05d5\u05d5\u05d0\u05d4 \u05de\u05ea\u05d1\u05e6\u05e2\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1 ==. \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1 = \u05d0\u05d7\u05d3 \u05d9\u05d1\u05e6\u05e2 \u05d4\u05e9\u05de\u05d4 \u05d5\u05dc\u05d0 \u05d4\u05e9\u05d5\u05d5\u05d0\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = 85\nattendance = 95\nhas_plagiarized = False\nprint(not has_plagiarized)\n\nsuccessfully_graduated = (grades &gt; 70) and (attendance &gt; 90) and (not has_plagiarized)\nprint(successfully_graduated)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e8\u05e9\u05d9\u05de\u05d5\u05ea (Lists)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d9\u05e6\u05d9\u05e8\u05ea \u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong> \u05e0\u05e2\u05e9\u05d9\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e2\u05e8\u05db\u05d9\u05dd \u05d4\u05de\u05d5\u05e4\u05e8\u05d3\u05d9\u05dd \u05d1\u05e4\u05e1\u05d9\u05e7 \u05d1\u05ea\u05d5\u05da \u05e1\u05d5\u05d2\u05e8\u05d9\u05d9\u05dd \u05de\u05e8\u05d5\u05d1\u05e2\u05d5\u05ea. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05d9\u05dd \u05db\u05e2\u05e8\u05da, \u05e8\u05e9\u05d9\u05de\u05d4 \u05d0\u05d7\u05e8\u05ea. \u05e8\u05e9\u05d9\u05de\u05d4 \u05d9\u05db\u05d5\u05dc\u05d4 \u05dc\u05d4\u05db\u05d9\u05dc \u05e1\u05d5\u05d2\u05d9\u05dd \u05e9\u05d5\u05e0\u05d9\u05dd \u05e9\u05dc \u05de\u05e9\u05ea\u05e0\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# grades is a list that contains a collection of grades that are whole numbers\ngrades = &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93]\n# Woody Allen movies\nwoody_allen_movies = &#x5B;&#039;A Rainy Day In New York&#039;, \n    &#039;Cafe Society&#039;, \n    &#039;Whatever Words&#039;, \n    &#039;Blue Jasmine&#039;, \n    &#039;Manhattan&#039;]\n# 3x3 matrix created using list\nmatrix = &#x5B;&#x5B;1,2,3], &#x5B;4,5,6], &#x5B;7,8,9]]\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05e6\u05d9\u05e8\u05d5\u05e3 \u05e8\u05e9\u05d9\u05de\u05d5\u05ea \u05d1\u05d9\u05d7\u05d3<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngrades = &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93]\nnew_grades = grades + &#x5B;65, 55, 95]\nprint(new_grades )\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d4\u05d5\u05e1\u05e4\u05ea \u05e2\u05e8\u05da \u05dc\u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05e2\u05e8\u05da \u05dc\u05e1\u05d5\u05e3 \u05d4\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, 55, 95, 70, 82, 100, 63, 89, 93]\ngrades.append(100)\nprint(grades)\n# Output: &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93, 100]\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d4\u05e1\u05e8\u05ea \u05e2\u05e8\u05da \u05d1\u05d5\u05d3\u05d3 \u05de\u05d4\u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e1\u05d9\u05e8 \u05e2\u05e8\u05da \u05de\u05d4\u05e8\u05e9\u05d9\u05de\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e9\u05dc\u05d9\u05d7\u05ea \u05d4\u05e2\u05e8\u05da. \u05d0\u05dd \u05d4\u05e2\u05e8\u05da \u05de\u05d5\u05e4\u05d9\u05e2 \u05e4\u05e2\u05de\u05d9\u05d9\u05dd, \u05d9\u05d5\u05e1\u05e8 \u05d4\u05de\u05d5\u05e4\u05e2 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df \u05e9\u05dc\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93]\n \n# Removes the first occurance of 55\nshopping_line.remove(55)\nprint(grades)\n\n# Output: &#x5B;65, 95, 70, 82, 100, 63, 89, 93]\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05e1\u05e4\u05d9\u05e8\u05ea \u05db\u05de\u05d5\u05ea \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05d1\u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;55, 55, 95, 70, 82, 100, 63, 89, 93]\nnumGrades = grades.count(55)\n\nprint(numGrades)\n# Output: 2\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d0\u05d5\u05e8\u05da \u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;55, 55, 95, 70, 82, 100, 63, 89, 93]\nsize = len(grades)\nprint(size) \n# Output: 9\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05de\u05d9\u05d5\u05df \u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93]\ngrades.sort()\nprint(grades)\n# Output: &#x5B;55, 63, 65, 70, 82, 89, 93, 95, 100]\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d4\u05e1\u05e8\u05ea \u05e2\u05e8\u05da \u05d1\u05d5\u05d3\u05d3 \u05e2\u05dc \u05e4\u05d9 \u05d0\u05d9\u05e0\u05d3\u05e7\u05e1<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e1\u05d9\u05e8 \u05e2\u05e8\u05da \u05d1\u05de\u05e7\u05d5\u05dd \u05de\u05e1\u05d5\u05d9\u05d9\u05dd. \u05d0\u05dd \u05dc\u05d0 \u05de\u05e1\u05e4\u05e7\u05d9\u05dd \u05de\u05e7\u05d5\u05dd, \u05d9\u05d5\u05e1\u05e8 \u05d4\u05e2\u05e8\u05da \u05d4\u05d0\u05d7\u05e8\u05d5\u05df.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93]\n\n# Pop the last element\nremoved_element = grades.pop()\n\nprint(grades)\nprint(removed_element)\n\n# Output:\n# &#x5B;65, 55, 95, 70, 82, 100, 63, 89]\n# 93\n\n# Pop the element 100\ngrades.pop(5)\nprint(grades)\n\n# Output:\n# &#x5B;65, 55, 95, 70, 82, 63, 89]\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d4\u05d2\u05d9\u05e9\u05d4 \u05dc\u05e2\u05e8\u05db\u05d9 \u05d4\u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong> \u05ea\u05d4\u05d9\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 \u05e9\u05dc \u05d4\u05e2\u05e8\u05da \u05e9\u05e8\u05d5\u05e6\u05d9\u05dd. \u05d4\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 \u05de\u05ea\u05d7\u05d9\u05dc \u05d1\u05de\u05e1\u05e4\u05e8 0. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05d2\u05dd \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 \u05e9\u05dc\u05d9\u05dc\u05d9. \u05d4\u05d0\u05d9\u05d1\u05e8 \u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d4\u05e8\u05e9\u05d9\u05de\u05d4 \u05d9\u05d4\u05d9\u05d4 \u05d1\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 1-, \u05d4\u05e9\u05e0\u05d9 \u05dc\u05e4\u05e0\u05d9 \u05d4\u05e1\u05d5\u05e3 \u05d1: 2- \u05d5\u05db\u05df \u05d4\u05dc\u05d0\u05d4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05d2\u05dd \u05dc\u05d2\u05e9\u05ea \u05dc\u05d7\u05dc\u05e7 \u05de\u05d4\u05e8\u05e9\u05d9\u05de\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1 [\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1_\u05d0\u05d7\u05e8\u05d5\u05df:\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1_\u05e8\u05d0\u05e9\u05d5\u05df].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 <strong><span style=\"text-decoration: underline;\">\u05dc\u05d4\u05e1\u05d9\u05e8 \u05e2\u05e8\u05da \u05de\u05d4\u05e8\u05e9\u05d9\u05de\u05d4<\/span><\/strong> \u05e2\u05dc \u05d9\u05d3\u05d9 del.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ngrades = &#x5B;65, 55, 95, 70, 82, 100, 63, 89, 93]\n\n# access grade 100 at index 5 from grades list\nprint(grades&#x5B;5])\n# Output: 100\n\n# access &#039;Cafe Society&#039; from woody_allen movies list at index 1\nprint(woody_allen_movies&#x5B;1])\n# Output: Cafe Society\n\n# access row &#x5B;4,5,6] from matrix list at index 1\nprint(matrix&#x5B;1])\n# Output: &#x5B;4,5,6]\n\n# access row &#x5B;4,5,6] from matrix available at index 1 &amp; print number 6\n# at index 2 in the same row\nprint(matrix&#x5B;1]&#x5B;2])\n# Output: 6\n\n# access grade 100 at index -4 (4th from the end) from grades list\nprint (grades&#x5B;-4])\n# Output: 100\n\n# access first four grades from grades list\nprint(grades &#x5B;0:4])\n# Output: &#x5B;65, 55, 95, 70]\n\n# delete grades 55 &amp; 95 from list grades\ndel grades &#x5B;1:3]\nprint(grades)\n# Output: &#x5B;65, 70, 82, 100, 63, 89, 93]\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05e2\u05d1\u05e8 \u05e2\u05dc \u05d0\u05d9\u05d1\u05e8\u05d9 \u05d4\u05e8\u05e9\u05d9\u05de\u05d4 \u05d9\u05ea\u05d1\u05e6\u05e2 \u05d1\u05d3\u05e8\u05da \u05db\u05dc\u05dc \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05dc\u05d5\u05dc\u05d0\u05d5\u05ea.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u05de\u05d9\u05dc\u05d5\u05df (Dictionary)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Dictionary \u05d4\u05d5\u05d0 \u05d0\u05d5\u05e1\u05e3 \u05e9\u05dc \u05d6\u05d5\u05d2\u05d5\u05ea \u05e9\u05dc \u05de\u05e4\u05ea\u05d7:\u05e2\u05e8\u05da<\/span><\/strong> (key-value pairs).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e6\u05d9\u05e8\u05d4 \u05e9\u05dc Dictionary \u05ea\u05ea\u05d1\u05e6\u05e2 \u05d1\u05e6\u05d5\u05e8\u05d4 \u05d4\u05d6\u05d0\u05ea:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nMy_dict = {key: value, anotherKey: anotherValue}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05e8\u05da \u05e9\u05dc \u05de\u05e4\u05ea\u05d7 \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05d9\u05d9\u05d7\u05d5\u05d3\u05d9 \u05d5\u05d4\u05d2\u05d9\u05e9\u05d4 \u05dc\u05e2\u05e8\u05db\u05d9\u05dd \u05dc\u05d0 \u05ea\u05d4\u05d9\u05d4 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d0\u05d9\u05e0\u05d3\u05e7\u05e1 \u05db\u05de\u05d5 \u05d1\u05e8\u05e9\u05d9\u05de\u05d4 \u05d0\u05dc\u05d0 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e4\u05e0\u05d9\u05d9\u05d4 \u05dc\u05de\u05e4\u05ea\u05d7 \u05d4\u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e2\u05e8\u05da.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d9\u05e6\u05d9\u05e8\u05ea Dictionary<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# create a dictionary using curly brackets called john\n# that stores name, phone, email, course and address\njohn = {&#039;name&#039;: &#039;John&#039;, \n   &#039;phone&#039;: 1234567890, \n   &#039;email&#039;: &#039;john.doe@gmail.com&#039;, \n   &#039;course: Python v3&#039;, \n   &#039;address&#039;: &#039;123 Front St City Country&#039;}\nprint(john)\n\n# create a dictionary using dict() called adam \n# that stores name, phone, email, course\nadam = dict ({&#039;name&#039;: &#039;Adam&#039;, &#039;phone&#039;: 1234567890, &#039;email&#039;: &#039;adam.smith@email.com&#039;,\n&#039;course&#039;: &#039;Python v3&#039;})\nprint(adam)\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d2\u05d9\u05e9\u05d4 \u05dc\u05e2\u05e8\u05da \u05d1-Dictionary<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\njohn = {&#039;name&#039;: &#039;John&#039;, \n   &#039;phone&#039;: 1234567890, \n   &#039;email&#039;: &#039;john.doe@gmail.com&#039;, \n   &#039;course: Python v3&#039;, \n   &#039;address&#039;: &#039;123 Front St City Country&#039;}\n\nprint(john&#x5B;&#039;name&#039;])\n# Output: John\nprint(john&#x5B;&#039;email&#039;])\n# Output: john.doe@gmail.com\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05e2\u05d3\u05db\u05d5\u05df \u05e2\u05e8\u05da \u05d1-Dictionary<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\njohn = {&#039;name&#039;: &#039;John&#039;, \n   &#039;phone&#039;: 1234567890, \n   &#039;email&#039;: &#039;john.doe@gmail.com&#039;, \n   &#039;course: Python v3&#039;, \n   &#039;address&#039;: &#039;123 Front St City Country&#039;}\n\njohn&#x5B;&#039;phone&#039;] = 9876543210\nprint(john)\n# Output: {&#039;name&#039;: &#039;John&#039;, &#039;phone&#039;: 9876543210, &#039;email&#039;: &#039;john.doe@gmail.com&#039;, &#039;course&#039;: &#039;Python v3&#039;, &#039;address&#039;: &#039;123 Front St City Country&#039;}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05d9\u05d8\u05d5\u05dc \u05e2\u05e8\u05da \u05d1-<strong><span style=\"text-decoration: underline;\">Dictionary<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\njohn = {&#039;name&#039;: &#039;John&#039;, \n   &#039;phone&#039;: 1234567890, \n   &#039;email&#039;: &#039;john.doe@gmail.com&#039;, \n   &#039;course: Python v3&#039;, \n   &#039;address&#039;: &#039;123 Front St City Country&#039;}\n\n# delete address for john\njohn.pop(&#039;address&#039;)\nprint(john)\n# Output: {&#039;name&#039;: &#039;John&#039;, &#039;phone&#039;: 1234567890, &#039;email&#039;: &#039;john.doe@gmail.com&#039;, &#039;course&#039;: &#039;Python v3&#039;}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d1\u05d9\u05d8\u05d5\u05dc Dictionary<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\njohn = {&#039;name&#039;: &#039;John&#039;, \n   &#039;phone&#039;: 1234567890, \n   &#039;email&#039;: &#039;john.doe@gmail.com&#039;, \n   &#039;course: Python v3&#039;, \n   &#039;address&#039;: &#039;123 Front St City Country&#039;}\n\ndel john\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e1\u05d8 (Set)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Set \u05d4\u05d5\u05d0 \u05d0\u05d5\u05e1\u05e3 \u05dc\u05d0 \u05de\u05e1\u05d5\u05d3\u05e8 \u05e9\u05dc \u05e2\u05e8\u05db\u05d9\u05dd \u05d5\u05dc\u05d0 \u05d9\u05db\u05d5\u05dc \u05dc\u05d4\u05d9\u05d5\u05ea \u05d1\u05d5 \u05e2\u05e8\u05da \u05db\u05e4\u05d5\u05dc, \u05db\u05dc \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05d9\u05d9\u05d7\u05d5\u05d3\u05d9\u05d9\u05dd. \u05d0\u05dd \u05d9\u05e9 \u05e2\u05e8\u05da \u05db\u05e4\u05d5\u05dc \u05d4\u05d5\u05d0 \u05d9\u05d5\u05e1\u05e8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d9\u05e6\u05d9\u05e8\u05ea set<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# movies to watch for john\njohn_movies_wishlist = {&#039;Titanic&#039;, &#039;Die Hard&#039;, &#039;Pulp Fiction&#039;, &#039;Forrest Gump&#039;, &#039;Parasite&#039;, &#039;Die Hard&#039;}\n# movies to watch for adam\nadam_movies_wishlist = {&#039;Psycho&#039;, &#039;The Lion King&#039;, &#039;Titanic&#039;, &#039;Parasite&#039;, &#039;Gladiator&#039;, &#039;Coco&#039;}\n\n# note: duplicate items from a set are automatically removed\nprint(john_movies_wishlist)\n# Output: {&#039;Parasite&#039;, &#039;Die Hard&#039;, &#039;Pulp Fiction&#039;, &#039;Forrest Gump&#039;, &#039;Titanic&#039;}\n\n# note: items do not appear in the same order as written\nprint(adam_movies_wishlist)\n# Output: {&#039;Parasite&#039;, &#039;Gladiator&#039;, &#039;Psycho&#039;, &#039;The Lion King&#039;, &#039;Titanic&#039;, &#039;Coco&#039;}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05e9\u05e0\u05d9\u05ea\u05df \u05dc\u05d1\u05e6\u05e2 \u05e2\u05dc set<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05de\u05e6\u05d5\u05d0 \u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05e0\u05de\u05e6\u05d0\u05d9\u05dd \u05d1-set \u05d0\u05d7\u05d3 \u05d5\u05dc\u05d0 \u05d1\u05d0\u05d7\u05e8, \u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05de\u05e9\u05d5\u05ea\u05e4\u05d9\u05dd \u05dc\u05e9\u05e0\u05d9 set, \u05e9\u05e0\u05de\u05e6\u05d0\u05d9\u05dd \u05dc\u05e4\u05d7\u05d5\u05ea \u05d1\u05d0\u05d7\u05d3 \u05de\u05d4\u05dd \u05d5\u05e2\u05d5\u05d3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# movies to watch for john\njohn_movies_wishlist = {&#039;Titanic&#039;, &#039;Die Hard&#039;, &#039;Pulp Fiction&#039;, &#039;Forrest Gump&#039;, &#039;Parasite&#039;, &#039;Die Hard&#039;}\n# movies to watch for adam\nadam_movies_wishlist = {&#039;Psycho&#039;, &#039;The Lion King&#039;, &#039;Titanic&#039;, &#039;Parasite&#039;, &#039;Gladiator&#039;, &#039;Coco&#039;}\n\n# movies in John\u2019s wishlist but not Adam\u2019s\nprint(john_movies_wishlist - adam_movies_wishlist)\n# Output: {&#039;Pulp Fiction&#039;, &#039;Die Hard&#039;, &#039;Forrest Gump&#039;}\n\n# movies in either John&#039;s wishlist or Adam&#039;s wishlist or in both wishlists\nprint(john_movies_wishlist | adam_movies_wishlist)\n# Output: {&#039;Coco&#039;, &#039;Parasite&#039;, &#039;Gladiator&#039;, &#039;Titanic&#039;, &#039;Pulp Fiction&#039;, &#039;The Lion King&#039;, &#039;Forrest Gump&#039;, &#039;Psycho&#039;, &#039;Die Hard&#039;}\n\n# movies in both John&#039;s wishlist and Adam&#039;s wishlist\nprint(john_movies_wishlist &amp; adam_movies_wishlist)\n# Output: {&#039;Titanic&#039;, &#039;Parasite&#039;}\n\n# movies in either John&#039;s wishlist or Adam&#039;s wishlist but not in both\nprint(john_movies_wishlist ^ adam_movies_wishlist)\n# Output: {&#039;Coco&#039;,&#039;Gladiator&#039;, &#039;The Lion King&#039;, &#039;Pulp Fiction&#039;, &#039;Forrest Gump&#039;, &#039;Psycho&#039;, &#039;Die Hard&#039;}\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Tuple <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tuple (\u05d0\u05d9\u05df \u05de\u05d9\u05dc\u05d4 \u05d1\u05e2\u05d1\u05e8\u05d9\u05ea, \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05de\u05d9\u05dc\u05d4 \u05e8\u05e9\u05d5\u05de\u05d4) \u05d3\u05d5\u05de\u05d4 \u05dc\u05e8\u05e9\u05d9\u05de\u05d4 (list), \u05d0\u05d1\u05dc \u05d4\u05d4\u05d1\u05d3\u05dc \u05d4\u05d5\u05d0 \u05d1\u05e6\u05d5\u05e8\u05ea \u05d4\u05d9\u05e6\u05d9\u05e8\u05d4 \u05e9\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d5\u05d1\u05db\u05da \u05e9\u05d1-Tuple \u05d0\u05d9 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05e0\u05d5\u05ea \u05e2\u05e8\u05db\u05d9\u05dd \u05d0\u05d7\u05e8\u05d9 \u05e9\u05d4\u05d2\u05d3\u05e8\u05e0\u05d5 \u05d0\u05d5\u05ea\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">\u05d9\u05e6\u05d9\u05e8\u05ea Tuple<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# create a tuple of first five odd numbers\nodd_numbers = (1, 3, 5, 7, 9)\n\nprint(odd_numbers)\n(1, 3, 5, 7, 9)\n\nodd_numbers&#x5B;1] = 2 # Will give ERROR\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d2\u05d3\u05d9\u05e8 Tuple \u05d5<strong><span style=\"text-decoration: underline;\">\u05dc\u05e4\u05e8\u05e7 \u05d0\u05ea \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05dc\u05d5<\/span><\/strong> \u05dc\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05e9\u05e0\u05d2\u05d3\u05d9\u05e8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# create a tuple called student while PACKING name, age, course and \n# phone number\n# note: as you can see parantheses are optional while packing values \n# into tuple\n\nstudent = &#039;John Doe&#039;, 27, &#039;Python v3&#039;, 1234567890\nprint (student)\n# Output: (&#039;John Doe&#039;, 27, &#039;Python v3&#039;, 1234567890)\n\n# let&#039;s unpack the values from student tuple into individual variables\nname, age, course, phone = student\n\nprint (name)\nprint (age)\nprint (course)\nprint (phone)\n\n# Output: John Doe\n# Output: 27\n# Output: Python v3\n# Output: 1234567890\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d2\u05d9\u05e9\u05d4 \u05dc\u05e2\u05e8\u05db\u05d9\u05dd \u05d1-Tuple <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nstudent = &#039;John Doe&#039;, 27, &#039;Python v3&#039;, 1234567890\n\n# let&#039;s unpack the values from student tuple into individual variables\nname, age, course, phone = student\n\n# get course from student tuple using indexing\nprint(student&#x5B;2])\n# Output: Python v3\n\n# get course from student tuple using negative indexing, -1 is the last element\nprint(student&#x5B;-2])\n# Output: Python v3\n\n# get course from student tuple using slicing\nprint(student&#x5B;2:3])\n# Output: (&#039;Python v3\u2019,)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05d4\u05de\u05e8\u05d4 \u05de\u05e1\u05d5\u05d2 \u05de\u05e9\u05ea\u05e0\u05d4 \u05d0\u05d7\u05d3 \u05dc\u05d0\u05d7\u05e8<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# num_one of type integer\nnun_one = 50\n# num_two of type string\nnum_two_str = &quot;150.75&quot;\n# num_two explicitly converted from string to number\nnum_two = float(num_two_str)\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05e2\u05d1\u05e8 \u05dc\u05d7\u05dc\u05e7 2 <a href=\"https:\/\/epicmarketing.co.il\/notebook\/python-control-flow\/\">\u05e8\u05e6\u05e3 \u05e7\u05d5\u05d3 \u05d1\u05e4\u05d9\u05d9\u05ea\u05d5\u05df: \u05ea\u05e0\u05d0\u05d9\u05dd \u05d5\u05dc\u05d5\u05dc\u05d0\u05d5\u05ea<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05e0\u05d9 \u2013\u00a0\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df.\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. \u05de\u05d4 \u05d4\u05d9\u05d0 \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Python) Python is a cross-platform, high-level, object-oriented, and interpreted programming language. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05e9\u05e4\u05ea \u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05de\u05ea\u05d0\u05d9\u05de\u05d4 \u05dc\u05de\u05d2\u05d5\u05d5\u05df \u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d5\u05ea \u05db\u05de\u05d5 win \u05d5-mac. \u05d4\u05d9\u05d0 \u05e9\u05e4\u05d4 \u05e2\u05d9\u05dc\u05d9\u05ea \u05d5\u05de\u05db\u05d5\u05d5\u05e0\u05ea \u05e2\u05e6\u05de\u05d9\u05dd. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05d0\u05d7\u05ea \u05de\u05e9\u05e4\u05d5\u05ea \u05d4\u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05e0\u05e4\u05d5\u05e6\u05d5\u05ea \u05d5\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05d4 \u05d1\u05d7\u05d1\u05e8\u05d5\u05ea \u05e8\u05d1\u05d5\u05ea \u05d5\u05d1\u05d9\u05df \u05d4\u05e9\u05d0\u05e8 [&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_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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-1825","post","type-post","status-publish","format-standard","hentry","category-python","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df - 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-introduction\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05e0\u05d9 \u2013\u00a0\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df.\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. \u05de\u05d4 \u05d4\u05d9\u05d0 \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Python) Python is a cross-platform, high-level, object-oriented, and interpreted programming language. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05e9\u05e4\u05ea \u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05de\u05ea\u05d0\u05d9\u05de\u05d4 \u05dc\u05de\u05d2\u05d5\u05d5\u05df \u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d5\u05ea \u05db\u05de\u05d5 win \u05d5-mac. \u05d4\u05d9\u05d0 \u05e9\u05e4\u05d4 \u05e2\u05d9\u05dc\u05d9\u05ea \u05d5\u05de\u05db\u05d5\u05d5\u05e0\u05ea \u05e2\u05e6\u05de\u05d9\u05dd. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05d0\u05d7\u05ea \u05de\u05e9\u05e4\u05d5\u05ea \u05d4\u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05e0\u05e4\u05d5\u05e6\u05d5\u05ea \u05d5\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05d4 \u05d1\u05d7\u05d1\u05e8\u05d5\u05ea \u05e8\u05d1\u05d5\u05ea \u05d5\u05d1\u05d9\u05df \u05d4\u05e9\u05d0\u05e8 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-18T08:33:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-19T12:56:47+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=\"4 \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-introduction\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df\",\"datePublished\":\"2024-07-18T08:33:34+00:00\",\"dateModified\":\"2024-07-19T12:56:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/\"},\"wordCount\":58,\"commentCount\":4,\"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-introduction\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/\",\"name\":\"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"datePublished\":\"2024-07-18T08:33:34+00:00\",\"dateModified\":\"2024-07-19T12:56:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/python-introduction\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df\"}]},{\"@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":"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df - 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-introduction\/","og_locale":"he_IL","og_type":"article","og_title":"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df - Code Notebook","og_description":"\u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d7\u05dc\u05e7 \u05d4\u05e9\u05e0\u05d9 \u2013\u00a0\u05e8\u05e6\u05e3 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e4\u05d9\u05d9\u05ea\u05d5\u05df.\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. \u05de\u05d4 \u05d4\u05d9\u05d0 \u05e4\u05d9\u05d9\u05ea\u05d5\u05df (Python) Python is a cross-platform, high-level, object-oriented, and interpreted programming language. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05e9\u05e4\u05ea \u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05de\u05ea\u05d0\u05d9\u05de\u05d4 \u05dc\u05de\u05d2\u05d5\u05d5\u05df \u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d5\u05ea \u05db\u05de\u05d5 win \u05d5-mac. \u05d4\u05d9\u05d0 \u05e9\u05e4\u05d4 \u05e2\u05d9\u05dc\u05d9\u05ea \u05d5\u05de\u05db\u05d5\u05d5\u05e0\u05ea \u05e2\u05e6\u05de\u05d9\u05dd. \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05d4\u05d9\u05d0 \u05d0\u05d7\u05ea \u05de\u05e9\u05e4\u05d5\u05ea \u05d4\u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05e0\u05e4\u05d5\u05e6\u05d5\u05ea \u05d5\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05d4 \u05d1\u05d7\u05d1\u05e8\u05d5\u05ea \u05e8\u05d1\u05d5\u05ea \u05d5\u05d1\u05d9\u05df \u05d4\u05e9\u05d0\u05e8 [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/","og_site_name":"Code Notebook","article_published_time":"2024-07-18T08:33:34+00:00","article_modified_time":"2024-07-19T12:56:47+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":"4 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df","datePublished":"2024-07-18T08:33:34+00:00","dateModified":"2024-07-19T12:56:47+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/"},"wordCount":58,"commentCount":4,"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-introduction\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/","url":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/","name":"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"datePublished":"2024-07-18T08:33:34+00:00","dateModified":"2024-07-19T12:56:47+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/python-introduction\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"\u05d4\u05d9\u05db\u05e8\u05d5\u05ea \u05e2\u05dd \u05e4\u05d9\u05d9\u05ea\u05d5\u05df"}]},{"@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\/1825","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=1825"}],"version-history":[{"count":11,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1825\/revisions"}],"predecessor-version":[{"id":1863,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/1825\/revisions\/1863"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=1825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=1825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=1825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}