{"id":42082,"date":"2021-08-17T20:18:19","date_gmt":"2021-08-17T20:18:19","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=42082"},"modified":"2021-08-17T20:19:24","modified_gmt":"2021-08-17T20:19:24","slug":"python-not-not-equal","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/python-not-not-equal\/","title":{"rendered":"Python: not, not equal"},"content":{"rendered":"\n<h2>Self-tutoring about Python: the tutor mentions not and not equal.<\/h2>\n<p>\nPython&#8217;s <em>not<\/em> operator is the word <strong>not<\/strong>, rather than !. Yet, Python&#8217;s <em>not equal<\/em> operator is <strong>!=<\/strong>.<\/p>\n<p>Therefore, to test (in)equality, there seem two choices:<\/p>\n<ol>\n<li>x!=y<\/li>\n<li>not (x==y)<\/li>\n<\/ol>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/www.programiz.com\/python-programming\/operators\">programiz.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about Python: the tutor mentions not and not equal. Python&#8217;s not operator is the word not, rather than !. Yet, Python&#8217;s not equal operator is !=. Therefore, to test (in)equality, there seem two choices: x!=y not (x==y) Source: programiz.com<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1856],"tags":[],"class_list":["post-42082","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=42082"}],"version-history":[{"count":6,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42082\/revisions"}],"predecessor-version":[{"id":42088,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/42082\/revisions\/42088"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=42082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=42082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=42082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}