{"id":55,"date":"2020-05-17T19:13:02","date_gmt":"2020-05-17T16:13:02","guid":{"rendered":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/?p=55"},"modified":"2020-05-17T19:13:02","modified_gmt":"2020-05-17T16:13:02","slug":"%ce%b2%ce%b1%cf%83%ce%b9%ce%ba%ce%ad%cf%82-%ce%b5%ce%bd%cf%83%cf%89%ce%bc%ce%b1%cf%84%cf%89%ce%bc%ce%ad%ce%bd%ce%b5%cf%82-%cf%83%cf%85%ce%bd%ce%b1%cf%81%cf%84%ce%ae%cf%83%ce%b5%ce%b9%cf%82","status":"publish","type":"post","link":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/2020\/05\/17\/%ce%b2%ce%b1%cf%83%ce%b9%ce%ba%ce%ad%cf%82-%ce%b5%ce%bd%cf%83%cf%89%ce%bc%ce%b1%cf%84%cf%89%ce%bc%ce%ad%ce%bd%ce%b5%cf%82-%cf%83%cf%85%ce%bd%ce%b1%cf%81%cf%84%ce%ae%cf%83%ce%b5%ce%b9%cf%82\/","title":{"rendered":"\u0392\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 (\u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03b5\u03c2) \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2"},"content":{"rendered":"<p>\u03a3\u03c4\u03bf \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd \u03c4\u03b7\u03c2 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1\u03c2 Python, \u03b5\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03cd\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2:<br \/>\n\u25cf \u0397 float() \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03b1\u03ba\u03b5\u03c1\u03b1\u03af\u03bf\u03c5\u03c2 \u03ba\u03b1\u03b9 \u03c3\u03c5\u03bc\u03b2\u03bf\u03bb\u03bf\u03c3\u03b5\u03b9\u03c1\u03ad\u03c2 \u03c3\u03b5 \u03b4\u03b5\u03ba\u03b1\u03b4\u03b9\u03ba\u03bf\u03cd\u03c2 \u03b1\u03c1\u03b9\u03b8\u03bc\u03bf\u03cd\u03c2.<br \/>\n\u25cf \u0397 int() \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bf\u03c0\u03bf\u03b9\u03b1\u03b4\u03ae\u03c0\u03bf\u03c4\u03b5 \u03b1\u03c1\u03b9\u03b8\u03bc\u03b7\u03c4\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae \u03ba\u03b1\u03b9 \u03c4\u03b7 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c3\u03b5 \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf<br \/>\n\u03ba\u03cc\u03b2\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b1 \u03b4\u03b5\u03ba\u03b1\u03b4\u03b9\u03ba\u03ac \u03c8\u03b7\u03c6\u03af\u03b1, \u03b1\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03c5\u03bd.<br \/>\n\u25cf H str() \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bf\u03c0\u03bf\u03b9\u03b1\u03b4\u03ae\u03c0\u03bf\u03c4\u03b5 \u03c4\u03b9\u03bc\u03ae \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c3\u03b5 \u03c3\u03c5\u03bc\u03b2\u03bf\u03bb\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac.<br \/>\n\u25cf \u0397 abs() \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03cc\u03bb\u03c5\u03c4\u03b7 \u03c4\u03b9\u03bc\u03ae \u03b5\u03bd\u03cc\u03c2 \u03b1\u03c1\u03b9\u03b8\u03bc\u03bf\u03cd.<br \/>\n\u25cf \u0397 pow(a,b) \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 \u03c4\u03b7 \u03b4\u03cd\u03bd\u03b1\u03bc\u03b7 \u03c4\u03bf\u03c5 \u03b1 \u03c5\u03c8\u03c9\u03bc\u03ad\u03bd\u03b7 \u03c3\u03c4\u03bf \u03b2.<br \/>\n\u25cf H divmod(x,y) \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 \u03c4\u03bf \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf \u03c0\u03b7\u03bb\u03af\u03ba\u03bf \u03ba\u03b1\u03b9 \u03c4\u03bf \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf \u03c5\u03c0\u03cc\u03bb\u03bf\u03b9\u03c0\u03bf \u03c4\u03b7\u03c2<br \/>\n\u03b4\u03b9\u03b1\u03af\u03c1\u03b5\u03c3\u03b7\u03c2 x\/y.<\/p>\n<p>\u03a0\u03b1\u03c1\u03b1\u03b4\u03b5\u03af\u03b3\u03bc\u03b1\u03c4\u03b1 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03c9\u03bd<\/p>\n<p>&gt;&gt;&gt; float(10)<br \/>\n10.0<br \/>\n&gt;&gt;&gt; int(5.678)<br \/>\n5<br \/>\n&gt;&gt;&gt; str(5.678)<br \/>\n5.678<br \/>\n&gt;&gt;&gt; abs(-45)<br \/>\n45<br \/>\n&gt;&gt;&gt; divmod(10,3)<br \/>\n(3, 1)<br \/>\n&gt;&gt;&gt; pow(2,3)<br \/>\n8<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u03a3\u03c4\u03bf \u03c0\u03b5\u03c1\u03b9\u03b2\u03ac\u03bb\u03bb\u03bf\u03bd \u03c4\u03b7\u03c2 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1\u03c2 Python, \u03b5\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03cd\u03c3\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2: \u25cf \u0397 float() \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03b1\u03ba\u03b5\u03c1\u03b1\u03af\u03bf\u03c5\u03c2 \u03ba\u03b1\u03b9 \u03c3\u03c5\u03bc\u03b2\u03bf\u03bb\u03bf\u03c3\u03b5\u03b9\u03c1\u03ad\u03c2 \u03c3\u03b5 \u03b4\u03b5\u03ba\u03b1\u03b4\u03b9\u03ba\u03bf\u03cd\u03c2 \u03b1\u03c1\u03b9\u03b8\u03bc\u03bf\u03cd\u03c2. \u25cf \u0397 int() \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bf\u03c0\u03bf\u03b9\u03b1\u03b4\u03ae\u03c0\u03bf\u03c4\u03b5 \u03b1\u03c1\u03b9\u03b8\u03bc\u03b7\u03c4\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae \u03ba\u03b1\u03b9 \u03c4\u03b7 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c3\u03b5 \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf \u03ba\u03cc\u03b2\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b1 \u03b4\u03b5\u03ba\u03b1\u03b4\u03b9\u03ba\u03ac \u03c8\u03b7\u03c6\u03af\u03b1, \u03b1\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03c5\u03bd. \u25cf H str() \u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bf\u03c0\u03bf\u03b9\u03b1\u03b4\u03ae\u03c0\u03bf\u03c4\u03b5 \u03c4\u03b9\u03bc\u03ae \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c3\u03b5 \u03c3\u03c5\u03bc\u03b2\u03bf\u03bb\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac. \u25cf \u0397 abs() \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c6\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03cc\u03bb\u03c5\u03c4\u03b7 \u03c4\u03b9\u03bc\u03ae [&hellip;]<\/p>\n","protected":false},"author":25774,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/users\/25774"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}