{"id":42,"date":"2020-04-05T00:34:39","date_gmt":"2020-04-04T21:34:39","guid":{"rendered":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/?p=42"},"modified":"2020-04-05T00:34:46","modified_gmt":"2020-04-04T21:34:46","slug":"%ce%b2%ce%b1%cf%83%ce%b9%ce%ba%ce%ad%cf%82-%ce%b5%ce%bd%cf%84%ce%bf%ce%bb%ce%ad%cf%82-%cf%83%cf%84%ce%b7-%ce%b3%ce%bb%cf%8e%cf%83%cf%83%ce%b1-python","status":"publish","type":"post","link":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/2020\/04\/05\/%ce%b2%ce%b1%cf%83%ce%b9%ce%ba%ce%ad%cf%82-%ce%b5%ce%bd%cf%84%ce%bf%ce%bb%ce%ad%cf%82-%cf%83%cf%84%ce%b7-%ce%b3%ce%bb%cf%8e%cf%83%cf%83%ce%b1-python\/","title":{"rendered":"\u0392\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03c3\u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1 Python"},"content":{"rendered":"<p>\u0392\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03c3\u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1 Python<\/p>\n<p>&nbsp;<\/p>\n<p>\u03a3\u03c4\u03b9\u03c2 \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b5\u03c2 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5\u03c2 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b1\u03bd \u03bc\u03b5\u03c1\u03b9\u03ba\u03ad\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b9\u03c2 \u03b2\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 (statements) \u03c3\u03c4\u03b7\u03bd Python, \u03cc\u03c0\u03c9\u03c2: print: \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c4\u03b9\u03bc\u03ce\u03bd \u03c3\u03c4\u03b7\u03bd \u03bf\u03b8\u03cc\u03bd\u03b7 \u03c4\u03bf\u03c5 \u03c5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03c4\u03ae, \u03bc\u03b5<br \/>\n\u03c0\u03bf\u03b9\u03ba\u03af\u03bb\u03b5\u03c2 \u03bc\u03bf\u03c1\u03c6\u03ad\u03c2, \u03cc\u03c0\u03c9\u03c2:<br \/>\n\u25cf print \u03cc\u03bd\u03bf\u03bc\u03b1_\u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2, \u03c0.\u03c7. print name<br \/>\n\u25cf print \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2, \u03c0.\u03c7. print 1045.34<br \/>\n\u25cf print \u2018\u03c3\u03c5\u03bc\u03b2\u03bf\u03bb\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u2019, \u03c0.\u03c7. print '\u03b8\u03b1\u03bb\u03b1\u03c3\u03c3\u03b9\u03bd\u03cc\u03c2 \u03b1\u03ad\u03c1\u03b1\u03c2'<br \/>\n\u25cf print \u03cc\u03bd\u03bf\u03bc\u03b1_\u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2 (\u03c4\u03b5\u03bb\u03b5\u03c3\u03c4\u03ae\u03c2) \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2<\/p>\n<blockquote><p><em>&gt;&gt; name = \u2018kostas\u2019<\/em><br \/>\n<em>&gt;&gt;&gt; print name<\/em><br \/>\n<em>Kostas<\/em><br \/>\n<em>&gt;&gt;&gt; print 1045.34<\/em><br \/>\n<em>1045.34<\/em><br \/>\n<em>&gt;&gt;&gt; message = \"\u03a4\u03ce\u03c1\u03b1 \"<\/em><br \/>\n<em>&gt;&gt;&gt; print message*3<\/em><br \/>\n<em>\u03a4\u03ce\u03c1\u03b1 \u03a4\u03ce\u03c1\u03b1 \u03a4\u03ce\u03c1\u03b1<\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u0395\u03ba\u03c7\u03ce\u03c1\u03b7\u03c3\u03b7 \u03c4\u03b9\u03bc\u03ae\u03c2 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae: \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b1\u03b9 \u03c4\u03bf \u03c3\u03cd\u03bc\u03b2\u03bf\u03bb\u03bf \"=\" \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b5\u03ba\u03c7\u03ce\u03c1\u03b7\u03c3\u03b7 \u03bc\u03b9\u03b1\u03c2 \u03c4\u03b9\u03bc\u03ae\u03c2 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae.<\/p>\n<p><em>\u03cc\u03bd\u03bf\u03bc\u03b1_\u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2 = \u03c4\u03b9\u03bc\u03ae \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2<\/em><br \/>\n<em>tree = \u2018\u03a0\u03b5\u03cd\u03ba\u03bf\u2019<\/em><br \/>\n<em>x = 135<\/em><br \/>\n<em>x = x**2 + 34<\/em><\/p>\n<p>\u0395\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae \u03c4\u03b9\u03bc\u03ae\u03c2 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae \u03b1\u03c0\u03cc \u03c4\u03bf \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03cc\u03b3\u03b9\u03bf. \u03a4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03b1\u03bd\u03b1\u03bc\u03ad\u03bd\u03b5\u03b9 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 \u03bd\u03b1 \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03c4\u03b9\u03bc\u03ae. H \u03c4\u03b9\u03bc\u03ae \u03c0\u03bf\u03c5 \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b1\u03b9 \u03b1\u03c0\u03bf\u03b4\u03af\u03b4\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae. \u03a0\u03c1\u03bf\u03c2 \u03c4\u03bf\u03cd\u03c4\u03bf \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bd\u03c4\u03b1\u03b9 \u03b4\u03cd\u03bf \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2: \u03b7 input() \u03ba\u03b1\u03b9 \u03b7 raw_input().<\/p>\n<p><em>\u03a3\u03cd\u03bd\u03c4\u03b1\u03be\u03b7: \u038c\u03bd\u03bf\u03bc\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2= input(\u2018\u03bc\u03ae\u03bd\u03c5\u03bc\u03b1\u2019).<\/em><br \/>\n<em>&gt;&gt;&gt; number = input(' \u0394\u03ce\u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc:')<\/em><br \/>\n<em>\u0394\u03ce\u03c3\u03b5 \u03ad\u03bd\u03b1\u03bd \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc: 34<\/em><br \/>\n<em>&gt;&gt;&gt; print number<\/em><br \/>\n<em>34<\/em><\/p>\n<p>\u0391\u03bd \u03b8\u03ad\u03bb\u03bf\u03c5\u03bc\u03b5 \u03bd\u03b1 \u03b5\u03b9\u03c3\u03ac\u03b3\u03bf\u03c5\u03bc\u03b5 \u03ad\u03bd\u03b1 \u03b1\u03bb\u03c6\u03b1\u03c1\u03b9\u03b8\u03bc\u03b7\u03c4\u03b9\u03ba\u03cc (\u03ae \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc \u03bc\u03b5 \u03c4\u03b7 \u03bc\u03bf\u03c1\u03c6\u03ae \u03b1\u03bb\u03c6\u03b1\u03c1\u03b9\u03b8\u03bc\u03b7\u03c4\u03b9\u03ba\u03bf\u03cd), \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03bf\u03cd\u03bc\u03b5 \u03c4\u03b7 raw_input:<\/p>\n<p><em>\u03a3\u03cd\u03bd\u03c4\u03b1\u03be\u03b7: \u038c\u03bd\u03bf\u03bc\u03b1 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2 = raw_input ()<\/em><\/p>\n<blockquote><p><em>&gt;&gt;name = raw_input(\u2018\u0394\u03ce\u03c3\u03b5 \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03ac \u03c3\u03bf\u03c5 : \u2018)<\/em><br \/>\n<em>\u0394\u03ce\u03c3\u03b5 \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03ac \u03c3\u03bf\u03c5 : Kostas<\/em><br \/>\n<em>&gt;&gt;&gt; print name<\/em><br \/>\n<em>Kostas<\/em><br \/>\n<em>&gt;&gt;&gt; tree = raw_input('\u0394\u03ce\u03c3\u03b5 \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 \u03b5\u03bd\u03cc\u03c2 \u03b4\u03ad\u03bd\u03c4\u03c1\u03bf\u03c5 \u03bc\u03b5 \u03ac\u03bd\u03b8\u03b7 \u03c0\u03bf\u03c5 \u03b2\u03bb\u03ad\u03c0\u03b5\u03b9\u03c2<\/em><br \/>\n<em>\u03c0\u03b7\u03b3\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c3\u03c4\u03bf \u03c3\u03c7\u03bf\u03bb\u03b5\u03af\u03bf: ')<\/em><br \/>\n<em>\u0394\u03ce\u03c3\u03b5 \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 \u03b5\u03bd\u03cc\u03c2 \u03b4\u03ad\u03bd\u03c4\u03c1\u03bf\u03c5 \u03bc\u03b5 \u03ac\u03bd\u03b8\u03b7 \u03c0\u03bf\u03c5 \u03b2\u03bb\u03ad\u03c0\u03b5\u03b9\u03c2 \u03c0\u03b7\u03b3\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c3\u03c4\u03bf \u03c3\u03c7\u03bf<\/em><em>\u03bb\u03b5\u03af\u03bf: \u0391\u03bc\u03c5\u03b3\u03b4\u03b1\u03bb\u03b9\u03ac<\/em><br \/>\n<em>&gt;&gt;&gt; print '\u03a4\u03bf \u03b4\u03ad\u03bd\u03c4\u03c1\u03bf ',tree,'\u03b5\u03af\u03bd\u03b1\u03b9 \u03cc\u03bc\u03bf\u03c1\u03c6\u03bf \u03b1\u03bd\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf'<\/em><br \/>\n<em>\u03a4\u03bf \u03b4\u03ad\u03bd\u03c4\u03c1\u03bf \u0391\u03bc\u03c5\u03b3\u03b4\u03b1\u03bb\u03b9\u03ac \u03b5\u03af\u03bd\u03b1\u03b9 \u03cc\u03bc\u03bf\u03c1\u03c6\u03bf \u03b1\u03bd\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf<\/em><\/p><\/blockquote>\n<p>\u0393\u03b5\u03bd\u03b9\u03ba\u03ac, \u03cc\u03c4\u03b9 \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b1\u03b9 \u03bc\u03b5 \u03c4\u03b7 raw_input \u03b8\u03b5\u03c9\u03c1\u03b5\u03af\u03c4\u03b1\u03b9 \u03b1\u03c5\u03c4\u03cc\u03bc\u03b1\u03c4\u03b1 \u03b1\u03bb\u03c6\u03b1\u03c1\u03b9\u03b8\u03bc\u03b7\u03c4\u03b9\u03ba\u03cc, \u03b5\u03bd\u03ce \u03b7<br \/>\ninput \u03c0\u03c1\u03bf\u03c3\u03c0\u03b1\u03b8\u03b5\u03af \u03bd\u03b1 \u03c4\u03bf \u03c5\u03c0\u03bf\u03bb\u03bf\u03b3\u03af\u03c3\u03b5\u03b9. \u0393\u03b9\u03b1 \u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03b9\u03b3\u03bc\u03b1, \u03b1\u03bd \u03b4\u03ce\u03c3\u03bf\u03c5\u03bc\u03b5 \u03c3\u03c4\u03b7\u03bd input \u03c4\u03bf<br \/>\n\u03cc\u03bd\u03bf\u03bc\u03b1 \u03bc\u03b9\u03b1\u03c2 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2, \u03b8\u03b1 \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03b5\u03b9 \u03c4\u03bf \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf \u03c4\u03b7\u03c2 \u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0392\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 \u03c3\u03c4\u03b7 \u03b3\u03bb\u03ce\u03c3\u03c3\u03b1 Python &nbsp; \u03a3\u03c4\u03b9\u03c2 \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b5\u03c2 \u03c0\u03b1\u03c1\u03b1\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5\u03c2 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b1\u03bd \u03bc\u03b5\u03c1\u03b9\u03ba\u03ad\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b9\u03c2 \u03b2\u03b1\u03c3\u03b9\u03ba\u03ad\u03c2 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ad\u03c2 (statements) \u03c3\u03c4\u03b7\u03bd Python, \u03cc\u03c0\u03c9\u03c2: print: \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03b5\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c4\u03b9\u03bc\u03ce\u03bd \u03c3\u03c4\u03b7\u03bd \u03bf\u03b8\u03cc\u03bd\u03b7 \u03c4\u03bf\u03c5 \u03c5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03c4\u03ae, \u03bc\u03b5 \u03c0\u03bf\u03b9\u03ba\u03af\u03bb\u03b5\u03c2 \u03bc\u03bf\u03c1\u03c6\u03ad\u03c2, \u03cc\u03c0\u03c9\u03c2: \u25cf print \u03cc\u03bd\u03bf\u03bc\u03b1_\u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2, \u03c0.\u03c7. print name \u25cf print \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2, \u03c0.\u03c7. print 1045.34 \u25cf print \u2018\u03c3\u03c5\u03bc\u03b2\u03bf\u03bb\u03bf\u03c3\u03b5\u03b9\u03c1\u03ac\u2019, \u03c0.\u03c7. print &#8216;\u03b8\u03b1\u03bb\u03b1\u03c3\u03c3\u03b9\u03bd\u03cc\u03c2 \u03b1\u03ad\u03c1\u03b1\u03c2&#8217; \u25cf print \u03cc\u03bd\u03bf\u03bc\u03b1_\u03bc\u03b5\u03c4\u03b1\u03b2\u03bb\u03b7\u03c4\u03ae\u03c2 [&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-42","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\/42","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=42"}],"version-history":[{"count":0,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.e-me.edu.gr\/hive-programmatismos-ypologistwn-eneegyl-euboias\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}