{"id":1274,"date":"2019-12-13T23:01:07","date_gmt":"2019-12-13T23:01:07","guid":{"rendered":"http:\/\/mehdisalimi.ir\/?p=1274"},"modified":"2020-07-03T19:22:04","modified_gmt":"2020-07-03T19:22:04","slug":"%da%86%d9%86%d8%af-%d9%86%da%a9%d8%aa%d9%87-%da%a9%d9%84%db%8c%d8%af%db%8c-%d8%af%d8%b1-%da%a9%d8%af-%d9%86%d9%88%db%8c%d8%b3%db%8c-%d8%b2%d8%a8%d8%a7%d9%86-%d9%be%d8%a7%db%8c%d8%aa%d9%88%d9%86","status":"publish","type":"post","link":"https:\/\/mehdisalimi.ir\/?p=1274","title":{"rendered":"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 &#8211; Python"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0627\u0632 \u0646\u0638\u0631 \u0641\u0646\u06cc \u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0633\u0637\u062d \u0628\u0627\u0644\u0627 \u0648 \u0634\u06cc\u0621 \u06af\u0631\u0627 \u0628\u0627 \u0645\u0639\u0627\u0646\u06cc \u067e\u0648\u06cc\u0627 \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u062f\u0631\u062c\u0647 \u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 \u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a.<\/span><br \/>\n<span style=\"font-size: 16px;\">\u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u0633\u0628\u062a\u0627\u064b \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0622\u0646 \u0622\u0633\u0627\u0646 \u0627\u0633\u062a \u0632\u06cc\u0631\u0627 \u06a9\u0647 \u0628\u0631 \u062e\u0648\u0627\u0646\u0627 \u0628\u0648\u062f\u0646 \u0645\u062a\u0645\u0631\u06a9\u0632 \u0627\u0633\u062a. \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u06a9\u062f \u067e\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0633\u06cc\u0627\u0631 \u0633\u0627\u062f\u0647 \u062a\u0631 \u0627\u0632 \u0633\u0627\u06cc\u0631 \u0632\u0628\u0627\u0646 \u0647\u0627 \u0628\u062e\u0648\u0627\u0646\u0646\u062f \u0648 \u062a\u0631\u062c\u0645\u0647 \u06a9\u0646\u0646\u062f. \u0628\u0647 \u0646\u0648\u0628\u0647 \u062e\u0648\u062f \u0627\u06cc\u0646 \u0642\u0627\u0628\u0644\u06cc\u062a\u060c \u0647\u0632\u06cc\u0646\u0647 \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u0648 \u062a\u0648\u0633\u0639\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u06a9\u0627\u0647\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/span><br \/>\n<span style=\"font-size: 16px;\">\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0627\u06cc\u0646\u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u0627\u0632 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0648 \u0628\u0633\u062a\u0647 \u0647\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f\u060c \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u06cc \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0627 \u06cc\u06a9 \u0633\u0628\u06a9 \u0645\u062f\u0648\u0644\u0627\u0631 \u0637\u0631\u0627\u062d\u06cc \u06a9\u0631\u062f \u0648 \u0627\u0632 \u06a9\u062f\u0647\u0627 \u062f\u0631 \u0627\u0646\u0648\u0627\u0639 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u062c\u062f\u062f \u06a9\u0631\u062f.<\/span><br \/>\n<span style=\"font-size: 16px;\">\u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0632\u0627\u06cc\u0627\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u062f\u0627\u0631\u0627 \u0628\u0648\u062f\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0648 \u0645\u062a\u0631\u062c\u0645 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0627\u0633\u062a. \u0647\u06cc\u0686 \u0627\u0646\u062d\u0635\u0627\u0631\u06cc \u0646\u06cc\u0632 \u062f\u0631 \u0622\u0646 \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f \u060c \u0632\u06cc\u0631\u0627 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0648 \u062a\u0645\u0627\u0645 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0622\u0646 \u062f\u0631 \u0647\u0645\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u0645\u0648\u062c\u0648\u062f \u0647\u0633\u062a\u0646\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646\u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u06af\u0632\u06cc\u0646\u0647 \u062c\u0630\u0627\u0628 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0646\u0645\u06cc \u062e\u0648\u0627\u0647\u0646\u062f \u0646\u06af\u0631\u0627\u0646 \u067e\u0631\u062f\u0627\u062e\u062a \u0647\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0628\u0627\u0644\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0628\u0627\u0634\u0646\u062f.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><!--more--><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><strong>\u067e\u0627\u06cc\u062a\u0648\u0646 \u0686\u06af\u0648\u0646\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f\u061f<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0642\u0631\u06cc\u0628\u0627\u064b \u0628\u0631\u0627\u06cc \u0647\u0645\u0647 \u0686\u06cc\u0632 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0633\u062a. \u0645\u0647\u0645\u062a\u0631 \u0627\u0632 \u0647\u0645\u0647\u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u062a\u0641\u0633\u06cc\u0631 \u0634\u062f\u0647 \u0627\u0633\u062a \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u06cc \u06a9\u0647 \u06a9\u062f \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u0627\u062c\u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u0641\u0631\u0645\u062a \u0642\u0627\u0628\u0644 \u062e\u0648\u0627\u0646\u062f\u0646 \u062a\u0648\u0633\u0637 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u062a\u0631\u062c\u0645\u0647 \u0646\u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0627\u06a9\u062b\u0631 \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0642\u0628\u0644 \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647\u060c \u0627\u06cc\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u0646\u062f. \u0627\u0632 \u0627\u06cc\u0646 \u0646\u0648\u0639 \u0632\u0628\u0627\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u201c\u0632\u0628\u0627\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u06cc\u201d \u0646\u06cc\u0632 \u06cc\u0627\u062f \u0645\u06cc \u0634\u0648\u062f \u0632\u06cc\u0631\u0627 \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0642\u0631\u0627\u0631 \u0628\u0648\u062f \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f.<\/span><br \/>\n<span style=\"font-size: 16px;\">\u0645\u0641\u0647\u0648\u0645 \u201c\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\u201d \u0627\u0632 \u0632\u0645\u0627\u0646 \u0622\u063a\u0627\u0632 \u06a9\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u06cc\u0632 \u0627\u0632 \u0627\u06cc\u0646 \u0627\u0645\u0631 \u0645\u0633\u062a\u062b\u0646\u06cc \u0646\u06cc\u0633\u062a. \u0632\u06cc\u0631\u0627 \u0627\u0645\u0631\u0648\u0632\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u0628\u0632\u0631\u06af \u0648 \u0633\u0628\u06a9 \u062a\u062c\u0627\u0631\u06cc \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0627 \u0645\u062d\u0628\u0648\u0628\u06cc\u062a \u0627\u06cc\u0646\u062a\u0631\u0646\u062a\u060c \u0627\u06a9\u062b\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0648 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627\u06cc \u0648\u0628 \u0628\u0647 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0645\u062a\u06a9\u06cc \u0634\u062f\u0647 \u0627\u0646\u062f\u060c \u0627\u0632 \u062c\u0645\u0644\u0647 \u0645\u0648\u062a\u0648\u0631 \u062c\u0633\u062a\u062c\u0648\u06cc \u06af\u0648\u06af\u0644\u060c \u06cc\u0648\u062a\u06cc\u0648\u0628 \u0648 \u2026 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0631\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u0645\u062a\u0646\u060c \u0646\u0645\u0627\u06cc\u0634 \u0627\u0639\u062f\u0627\u062f \u06cc\u0627 \u062a\u0635\u0627\u0648\u06cc\u0631\u060c \u062d\u0644 \u0645\u0639\u0627\u062f\u0644\u0627\u062a \u0639\u0644\u0645\u06cc \u0648 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f.<\/span><\/p>\n<blockquote>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062f\u0631 \u0627\u06cc\u0646 \u0627\u062f\u0627\u0645\u0647\u060c\u00a0\u0628\u0627 \u0646\u06a9\u0627\u062a \u06a9\u0644\u06cc\u062f\u06cc \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc\u00a0\u067e\u0627\u06cc\u062a\u0648\u0646 \u0622\u0634\u0646\u0627 \u0645\u06cc \u0634\u0648\u06cc\u0645. <span style=\"color: #ff0000;\">\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0647\u062f\u0641 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0622\u0645\u0648\u0632\u0634 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u06cc\u0633\u062a<\/span>\u060c\u00a0\u0635\u0631\u0641\u0627 \u062a\u0631\u0641\u0646\u062f \u0647\u0627 \u0648 \u0646\u06a9\u0627\u062a\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc\u00a0\u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0627 \u0634\u0645\u0627 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0645\u06cc\u06af\u0630\u0627\u0632\u0645.<\/span><\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><em><strong>\u0631\u0634\u062a\u0647 \u0647\u0627<\/strong><\/em><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u0631\u0634\u062a\u0647 \u0647\u0627 (Reversing String)<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u0631\u0634\u062a\u0647 \u0647\u0627 (Reversing String)\">a=\u201dnew\u201d print(\u201cReverse is\u201d, a[::-\u06f1])<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Reverse is wen<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062c\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0648 \u062a\u0642\u0633\u06cc\u0645 \u0631\u0634\u062a\u0647 \u0647\u0627 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u062c\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0648 \u062a\u0642\u0633\u06cc\u0645 \u0631\u0634\u062a\u0647 \u0647\u0627 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646\">a=\"Who Are You\"\r\nb=a.split()\r\nprint(b)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">[\u2018Who\u2019, \u2018Are\u2019, \u2018You\u2019]<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062a\u06a9\u0631\u0627\u0631 \u0686\u0646\u062f \u0631\u0634\u062a\u0647 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u062a\u06a9\u0631\u0627\u0631 \u0686\u0646\u062f \u0631\u0634\u062a\u0647 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646\">print(\u201cmeh\u201d*\u06f8+\u2019 \u2018+\u201ddi\u201d*\u06f1\u06f0)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">mehmehmehmehmehmehmehmeh\u00a0didididididididididi<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0648\u0627\u062d\u062f \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0648\u0627\u062d\u062f \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646\">a = [\u201cI\u201d, \u201cam\u201d, \u201chere\u201d]\r\nprint(\u201c \u201c.join(a))<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">I am here<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0628\u0631\u0631\u0633\u06cc \u062d\u0631\u0641 \u0647\u0627\u06cc \u062f\u0648 \u06a9\u0644\u0645\u0647<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0628\u0631\u0631\u0633\u06cc \u062d\u0631\u0641 \u0647\u0627\u06cc \u062f\u0648 \u06a9\u0644\u0645\u0647\">from collections import Counter\r\ndef is_anagram(str1, str2):\r\nreturn Counter(str1) == Counter(str2)\r\nprint(is_anagram(\u2018geek\u2019, \u2018eegk\u2019))\r\nprint(is_anagram(\u2018geek\u2019, \u2018peek\u2019))<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">True<\/span><br \/>\n<span style=\"font-size: 16px;\">False<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><em><strong>\u0644\u06cc\u0633\u062a \u0647\u0627<\/strong><\/em><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0633\u062a \u0647\u0627<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0633\u062a \u0647\u0627\">import itertools\r\na = [[\u06f1, \u06f2], [\u06f3, \u06f4], [\u06f5, \u06f6]]\r\nb = list(itertools.chain.from_iterable(a))\r\nprint(b)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">[\u06f1, \u06f2, \u06f3, \u06f4, \u06f5, \u06f6]<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0633\u062a<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0633\u062a\">a=[\u201c\u06f1\u06f0\u201d,\u201d\u06f9\",\u201d\u06f8\",\u201d\u06f7\"]\r\nprint(a[::-\u06f1])<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">[\u2018\u06f7\u2019, \u2018\u06f8\u2019, \u2018\u06f9\u2019, \u2018\u06f1\u06f0\u2019]<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0686\u0627\u067e \u06a9\u0631\u062f\u0646 \u0645\u062d\u062a\u0648\u0627\u06cc \u062f\u0627\u062e\u0644 \u0644\u06cc\u0633\u062a<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0686\u0627\u067e \u06a9\u0631\u062f\u0646 \u0645\u062d\u062a\u0648\u0627\u06cc \u062f\u0627\u062e\u0644 \u0644\u06cc\u0633\u062a\">a=[\u201c\u06f1\u06f0\u201d,\u201d\u06f9\",\u201d\u06f8\",\u201d\u06f7\"]\r\nfor e in a:\r\nprint(e)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u06f1\u06f0<\/span><br \/>\n<span style=\"font-size: 16px;\">\u06f9<\/span><br \/>\n<span style=\"font-size: 16px;\">\u06f8<\/span><br \/>\n<span style=\"font-size: 16px;\">\u06f7<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0645\u062e\u0644\u0648\u0637 \u06a9\u0631\u062f\u0646 \u062f\u0648 \u0644\u06cc\u0633\u062a<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0645\u062e\u0644\u0648\u0637 \u06a9\u0631\u062f\u0646 \u062f\u0648 \u0644\u06cc\u0633\u062a\">a=[\u2018a\u2019,\u2019b\u2019,\u2019c\u2019,\u2019d\u2019]\r\nb=[\u2018e\u2019,\u2019f\u2019,\u2019g\u2019,\u2019h\u2019]for x, y in zip(a, b):\r\nprint(x,y)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">a e<\/span><br \/>\n<span style=\"font-size: 16px;\">b f<\/span><br \/>\n<span style=\"font-size: 16px;\">c g<\/span><br \/>\n<span style=\"font-size: 16px;\">d h<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0686\u0627\u067e \u0645\u062d\u062a\u0648\u0627\u06cc \u0644\u06cc\u0633\u062a \u0627\u0632 \u0622\u062e\u0631<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0686\u0627\u067e \u0645\u062d\u062a\u0648\u0627\u06cc \u0644\u06cc\u0633\u062a \u0627\u0632 \u0622\u062e\u0631\">a = [\u06f0, \u06f1, \u06f2, \u06f3, \u06f4, \u06f5, \u06f6, \u06f7, \u06f8, \u06f9, \u06f1\u06f0]\r\na[-\u06f3:-\u06f1]<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">[\u06f8, \u06f9]<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0628\u0631\u0631\u0633\u06cc \u0641\u0631\u0627\u0648\u0627\u0646\u06cc \u062f\u0627\u062e\u0644 \u0644\u06cc\u0633\u062a<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0628\u0631\u0631\u0633\u06cc \u0641\u0631\u0627\u0648\u0627\u0646\u06cc \u062f\u0627\u062e\u0644 \u0644\u06cc\u0633\u062a\">a = [\u06f1, \u06f2, \u06f3, \u06f4, \u06f2, \u06f2, \u06f3, \u06f1, \u06f4, \u06f4, \u06f4]\r\nprint(max(set(a), key = a.count))<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u06f4<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><em><strong>\u0645\u0627\u062a\u0631\u06cc\u0633<\/strong><\/em><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0627\u0646\u062a\u0642\u0627\u0644 \u06cc\u06a9 \u0645\u0627\u062a\u0631\u06cc\u0633<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0627\u0646\u062a\u0642\u0627\u0644 \u06cc\u06a9 \u0645\u0627\u062a\u0631\u06cc\u0633\">mat = [[\u06f1, \u06f2, \u06f3], [\u06f4, \u06f5, \u06f6]]\r\nnew_mat=zip(*mat)\r\nfor row in new_mat:\r\nprint(row)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">(\u06f1, \u06f4)<\/span><br \/>\n<span style=\"font-size: 16px;\">(\u06f2, \u06f5)<\/span><br \/>\n<span style=\"font-size: 16px;\">(\u06f3, \u06f6)<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><em><strong>\u0639\u0645\u0644\u06af\u0631<\/strong><\/em><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647 \u0627\u06cc<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647 \u0627\u06cc\">a = \u06f5\r\nb = \u06f1\u06f0\r\nc = \u06f3\r\nprint(c &lt; a)\r\nprint(a &lt; b)\r\nprint(c &lt; a &lt; b)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">True<\/span><br \/>\n<span style=\"font-size: 16px;\">True<\/span><br \/>\n<span style=\"font-size: 16px;\">True<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><em><strong>\u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0647\u0627<\/strong><\/em><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0645\u0639\u06a9\u0648\u0633 \u06a9\u0631\u062f\u0646 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc\">dict1={\u2018a\u2019: \u06f1, \u2018b\u2019: \u06f2, \u2018c\u2019: \u06f3, \u2018d\u2019: \u06f4}\r\ndict2={v: k for k, v in dict1.items()}\r\nprint(dict2)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">{\u06f1: \u2018a\u2019, \u06f2: \u2018b\u2019, \u06f3: \u2018c\u2019, \u06f4: \u2018d\u2019}<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062a\u06a9\u0631\u0627\u0631 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u062a\u06a9\u0631\u0627\u0631 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc\">dict1={\u2018a\u2019: \u06f1, \u2018b\u2019: \u06f2, \u2018c\u2019: \u06f3, \u2018d\u2019: \u06f4} for a, b in dict1.iteritems(): print (\u2018{: {}\u2019.format(a,b))<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">a: 1<\/span><br \/>\n<span style=\"font-size: 16px;\">b: 2<\/span><br \/>\n<span style=\"font-size: 16px;\">c: 3<\/span><br \/>\n<span style=\"font-size: 16px;\">d: 4<\/span><\/p>\n<hr \/>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u0627\u062f\u063a\u0627\u0645 \u06a9\u0631\u062f\u0646 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0647\u0627<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:python decode:true \" title=\"\u0627\u062f\u063a\u0627\u0645 \u06a9\u0631\u062f\u0646 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0647\u0627\">x = {'a': \u06f1, 'b': \u06f2} y = {'b': \u06f3, 'c': \u06f4} z = {**x, **y} print(z)<\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u0628\u0631\u0646\u0627\u0645\u0647:<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">{\u2018a\u2019: \u06f1, \u2018b\u2019: \u06f3, \u2018c\u2019: \u06f4}<\/span><\/p>\n<p style=\"text-align: justify;\">\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u0632 \u0646\u0638\u0631 \u0641\u0646\u06cc \u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0633\u0637\u062d \u0628\u0627\u0644\u0627 \u0648 \u0634\u06cc\u0621 \u06af\u0631\u0627 \u0628\u0627 \u0645\u0639\u0627\u0646\u06cc \u067e\u0648\u06cc\u0627 \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u062f\u0631\u062c\u0647 \u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 \u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a. \u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u0633\u0628\u062a\u0627\u064b \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0622\u0646 \u0622\u0633\u0627\u0646 \u0627\u0633\u062a \u0632\u06cc\u0631\u0627 \u06a9\u0647 \u0628\u0631 \u062e\u0648\u0627\u0646\u0627 \u0628\u0648\u062f\u0646 \u0645\u062a\u0645\u0631\u06a9\u0632 \u0627\u0633\u062a. \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u06a9\u062f \u067e\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0633\u06cc\u0627\u0631&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1282,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[458,6,2175],"tags":[381,109,382,297,287],"class_list":["post-1274","post","type-post","status-publish","format-standard","has-post-thumbnail","category-__","category-6","category-2175","tag-python","tag-109","tag-382","tag-297","tag-287"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 - Python - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc<\/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:\/\/mehdisalimi.ir\/?p=1274\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 - Python - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\" \/>\n<meta property=\"og:description\" content=\"\u0627\u0632 \u0646\u0638\u0631 \u0641\u0646\u06cc \u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0633\u0637\u062d \u0628\u0627\u0644\u0627 \u0648 \u0634\u06cc\u0621 \u06af\u0631\u0627 \u0628\u0627 \u0645\u0639\u0627\u0646\u06cc \u067e\u0648\u06cc\u0627 \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u062f\u0631\u062c\u0647 \u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 \u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a. \u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u0633\u0628\u062a\u0627\u064b \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0622\u0646 \u0622\u0633\u0627\u0646 \u0627\u0633\u062a \u0632\u06cc\u0631\u0627 \u06a9\u0647 \u0628\u0631 \u062e\u0648\u0627\u0646\u0627 \u0628\u0648\u062f\u0646 \u0645\u062a\u0645\u0631\u06a9\u0632 \u0627\u0633\u062a. \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u06a9\u062f \u067e\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0633\u06cc\u0627\u0631&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mehdisalimi.ir\/?p=1274\" \/>\n<meta property=\"og:site_name\" content=\"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mehdisalimi13\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/mehdisalimi13\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-13T23:01:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-03T19:22:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/Python-Programming.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mehd!Salimi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mehdisalimi13\" \/>\n<meta name=\"twitter:site\" content=\"@mehdisalimi13\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mehd!Salimi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274\"},\"author\":{\"name\":\"Mehd!Salimi\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\"},\"headline\":\"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 &#8211; Python\",\"datePublished\":\"2019-12-13T23:01:07+00:00\",\"dateModified\":\"2020-07-03T19:22:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274\"},\"wordCount\":55,\"publisher\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\"},\"image\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/Python-Programming.jpg\",\"keywords\":[\"Python\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\",\"\u067e\u0627\u06cc\u062a\u0648\u0646\",\"\u06a9\u062f\",\"\u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc\"],\"articleSection\":[\"#\u0628\u0631\u0646\u0627\u0645\u0647_\u0646\u0648\u06cc\u0633\u06cc_\u067e\u0627\u06cc\u062a\u0648\u0646\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\",\"\u0645\u062c\u0644\u0647 \u0641\u0646\u0627\u0648\u0631\u06cc\"],\"inLanguage\":\"fa-IR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274\",\"name\":\"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 - Python - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/Python-Programming.jpg\",\"datePublished\":\"2019-12-13T23:01:07+00:00\",\"dateModified\":\"2020-07-03T19:22:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#primaryimage\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/Python-Programming.jpg\",\"contentUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/Python-Programming.jpg\",\"width\":600,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/?p=1274#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\\\/\\\/mehdisalimi.ir\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 &#8211; Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#website\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/\",\"name\":\"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc\",\"description\":\"[\u06cc\u0627\u062f\u062f\u0627\u0634\u062a \u0647\u0627 \u0648 \u0647\u0631 \u0627\u0632 \u06af\u0627\u0647\u06cc \u0686\u0646\u062f \u062e\u0637 \u06a9\u062f]\",\"publisher\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mehdisalimi.ir\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/#\\\/schema\\\/person\\\/aa4ebf7fb5115362f325b292af001e65\",\"name\":\"Mehd!Salimi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\",\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\",\"contentUrl\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\",\"width\":450,\"height\":180,\"caption\":\"Mehd!Salimi\"},\"logo\":{\"@id\":\"https:\\\/\\\/mehdisalimi.ir\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/llog2.png\"},\"sameAs\":[\"http:\\\/\\\/www.mehdisalimi.ir\",\"https:\\\/\\\/www.facebook.com\\\/mehdisalimi13\",\"https:\\\/\\\/ir.linkedin.com\\\/in\\\/mehdisalimi13\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/mehdisalimi13\"],\"url\":\"https:\\\/\\\/mehdisalimi.ir\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 - Python - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","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:\/\/mehdisalimi.ir\/?p=1274","og_locale":"fa_IR","og_type":"article","og_title":"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 - Python - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","og_description":"\u0627\u0632 \u0646\u0638\u0631 \u0641\u0646\u06cc \u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0633\u0637\u062d \u0628\u0627\u0644\u0627 \u0648 \u0634\u06cc\u0621 \u06af\u0631\u0627 \u0628\u0627 \u0645\u0639\u0627\u0646\u06cc \u067e\u0648\u06cc\u0627 \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u062f\u0631\u062c\u0647 \u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 \u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0627\u0633\u062a. \u067e\u0627\u06cc\u062a\u0648\u0646 \u0646\u0633\u0628\u062a\u0627\u064b \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0622\u0646 \u0622\u0633\u0627\u0646 \u0627\u0633\u062a \u0632\u06cc\u0631\u0627 \u06a9\u0647 \u0628\u0631 \u062e\u0648\u0627\u0646\u0627 \u0628\u0648\u062f\u0646 \u0645\u062a\u0645\u0631\u06a9\u0632 \u0627\u0633\u062a. \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u06a9\u062f \u067e\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0633\u06cc\u0627\u0631&hellip;","og_url":"https:\/\/mehdisalimi.ir\/?p=1274","og_site_name":"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","article_publisher":"https:\/\/www.facebook.com\/mehdisalimi13","article_author":"https:\/\/www.facebook.com\/mehdisalimi13","article_published_time":"2019-12-13T23:01:07+00:00","article_modified_time":"2020-07-03T19:22:04+00:00","og_image":[{"width":600,"height":400,"url":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/Python-Programming.jpg","type":"image\/jpeg"}],"author":"Mehd!Salimi","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mehdisalimi13","twitter_site":"@mehdisalimi13","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"Mehd!Salimi","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"1 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mehdisalimi.ir\/?p=1274#article","isPartOf":{"@id":"https:\/\/mehdisalimi.ir\/?p=1274"},"author":{"name":"Mehd!Salimi","@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65"},"headline":"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 &#8211; Python","datePublished":"2019-12-13T23:01:07+00:00","dateModified":"2020-07-03T19:22:04+00:00","mainEntityOfPage":{"@id":"https:\/\/mehdisalimi.ir\/?p=1274"},"wordCount":55,"publisher":{"@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65"},"image":{"@id":"https:\/\/mehdisalimi.ir\/?p=1274#primaryimage"},"thumbnailUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/Python-Programming.jpg","keywords":["Python","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc","\u067e\u0627\u06cc\u062a\u0648\u0646","\u06a9\u062f","\u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc"],"articleSection":["#\u0628\u0631\u0646\u0627\u0645\u0647_\u0646\u0648\u06cc\u0633\u06cc_\u067e\u0627\u06cc\u062a\u0648\u0646","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc","\u0645\u062c\u0644\u0647 \u0641\u0646\u0627\u0648\u0631\u06cc"],"inLanguage":"fa-IR"},{"@type":"WebPage","@id":"https:\/\/mehdisalimi.ir\/?p=1274","url":"https:\/\/mehdisalimi.ir\/?p=1274","name":"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 - Python - \u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","isPartOf":{"@id":"https:\/\/mehdisalimi.ir\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mehdisalimi.ir\/?p=1274#primaryimage"},"image":{"@id":"https:\/\/mehdisalimi.ir\/?p=1274#primaryimage"},"thumbnailUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/Python-Programming.jpg","datePublished":"2019-12-13T23:01:07+00:00","dateModified":"2020-07-03T19:22:04+00:00","breadcrumb":{"@id":"https:\/\/mehdisalimi.ir\/?p=1274#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mehdisalimi.ir\/?p=1274"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/mehdisalimi.ir\/?p=1274#primaryimage","url":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/Python-Programming.jpg","contentUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/Python-Programming.jpg","width":600,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/mehdisalimi.ir\/?p=1274#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/mehdisalimi.ir\/"},{"@type":"ListItem","position":2,"name":"\u0686\u0646\u062f \u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u06a9\u062f \u0646\u0648\u06cc\u0633\u06cc \u0628\u0647 \u0632\u0628\u0627\u0646 \u067e\u0627\u06cc\u062a\u0648\u0646 &#8211; Python"}]},{"@type":"WebSite","@id":"https:\/\/mehdisalimi.ir\/#website","url":"https:\/\/mehdisalimi.ir\/","name":"\u0633\u06cc\u062f \u0645\u0647\u062f\u06cc \u0633\u0644\u06cc\u0645\u06cc","description":"[\u06cc\u0627\u062f\u062f\u0627\u0634\u062a \u0647\u0627 \u0648 \u0647\u0631 \u0627\u0632 \u06af\u0627\u0647\u06cc \u0686\u0646\u062f \u062e\u0637 \u06a9\u062f]","publisher":{"@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mehdisalimi.ir\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":["Person","Organization"],"@id":"https:\/\/mehdisalimi.ir\/#\/schema\/person\/aa4ebf7fb5115362f325b292af001e65","name":"Mehd!Salimi","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png","url":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png","contentUrl":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png","width":450,"height":180,"caption":"Mehd!Salimi"},"logo":{"@id":"https:\/\/mehdisalimi.ir\/wp-content\/uploads\/2020\/04\/llog2.png"},"sameAs":["http:\/\/www.mehdisalimi.ir","https:\/\/www.facebook.com\/mehdisalimi13","https:\/\/ir.linkedin.com\/in\/mehdisalimi13","https:\/\/x.com\/https:\/\/twitter.com\/mehdisalimi13"],"url":"https:\/\/mehdisalimi.ir\/?author=1"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1274"}],"version-history":[{"count":13,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1274\/revisions"}],"predecessor-version":[{"id":7576,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1274\/revisions\/7576"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=\/wp\/v2\/media\/1282"}],"wp:attachment":[{"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mehdisalimi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}