{"id":50,"date":"2020-05-11T01:14:24","date_gmt":"2020-05-10T22:14:24","guid":{"rendered":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/?p=50"},"modified":"2020-05-11T01:15:08","modified_gmt":"2020-05-10T22:15:08","slug":"50","status":"publish","type":"post","link":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/2020\/05\/11\/50\/","title":{"rendered":"\u0392\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2"},"content":{"rendered":"<p><strong>\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<\/strong><\/p>\n<p>\u0397 Python \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03c0\u03bf\u03b9\u03ba\u03b9\u03bb\u03af\u03b1 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03c9\u03bd \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03c9\u03bd \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03bf\u03c0\u03ae<br \/>\n\u03c4\u03b9\u03bc\u03ce\u03bd \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1\u03bd \u03c4\u03cd\u03c0\u03bf \u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03ac\u03bb\u03bb\u03bf, \u03cc\u03c0\u03c9\u03c2 \u03bf\u03b9: int(), float() \u03ba\u03b1\u03b9 str().<br \/>\n\u0394\u03c1\u03b1\u03c3\u03c4\u03b7\u03c1\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1 \u03b5\u03bc\u03c0\u03ad\u03b4\u03c9\u03c3\u03b7\u03c2<br \/>\n\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.<br \/>\n&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<br \/>\n\u0391\u03bd \u03b8\u03ad\u03bb\u03bf\u03c5\u03bc\u03b5 \u03bd\u03b1 \u03b4\u03b9\u03b1\u03b2\u03ac\u03c3\u03bf\u03c5\u03bc\u03b5 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf \u03ad\u03bd\u03b1\u03bd \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc \u03bc\u03b5 \u03c4\u03b7<br \/>\n\u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 input(), \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bc\u03b5 \u03ba\u03b1\u03b9 \u03c4\u03b7 \u03c3\u03c5\u03bd\u03ac\u03c1\u03c4\u03b7\u03c3\u03b7 int()<br \/>\na=int(input(\u2018\u0394\u03ce\u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc :\u2019))<br \/>\n\u03a0\u03b1\u03c1\u03ac\u03b4\u03b5\u03b9\u03b3\u03bc\u03b1<br \/>\n&gt;&gt;&gt; import math<br \/>\n&gt;&gt;&gt; a=int(input('\u0394\u03ce\u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc: '))<br \/>\n\u0394\u03ce\u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03bf \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc: 2345.10<br \/>\n# \u03bf \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 \u03b4\u03af\u03bd\u03b5\u03b9 \u03c4\u03b7\u03bd \u03c4\u03b9\u03bc\u03ae 2345.10<br \/>\n&gt;&gt;&gt; print a<br \/>\n2345<br \/>\n# \u03b5\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b7 \u03b1\u03ba\u03ad\u03c1\u03b1\u03b9\u03b1 \u03c4\u03b9\u03bc\u03ae \u03c4\u03bf\u03c5 \u03b1\u03c1\u03b9\u03b8\u03bc\u03bf\u03cd \u03b1\u03c0\u03bf\u03ba\u03cc\u03c0\u03c4\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c4\u03b1 \u03b4\u03b5\u03ba\u03b1\u03b4\u03b9\u03ba\u03ac \u03c8\u03b7\u03c6\u03af\u03b1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\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 \u0397 Python \u03c0\u03b1\u03c1\u03ad\u03c7\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03c0\u03bf\u03b9\u03ba\u03b9\u03bb\u03af\u03b1 \u03b5\u03bd\u03c3\u03c9\u03bc\u03b1\u03c4\u03c9\u03bc\u03ad\u03bd\u03c9\u03bd \u03c3\u03c5\u03bd\u03b1\u03c1\u03c4\u03ae\u03c3\u03b5\u03c9\u03bd \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03bc\u03b5\u03c4\u03b1\u03c4\u03c1\u03bf\u03c0\u03ae \u03c4\u03b9\u03bc\u03ce\u03bd \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1\u03bd \u03c4\u03cd\u03c0\u03bf \u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03ac\u03bb\u03bb\u03bf, \u03cc\u03c0\u03c9\u03c2 \u03bf\u03b9: int(), float() \u03ba\u03b1\u03b9 str(). \u0394\u03c1\u03b1\u03c3\u03c4\u03b7\u03c1\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1 \u03b5\u03bc\u03c0\u03ad\u03b4\u03c9\u03c3\u03b7\u03c2 \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 [&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-50","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\/50","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=50"}],"version-history":[{"count":0,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}