{"id":4160,"date":"2020-06-16T16:08:20","date_gmt":"2020-06-16T13:08:20","guid":{"rendered":"https:\/\/elzero.org\/?p=4160"},"modified":"2022-10-26T20:18:25","modified_gmt":"2022-10-26T17:18:25","slug":"find-special-characters-count-challenges","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/find-special-characters-count-challenges\/","title":{"rendered":"Count Special Characters In A List"},"content":{"rendered":"<h3>\u0645\u0642\u062f\u0645\u0629 \u0639\u0646 \u0627\u0644\u062a\u062d\u062f\u064a<\/h3>\r\n\r\n<div class=\"text\">\r\n\u0642\u0645 \u0628\u0625\u064a\u062c\u0627\u062f \u0639\u062f\u062f \u0627\u0644 Special Characters \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u062f\u0627\u062e\u0644 \u062c\u0645\u064a\u0639 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0641\u064a \u0627\u0644 List \u0645\u0639 \u062a\u0631\u062a\u064a\u0628\u0647\u0645 \u0645\u0646 \u0627\u0644\u0623\u0639\u0644\u0649 \u0644\u0644\u0623\u0633\u0641\u0644\r\n<\/div>\r\n\r\n<h3>\u0627\u0644\u0645\u0637\u0644\u0648\u0628<\/h3>\r\n\r\n<ul class=\"points\">\r\n  <li>\u0627\u0644\u0628\u062d\u062b \u0639\u0646 \u0639\u062f\u062f \u0627\u0644\u0623\u062d\u0631\u0641 \u0627\u0644\u0645\u0645\u064a\u0632\u0629 Special Characters \u0641\u064a \u062c\u0645\u064a\u0639 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u0641\u064a \u0627\u0644 List<\/li>\r\n  <li>\u0637\u0628\u0627\u0639\u0629 \u0627\u0644\u062d\u0631\u0641 \u0648\u0628\u062c\u0627\u0646\u0628\u0647 \u0639\u062f\u062f \u0627\u0644\u0645\u0631\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0643\u0631\u0631 \u0641\u064a\u0647\u0627<\/li>\r\n  <li>\u064a\u062c\u0628 \u0637\u0628\u0627\u0639\u0629 \u0627\u0644\u0623\u062d\u0631\u0641 \u0648\u0639\u062f\u062f \u0645\u0631\u0627\u062a \u062a\u0643\u0631\u0627\u0631\u0647\u0627 \u0645\u0646 \u0627\u0644\u0623\u0643\u0628\u0631 \u0644\u0644\u0623\u0635\u063a\u0631<\/li>\r\n<\/ul>\r\n\r\n<h3>\u0627\u0644\u062a\u062d\u062f\u064a\u0627\u062a<\/h3>\r\n\r\n<ul class=\"points\">\r\n  <li>\u0644\u0627 \u062a\u0633\u062a\u062e\u062f\u0645 \u0623\u064a Method \u062c\u0627\u0647\u0632\u0629 \u0644\u062d\u0633\u0627\u0628 \u0639\u062f\u062f \u0627\u0644\u0639\u0646\u0627\u0635\u0631<\/li>\r\n<\/ul>\r\n\r\n<h3>\u0645\u062b\u0627\u0644 \u0628\u0644\u063a\u0629 Python<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-python\">\r\n# Input\r\nmy_list = [\"!!Osa#\", \"#234!@@\", \"@@@A\", \"ES6\", \"!@#@!\"];\r\nget_special_chars_count(my_list);\r\n\r\n# Output\r\n\"@ => 7\"\r\n\"! => 5\"\r\n\"# => 3\"\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>Count Special Characters In A List<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[882],"tags":[531,213,458,712,858,857],"class_list":["post-4160","post","type-post","status-publish","format-standard","hentry","category-programming-challenges","tag-characters","tag-list","tag-python","tag-special","tag-858","tag-857"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/4160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=4160"}],"version-history":[{"count":6,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/4160\/revisions"}],"predecessor-version":[{"id":12421,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/4160\/revisions\/12421"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=4160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=4160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=4160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}