{"id":908,"date":"2023-11-14T10:02:30","date_gmt":"2023-11-14T10:02:30","guid":{"rendered":"https:\/\/www.digikul.hu\/?p=908"},"modified":"2023-12-17T19:23:52","modified_gmt":"2023-12-17T19:23:52","slug":"9-logikai-kifejezesek","status":"publish","type":"post","link":"https:\/\/www.digikul.hu\/index.php\/2023\/11\/14\/9-logikai-kifejezesek\/","title":{"rendered":"10. Logikai kifejez\u00e9sek"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"908\" class=\"elementor elementor-908\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bd5d893 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bd5d893\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-33fe05d\" data-id=\"33fe05d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ebdfb82 elementor-widget elementor-widget-text-editor\" data-id=\"ebdfb82\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5 style=\"text-align: center;\"><strong>\u00d6sszehasonl\u00edt\u00f3 oper\u00e1torok<\/strong><\/h5><h5><span style=\"color: #0000ff;\">==<\/span> egyenl\u0151<br \/><span style=\"color: #0000ff;\">!=<\/span> nem egyenl\u0151<br \/><span style=\"color: #0000ff;\">&lt;<\/span> kisebb<br \/><span style=\"color: #0000ff;\">&gt;<\/span> nagyobb<br \/><span style=\"color: #0000ff;\">&lt;=<\/span> kisebb vagy egyenl\u0151<br \/><span style=\"color: #0000ff;\">&gt;=<\/span> nagyobb vagy egyenl\u0151<\/h5>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-bb394ce\" data-id=\"bb394ce\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b849370 elementor-widget elementor-widget-text-editor\" data-id=\"b849370\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5 style=\"text-align: center;\"><strong>Logikai oper\u00e1torok<\/strong><\/h5><h5><span style=\"color: #0000ff;\">and<\/span> \u00e9s<br \/><span style=\"color: #0000ff;\">or<\/span> vagy<br \/><span style=\"color: #0000ff;\">not<\/span> nem<\/h5>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9fd067e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9fd067e\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-802041b\" data-id=\"802041b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7620365 elementor-widget elementor-widget-text-editor\" data-id=\"7620365\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h6>x = 5<br \/>y != -3<\/h6><h6>if x &lt; 0 and y &lt; 0:<br \/>\u00a0 \u00a0print(&#8216;mindkett\u0151 negat\u00edv&#8217;)<\/h6><h6>if x &lt; 0 or y &lt; 0:<br \/>\u00a0 \u00a0print(&#8216;van k\u00f6zt\u00fck negat\u00edv&#8217;)<\/h6><h6>if not x &lt;= 0:<br \/>\u00a0 \u00a0print(&#8216;x pozit\u00edv&#8217;)<\/h6><h6>if 5&lt;=x&lt;=10:<br \/><span style=\"color: inherit; font-family: inherit; font-size: 1rem;\">\u00a0 \u00a0print(&#8216;x 5 \u00e9s 10 k\u00f6z\u00e9 es\u0151 sz\u00e1m<\/span><\/h6>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u00d6sszehasonl\u00edt\u00f3 oper\u00e1torok == egyenl\u0151!= nem egyenl\u0151&lt; kisebb&gt; nagyobb&lt;= kisebb vagy egyenl\u0151&gt;= nagyobb vagy egyenl\u0151 Logikai oper\u00e1torok and \u00e9sor vagynot nem x = 5y != -3 if x &lt; 0 and y &lt; 0:\u00a0 \u00a0print(&#8216;mindkett\u0151 negat\u00edv&#8217;) if x &lt; 0 or y &lt; 0:\u00a0 \u00a0print(&#8216;van k\u00f6zt\u00fck negat\u00edv&#8217;) if not x &lt;= 0:\u00a0 \u00a0print(&#8216;x pozit\u00edv&#8217;) if 5&lt;=x&lt;=10:\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":652,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-908","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-algoritmizalas-es-programozas"],"rttpg_featured_image_url":{"full":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false],"landscape":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false],"portraits":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false],"thumbnail":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670-150x150.png",150,150,true],"medium":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false],"large":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false],"1536x1536":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false],"2048x2048":["https:\/\/www.digikul.hu\/wp-content\/uploads\/2023\/10\/1634649848670.png",225,225,false]},"rttpg_author":{"display_name":"admin","author_link":"https:\/\/www.digikul.hu\/index.php\/author\/admin\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/www.digikul.hu\/index.php\/category\/algoritmizalas-es-programozas\/\" rel=\"category tag\">Algoritmiz\u00e1l\u00e1s \u00e9s programoz\u00e1s<\/a>","rttpg_excerpt":"\u00d6sszehasonl\u00edt\u00f3 oper\u00e1torok == egyenl\u0151!= nem egyenl\u0151&lt; kisebb&gt; nagyobb&lt;= kisebb vagy egyenl\u0151&gt;= nagyobb vagy egyenl\u0151 Logikai oper\u00e1torok and \u00e9sor vagynot nem x = 5y != -3 if x &lt; 0 and y &lt; 0:\u00a0 \u00a0print(&#8216;mindkett\u0151 negat\u00edv&#8217;) if x &lt; 0 or y &lt; 0:\u00a0 \u00a0print(&#8216;van k\u00f6zt\u00fck negat\u00edv&#8217;) if not x &lt;= 0:\u00a0 \u00a0print(&#8216;x pozit\u00edv&#8217;) if 5&lt;=x&lt;=10:\u00a0&hellip;","_links":{"self":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/posts\/908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/comments?post=908"}],"version-history":[{"count":16,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/posts\/908\/revisions"}],"predecessor-version":[{"id":1008,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/posts\/908\/revisions\/1008"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/media\/652"}],"wp:attachment":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/media?parent=908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/categories?post=908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/tags?post=908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}