{"id":2091,"date":"2024-12-05T11:13:06","date_gmt":"2024-12-05T09:13:06","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=2091"},"modified":"2024-12-05T11:13:09","modified_gmt":"2024-12-05T09:13:09","slug":"modules-and-libraries","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/","title":{"rendered":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05de\u05d0\u05e4\u05e9\u05e8\u05d9\u05dd \u05dc\u05d4\u05e8\u05d7\u05d9\u05d1 \u05d0\u05ea \u05d4\u05d9\u05db\u05d5\u05dc\u05d5\u05ea \u05e9\u05dc \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05de\u05d1\u05dc\u05d9 \u05dc\u05db\u05ea\u05d5\u05d1 \u05d4\u05db\u05dc \u05de\u05d0\u05e4\u05e1.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd<\/strong> \u05d4\u05dd \u05e7\u05d1\u05e6\u05d9 \u05e7\u05d5\u05d3 \u05de\u05d5\u05db\u05e0\u05d9\u05dd \u05e9\u05de\u05db\u05d9\u05dc\u05d9\u05dd \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d5\u05e9\u05d9\u05d8\u05d5\u05ea \u05dc\u05e9\u05d9\u05de\u05d5\u05e9 \u05d7\u05d5\u05d6\u05e8.<\/li>\n\n\n\n<li><strong>\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e4\u05d5\u05e4\u05d5\u05dc\u05e8\u05d9\u05d5\u05ea<\/strong> \u05db\u05de\u05d5 <code>math<\/code>, <code>random<\/code>, \u05d5-<code>os<\/code> \u05de\u05e9\u05de\u05e9\u05d5\u05ea \u05dc\u05de\u05d2\u05d5\u05d5\u05df \u05e8\u05d7\u05d1 \u05e9\u05dc \u05de\u05e9\u05d9\u05de\u05d5\u05ea, \u05db\u05d2\u05d5\u05df \u05d7\u05d9\u05e9\u05d5\u05d1\u05d9\u05dd \u05de\u05ea\u05de\u05d8\u05d9\u05d9\u05dd, \u05e2\u05d1\u05d5\u05d3\u05d4 \u05e2\u05dd \u05e7\u05d1\u05e6\u05d9\u05dd, \u05d5\u05d9\u05e6\u05d9\u05e8\u05ea \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d0\u05e7\u05e8\u05d0\u05d9\u05d9\u05dd.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e4\u05e8\u05d5\u05d9\u05e7\u05d8\u05d9\u05dd \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd, \u05d7\u05e9\u05d5\u05d1 \u05dc\u05d0\u05e8\u05d2\u05df \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3 \u05d1\u05e6\u05d5\u05e8\u05d4 \u05de\u05e1\u05d5\u05d3\u05e8\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d7\u05dc\u05d5\u05e7\u05ea\u05d5 \u05dc\u05e7\u05d1\u05e6\u05d9\u05dd \u05e0\u05e4\u05e8\u05d3\u05d9\u05dd. \u05d6\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u05e0\u05d9\u05d4\u05d5\u05dc \u05e7\u05d5\u05d3 \u05de\u05e1\u05d5\u05d3\u05e8:<\/strong> \u05e7\u05dc \u05d9\u05d5\u05ea\u05e8 \u05dc\u05e2\u05e7\u05d5\u05d1 \u05d0\u05d7\u05e8\u05d9 \u05e7\u05d1\u05e6\u05d9\u05dd \u05e7\u05d8\u05e0\u05d9\u05dd \u05d5\u05de\u05de\u05d5\u05e7\u05d3\u05d9\u05dd.<\/li>\n\n\n\n<li><strong>\u05e9\u05d9\u05de\u05d5\u05e9 \u05d7\u05d5\u05d6\u05e8 \u05d1\u05e7\u05d5\u05d3:<\/strong> \u05e0\u05d9\u05ea\u05df \u05dc\u05d9\u05d9\u05d1\u05d0 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d5\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05e9\u05db\u05ea\u05d1\u05ea\u05dd \u05d1\u05e2\u05e6\u05de\u05db\u05dd \u05dc\u05e7\u05d1\u05e6\u05d9\u05dd \u05d0\u05d7\u05e8\u05d9\u05dd.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u05d3\u05d5\u05d2\u05de\u05ea \u05e7\u05d5\u05d3<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# Importing and using the math module\nimport math\n\nprint(&quot;Math module example:&quot;)\nradius = 5\narea = math.pi * math.pow(radius, 2)  # \u03c0 * r^2\nprint(f&quot;Area of a circle with radius {radius}: {area}&quot;)\n\n# Importing and using the random module\nimport random\n\nprint(&quot;\\nRandom module example:&quot;)\nrandom_number = random.randint(1, 100)  # Generate a random integer between 1 and 100\nprint(f&quot;Random number between 1 and 100: {random_number}&quot;)\n\n# Importing and using the os module\nimport os\n\nprint(&quot;\\nOS module example:&quot;)\ncurrent_directory = os.getcwd()  # Get the current working directory\nprint(f&quot;Current directory: {current_directory}&quot;)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>\u05d4\u05e1\u05d1\u05e8 \u05e2\u05dc \u05d4\u05e7\u05d5\u05d3<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05de\u05d5\u05d3\u05d5\u05dc <code>math<\/code>:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>math.pi<\/code>: \u05e7\u05d1\u05d5\u05e2 \u05e9\u05dc \u03c0 (\u05e4\u05d0\u05d9).<\/li>\n\n\n\n<li><code>math.pow(radius, 2)<\/code>: \u05de\u05e2\u05dc\u05d4 \u05d0\u05ea <code>radius<\/code> \u05d1\u05e8\u05d9\u05d1\u05d5\u05e2.<\/li>\n\n\n\n<li>\u05d4\u05e9\u05ea\u05de\u05e9\u05e0\u05d5 \u05d1\u05e7\u05d1\u05d5\u05e2 \u05d5\u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05db\u05d3\u05d9 \u05dc\u05d7\u05e9\u05d1 \u05d0\u05ea \u05e9\u05d8\u05d7 \u05d4\u05de\u05e2\u05d2\u05dc.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05de\u05d5\u05d3\u05d5\u05dc <code>random<\/code>:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>random.randint(1, 100)<\/code>: \u05de\u05d7\u05d6\u05d9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05d0\u05e7\u05e8\u05d0\u05d9 \u05d1\u05d9\u05df 1 \u05dc-100 (\u05db\u05d5\u05dc\u05dc).<\/li>\n\n\n\n<li>\u05e9\u05d9\u05de\u05d5\u05e9\u05d9 \u05dc\u05d9\u05e6\u05d9\u05e8\u05ea \u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d1\u05e6\u05d5\u05e8\u05d4 \u05d3\u05d9\u05e0\u05de\u05d9\u05ea.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05de\u05d5\u05d3\u05d5\u05dc <code>os<\/code>:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>os.getcwd()<\/code>: \u05de\u05d7\u05d6\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e0\u05ea\u05d9\u05d1 \u05dc\u05ea\u05d9\u05e7\u05d9\u05d9\u05d4 \u05d4\u05e0\u05d5\u05db\u05d7\u05d9\u05ea \u05e9\u05d1\u05d4 \u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e8\u05e6\u05d4.<\/li>\n\n\n\n<li>\u05de\u05e9\u05de\u05e9 \u05dc\u05e0\u05d9\u05d4\u05d5\u05dc \u05e7\u05d1\u05e6\u05d9\u05dd \u05d5\u05e1\u05d1\u05d9\u05d1\u05d5\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05ea\u05e8\u05d2\u05d9\u05dc 1:<\/strong><br>\u05d4\u05e9\u05ea\u05de\u05e9\u05d5 \u05d1\u05de\u05d5\u05d3\u05d5\u05dc <code>math<\/code> \u05db\u05d3\u05d9 \u05dc\u05d7\u05e9\u05d1 \u05d0\u05ea \u05e9\u05d8\u05d7 \u05e9\u05dc \u05de\u05e2\u05d2\u05dc \u05e2\u05dd \u05e8\u05d3\u05d9\u05d5\u05e1 \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05d6\u05d9\u05df.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05ea\u05e8\u05d2\u05d9\u05dc 2:<\/strong><br>\u05db\u05ea\u05d1\u05d5 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e9\u05de\u05e9\u05ea\u05de\u05e9\u05ea \u05d1\u05de\u05d5\u05d3\u05d5\u05dc <code>random<\/code> \u05dc\u05d9\u05e6\u05d9\u05e8\u05ea \u05e8\u05e9\u05d9\u05de\u05d4 \u05e9\u05dc \u05d7\u05de\u05d9\u05e9\u05d4 \u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d0\u05e7\u05e8\u05d0\u05d9\u05d9\u05dd \u05d1\u05d9\u05df 1 \u05dc-50.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05ea\u05e8\u05d2\u05d9\u05dc 3:<\/strong><br>\u05d1\u05d3\u05e7\u05d5 \u05d0\u05ea \u05d4\u05ea\u05d9\u05e7\u05d9\u05d9\u05d4 \u05d4\u05e0\u05d5\u05db\u05d7\u05d9\u05ea \u05e9\u05dc\u05db\u05dd \u05d1\u05e2\u05d6\u05e8\u05ea <code>os.getcwd()<\/code>, \u05d5\u05d0\u05d6 \u05e6\u05e8\u05d5 \u05e7\u05d5\u05d1\u05e5 \u05d7\u05d3\u05e9 \u05d1\u05ea\u05d9\u05e7\u05d9\u05d9\u05d4 \u05d6\u05d5 \u05d1\u05e2\u05d6\u05e8\u05ea <code>os<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05ea\u05e8\u05d2\u05d9\u05dc 4:<\/strong><br>\u05d0\u05ea\u05d2\u05e8: \u05d4\u05e9\u05ea\u05de\u05e9\u05d5 \u05d1\u05de\u05d5\u05d3\u05d5\u05dc <code>random<\/code> \u05db\u05d3\u05d9 \u05dc\u05d9\u05e6\u05d5\u05e8 \u05de\u05e1\u05e4\u05e8 \u05d0\u05e7\u05e8\u05d0\u05d9 \u05d1\u05d9\u05df 1 \u05dc-10 \u05d5\u05e9\u05d0\u05dc\u05d5 \u05d0\u05ea \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05dc\u05e0\u05d7\u05e9 \u05d0\u05d5\u05ea\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05ea\u05e8\u05d2\u05d9\u05dc 5:<\/strong><br>\u05db\u05ea\u05d1\u05d5 \u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e9\u05de\u05e9\u05ea\u05de\u05e9\u05ea \u05d1-<code>math.sqrt<\/code> \u05db\u05d3\u05d9 \u05dc\u05d7\u05e9\u05d1 \u05d0\u05ea \u05d4\u05e9\u05d5\u05e8\u05e9 \u05d4\u05e8\u05d9\u05d1\u05d5\u05e2\u05d9 \u05e9\u05dc \u05de\u05e1\u05e4\u05e8 \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05d6\u05d9\u05df.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u05d3\u05d5\u05d2\u05de\u05ea \u05e7\u05d5\u05d3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d1\u05e5 <code>math_utils.py<\/code> &#8211; \u05e7\u05d5\u05d1\u05e5 \u05e2\u05dd \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05de\u05ea\u05de\u05d8\u05d9\u05d5\u05ea<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# math_utils.py\n\ndef circle_area(radius):\n    &quot;&quot;&quot;Calculate the area of a circle given its radius.&quot;&quot;&quot;\n    from math import pi\n    return pi * (radius ** 2)\n\ndef add_numbers(a, b):\n    &quot;&quot;&quot;Add two numbers.&quot;&quot;&quot;\n    return a + b\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d1\u05e5 <code>main.py<\/code> &#8211; \u05d4\u05e7\u05d5\u05d1\u05e5 \u05d4\u05e8\u05d0\u05e9\u05d9 \u05e9\u05de\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea math_utils<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# main.py\n\nimport math_utils  # Importing the custom module\n\nprint(&quot;Using math_utils module:&quot;)\nradius = 5\nprint(f&quot;Area of a circle with radius {radius}: {math_utils.circle_area(radius)}&quot;)\n\na, b = 3, 7\nprint(f&quot;Sum of {a} and {b}: {math_utils.add_numbers(a, b)}&quot;)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>\u05d4\u05e1\u05d1\u05e8 \u05e2\u05dc \u05d4\u05e7\u05d5\u05d3<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u05e7\u05d5\u05d1\u05e5 <code>math_utils.py<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05e7\u05d5\u05d1\u05e5 \u05d6\u05d4 \u05de\u05db\u05d9\u05dc \u05e9\u05ea\u05d9 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea: <code>circle_area<\/code> \u05dc\u05d7\u05d9\u05e9\u05d5\u05d1 \u05e9\u05d8\u05d7 \u05de\u05e2\u05d2\u05dc \u05d5-<code>add_numbers<\/code> \u05dc\u05d7\u05d9\u05d1\u05d5\u05e8 \u05e9\u05e0\u05d9 \u05de\u05e1\u05e4\u05e8\u05d9\u05dd.<\/li>\n\n\n\n<li>\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d0\u05dc\u05d5 \u05d6\u05de\u05d9\u05e0\u05d5\u05ea \u05dc\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05db\u05dc \u05e7\u05d5\u05d1\u05e5 \u05d0\u05d7\u05e8 \u05e9\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea <code>math_utils<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u05e7\u05d5\u05d1\u05e5 <code>main.py<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05d4\u05e7\u05d5\u05d1\u05e5 \u05d4\u05e8\u05d0\u05e9\u05d9 \u05de\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea <code>math_utils<\/code> \u05d5\u05de\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e9\u05d4\u05d5\u05d2\u05d3\u05e8\u05d5 \u05d1\u05d5.<\/li>\n\n\n\n<li>\u05e0\u05d9\u05ea\u05df \u05dc\u05e7\u05e8\u05d5\u05d0 \u05dc\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d1\u05e6\u05d5\u05e8\u05d4 <code>math_utils.circle_area<\/code> \u05db\u05d3\u05d9 \u05dc\u05e6\u05d9\u05d9\u05df \u05d0\u05ea \u05d4\u05de\u05e7\u05d5\u05e8 \u05e9\u05dc\u05d4\u05df.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u05d4\u05e4\u05e8\u05d5\u05d9\u05e7\u05d8 \u05d4\u05d2\u05d3\u05d5\u05dc: \u05de\u05e9\u05d7\u05e7 \u05d4\u05d8\u05e8\u05d9\u05d5\u05d5\u05d9\u05d4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05e2\u05ea \u05e0\u05d7\u05dc\u05e7 \u05d0\u05ea \u05de\u05e9\u05d7\u05e7 \u05d4\u05d8\u05e8\u05d9\u05d5\u05d5\u05d9\u05d4 \u05dc\u05de\u05e1\u05e4\u05e8 \u05e7\u05d1\u05e6\u05d9\u05dd \u05db\u05d3\u05d9 \u05dc\u05e9\u05e4\u05e8 \u05d0\u05ea \u05d4\u05d0\u05e8\u05d2\u05d5\u05df.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>\u05e7\u05d5\u05d1\u05e5 <code>quiz_questions.py<\/code><\/strong><\/h5>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# quiz_questions.py\nimport os\n\nquestions_file = &quot;questions.txt&quot;\n\ndef load_questions():\n    &quot;&quot;&quot;Load questions from a file.&quot;&quot;&quot;\n    questions = {}\n    if not os.path.exists(questions_file):  # Check if the file exists\n        print(f&quot;{questions_file} not found. Creating an empty file.&quot;)\n        with open(questions_file, &quot;w&quot;) as file:\n            pass  # Create an empty file\n    else:\n        with open(questions_file, &quot;r&quot;) as file:\n            for line in file:\n                question, answer = line.strip().split(&quot;||&quot;)  # Split by separator\n                questions&#x5B;question] = answer\n    return questions\n\ndef save_questions(questions):\n    &quot;&quot;&quot;Save questions to a file.&quot;&quot;&quot;\n    with open(questions_file, &quot;w&quot;) as file:\n        for question, answer in questions.items():\n            file.write(f&quot;{question}||{answer}\\n&quot;)  # Use &quot;||&quot; as separator\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d1\u05e5 <code>quiz_game.py<\/code><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# quiz_game.py\nimport random\nfrom quiz_questions import load_questions, save_questions\n\ndef play_quiz(name, questions):\n    &quot;&quot;&quot;Play the quiz game using the global questions dictionary.&quot;&quot;&quot;\n    score = 0  # Initialize score\n    randomized_questions = list(questions.items())\n    random.shuffle(randomized_questions)  # Shuffle the list\n\n    # Loop through the questions\n    for question, correct_answer in randomized_questions:\n        print(&quot;\\n&quot; + question)\n        user_answer = input(&quot;Your answer: &quot;).strip()\n\n        if str(user_answer).lower() == str(correct_answer).lower():\n            print(&quot;Correct!&quot;)\n            score += 1\n        else:\n            print(&quot;Wrong! The correct answer was:&quot;, correct_answer)\n\n    print(&quot;\\nGame over!&quot;)\n    print(name, &quot;your final score is:&quot;, score)\n    return score\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d1\u05e5 <code>main.py<\/code><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\n# main.py\nfrom quiz_questions import load_questions, save_questions\nfrom quiz_game import play_quiz\n\ndef welcome():\n    &quot;&quot;&quot;Welcome the player and handle user flow.&quot;&quot;&quot;\n    questions = load_questions()\n    print(&quot;Welcome to the Quiz Game!&quot;)\n    name = input(&quot;What is your name? &quot;).strip()\n\n    if name.lower() == &quot;admin&quot;:\n        manage_quiz(questions)\n    else:\n        play_quiz(name, questions)\n\ndef manage_quiz(questions):\n    &quot;&quot;&quot;Allow admin to manage questions.&quot;&quot;&quot;\n    while True:\n        action = input(&quot;Do you want to &#039;add&#039;, &#039;remove&#039;, or &#039;done&#039;? &quot;).lower().strip()\n        if action == &quot;done&quot;:\n            break\n        elif action == &quot;add&quot;:\n            new_question = input(&quot;Enter a new question: &quot;).strip()\n            new_answer = input(&quot;Enter the correct answer: &quot;).strip()\n            questions&#x5B;new_question] = new_answer\n            print(&quot;Question added!&quot;)\n        elif action == &quot;remove&quot;:\n            question_to_remove = input(&quot;Enter the question to remove: &quot;).strip()\n            if question_to_remove in questions:\n                del questions&#x5B;question_to_remove]\n                print(&quot;Question removed!&quot;)\n            else:\n                print(&quot;Question not found.&quot;)\n        else:\n            print(&quot;Invalid option. Try again.&quot;)\n    \n    save_questions(questions)\n    print(&quot;\\nQuestions saved successfully!&quot;)\n\n# Start the program\nwelcome()\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u05e9\u05d9\u05e4\u05d5\u05e8\u05d9\u05dd \u05e9\u05e0\u05d5\u05e1\u05e4\u05d5 \u05dc\u05e4\u05e8\u05d5\u05d9\u05e7\u05d8:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u05e7\u05d5\u05d1\u05e5 <code>quiz_questions.py<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05de\u05db\u05d9\u05dc \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05dc\u05d8\u05e2\u05d9\u05e0\u05ea \u05e9\u05d0\u05dc\u05d5\u05ea \u05de\u05e7\u05d5\u05d1\u05e5 \u05d5\u05dc\u05e9\u05de\u05d9\u05e8\u05ea \u05e9\u05d0\u05dc\u05d5\u05ea \u05dc\u05e7\u05d5\u05d1\u05e5.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u05e7\u05d5\u05d1\u05e5 <code>quiz_game.py<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05d0\u05d7\u05e8\u05d0\u05d9 \u05e8\u05e7 \u05e2\u05dc \u05e0\u05d9\u05d4\u05d5\u05dc \u05d4\u05de\u05e9\u05d7\u05e7 (\u05e9\u05d0\u05dc\u05ea \u05e9\u05d0\u05dc\u05d5\u05ea, \u05d7\u05d9\u05e9\u05d5\u05d1 \u05e0\u05d9\u05e7\u05d5\u05d3).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u05e7\u05d5\u05d1\u05e5 <code>main.py<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05e7\u05d5\u05d1\u05e5 \u05e8\u05d0\u05e9\u05d9 \u05e9\u05de\u05e0\u05d4\u05dc \u05d0\u05ea \u05d6\u05e8\u05d9\u05de\u05ea \u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u05de\u05d5\u05d3\u05d5\u05dc <code>random<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05e8\u05e9\u05d9\u05de\u05ea \u05d4\u05e9\u05d0\u05dc\u05d5\u05ea \u05de\u05ea\u05e2\u05e8\u05d1\u05d1\u05ea \u05d1\u05e1\u05d3\u05e8 \u05d0\u05e7\u05e8\u05d0\u05d9 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea <code>random.shuffle<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u05de\u05d5\u05d3\u05d5\u05dc <code>os<\/code>:<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d9\u05ea <code>os.path.exists<\/code> \u05d1\u05d5\u05d3\u05e7\u05ea \u05d0\u05dd \u05e7\u05d5\u05d1\u05e6\u05d9 \u05d4\u05e9\u05d0\u05dc\u05d5\u05ea \u05d5\u05d4\u05e0\u05d9\u05e7\u05d5\u05d3 \u05e7\u05d9\u05d9\u05de\u05d9\u05dd, \u05d5\u05d9\u05d5\u05e6\u05e8\u05ea \u05d0\u05d5\u05ea\u05dd \u05d0\u05dd \u05dc\u05d0.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05de\u05d0\u05e4\u05e9\u05e8\u05d9\u05dd \u05dc\u05d4\u05e8\u05d7\u05d9\u05d1 \u05d0\u05ea \u05d4\u05d9\u05db\u05d5\u05dc\u05d5\u05ea \u05e9\u05dc \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05de\u05d1\u05dc\u05d9 \u05dc\u05db\u05ea\u05d5\u05d1 \u05d4\u05db\u05dc \u05de\u05d0\u05e4\u05e1. \u05d1\u05e4\u05e8\u05d5\u05d9\u05e7\u05d8\u05d9\u05dd \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd, \u05d7\u05e9\u05d5\u05d1 \u05dc\u05d0\u05e8\u05d2\u05df \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3 \u05d1\u05e6\u05d5\u05e8\u05d4 \u05de\u05e1\u05d5\u05d3\u05e8\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d7\u05dc\u05d5\u05e7\u05ea\u05d5 \u05dc\u05e7\u05d1\u05e6\u05d9\u05dd \u05e0\u05e4\u05e8\u05d3\u05d9\u05dd. \u05d6\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8: \u05d3\u05d5\u05d2\u05de\u05ea \u05e7\u05d5\u05d3 \u05d4\u05e1\u05d1\u05e8 \u05e2\u05dc \u05d4\u05e7\u05d5\u05d3 \u05de\u05d5\u05d3\u05d5\u05dc math: \u05de\u05d5\u05d3\u05d5\u05dc random: \u05de\u05d5\u05d3\u05d5\u05dc os: \u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd \u05ea\u05e8\u05d2\u05d9\u05dc 1:\u05d4\u05e9\u05ea\u05de\u05e9\u05d5 \u05d1\u05de\u05d5\u05d3\u05d5\u05dc math \u05db\u05d3\u05d9 \u05dc\u05d7\u05e9\u05d1 \u05d0\u05ea \u05e9\u05d8\u05d7 \u05e9\u05dc \u05de\u05e2\u05d2\u05dc \u05e2\u05dd \u05e8\u05d3\u05d9\u05d5\u05e1 \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05d6\u05d9\u05df. \u05ea\u05e8\u05d2\u05d9\u05dc 2:\u05db\u05ea\u05d1\u05d5 [&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":[82],"tags":[],"class_list":["post-2091","post","type-post","status-publish","format-standard","hentry","category-python-course","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries) - 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\/modules-and-libraries\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries) - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05de\u05d0\u05e4\u05e9\u05e8\u05d9\u05dd \u05dc\u05d4\u05e8\u05d7\u05d9\u05d1 \u05d0\u05ea \u05d4\u05d9\u05db\u05d5\u05dc\u05d5\u05ea \u05e9\u05dc \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05de\u05d1\u05dc\u05d9 \u05dc\u05db\u05ea\u05d5\u05d1 \u05d4\u05db\u05dc \u05de\u05d0\u05e4\u05e1. \u05d1\u05e4\u05e8\u05d5\u05d9\u05e7\u05d8\u05d9\u05dd \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd, \u05d7\u05e9\u05d5\u05d1 \u05dc\u05d0\u05e8\u05d2\u05df \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3 \u05d1\u05e6\u05d5\u05e8\u05d4 \u05de\u05e1\u05d5\u05d3\u05e8\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d7\u05dc\u05d5\u05e7\u05ea\u05d5 \u05dc\u05e7\u05d1\u05e6\u05d9\u05dd \u05e0\u05e4\u05e8\u05d3\u05d9\u05dd. \u05d6\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8: \u05d3\u05d5\u05d2\u05de\u05ea \u05e7\u05d5\u05d3 \u05d4\u05e1\u05d1\u05e8 \u05e2\u05dc \u05d4\u05e7\u05d5\u05d3 \u05de\u05d5\u05d3\u05d5\u05dc math: \u05de\u05d5\u05d3\u05d5\u05dc random: \u05de\u05d5\u05d3\u05d5\u05dc os: \u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd \u05ea\u05e8\u05d2\u05d9\u05dc 1:\u05d4\u05e9\u05ea\u05de\u05e9\u05d5 \u05d1\u05de\u05d5\u05d3\u05d5\u05dc math \u05db\u05d3\u05d9 \u05dc\u05d7\u05e9\u05d1 \u05d0\u05ea \u05e9\u05d8\u05d7 \u05e9\u05dc \u05de\u05e2\u05d2\u05dc \u05e2\u05dd \u05e8\u05d3\u05d9\u05d5\u05e1 \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05d6\u05d9\u05df. \u05ea\u05e8\u05d2\u05d9\u05dc 2:\u05db\u05ea\u05d1\u05d5 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-05T09:13:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-05T09:13:09+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\\\/modules-and-libraries\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries)\",\"datePublished\":\"2024-12-05T09:13:06+00:00\",\"dateModified\":\"2024-12-05T09:13:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/\"},\"wordCount\":13,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"articleSection\":[\"\u05e7\u05d5\u05e8\u05e1 Python\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/\",\"name\":\"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries) - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"datePublished\":\"2024-12-05T09:13:06+00:00\",\"dateModified\":\"2024-12-05T09:13:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/modules-and-libraries\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries)\"}]},{\"@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":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries) - 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\/modules-and-libraries\/","og_locale":"he_IL","og_type":"article","og_title":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries) - Code Notebook","og_description":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05de\u05d0\u05e4\u05e9\u05e8\u05d9\u05dd \u05dc\u05d4\u05e8\u05d7\u05d9\u05d1 \u05d0\u05ea \u05d4\u05d9\u05db\u05d5\u05dc\u05d5\u05ea \u05e9\u05dc \u05e4\u05d9\u05d9\u05ea\u05d5\u05df \u05de\u05d1\u05dc\u05d9 \u05dc\u05db\u05ea\u05d5\u05d1 \u05d4\u05db\u05dc \u05de\u05d0\u05e4\u05e1. \u05d1\u05e4\u05e8\u05d5\u05d9\u05e7\u05d8\u05d9\u05dd \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd, \u05d7\u05e9\u05d5\u05d1 \u05dc\u05d0\u05e8\u05d2\u05df \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3 \u05d1\u05e6\u05d5\u05e8\u05d4 \u05de\u05e1\u05d5\u05d3\u05e8\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d7\u05dc\u05d5\u05e7\u05ea\u05d5 \u05dc\u05e7\u05d1\u05e6\u05d9\u05dd \u05e0\u05e4\u05e8\u05d3\u05d9\u05dd. \u05d6\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8: \u05d3\u05d5\u05d2\u05de\u05ea \u05e7\u05d5\u05d3 \u05d4\u05e1\u05d1\u05e8 \u05e2\u05dc \u05d4\u05e7\u05d5\u05d3 \u05de\u05d5\u05d3\u05d5\u05dc math: \u05de\u05d5\u05d3\u05d5\u05dc random: \u05de\u05d5\u05d3\u05d5\u05dc os: \u05ea\u05e8\u05d2\u05d9\u05dc\u05d9\u05dd \u05ea\u05e8\u05d2\u05d9\u05dc 1:\u05d4\u05e9\u05ea\u05de\u05e9\u05d5 \u05d1\u05de\u05d5\u05d3\u05d5\u05dc math \u05db\u05d3\u05d9 \u05dc\u05d7\u05e9\u05d1 \u05d0\u05ea \u05e9\u05d8\u05d7 \u05e9\u05dc \u05de\u05e2\u05d2\u05dc \u05e2\u05dd \u05e8\u05d3\u05d9\u05d5\u05e1 \u05e9\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05de\u05d6\u05d9\u05df. \u05ea\u05e8\u05d2\u05d9\u05dc 2:\u05db\u05ea\u05d1\u05d5 [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/","og_site_name":"Code Notebook","article_published_time":"2024-12-05T09:13:06+00:00","article_modified_time":"2024-12-05T09:13:09+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\/modules-and-libraries\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries)","datePublished":"2024-12-05T09:13:06+00:00","dateModified":"2024-12-05T09:13:09+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/"},"wordCount":13,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"articleSection":["\u05e7\u05d5\u05e8\u05e1 Python"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/","url":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/","name":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries) - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"datePublished":"2024-12-05T09:13:06+00:00","dateModified":"2024-12-05T09:13:09+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/modules-and-libraries\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"\u05de\u05d5\u05d3\u05d5\u05dc\u05d9\u05dd \u05d5\u05e1\u05e4\u05e8\u05d9\u05d5\u05ea (Modules and Libraries)"}]},{"@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\/2091","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=2091"}],"version-history":[{"count":1,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2091\/revisions"}],"predecessor-version":[{"id":2092,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2091\/revisions\/2092"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=2091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=2091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=2091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}