You are on page 1of 60

>>> Code club

M
Python

;

,

.
;

;

( )


To

:
/
;


DNA








...



:-)

( )

;
;

;
;


( 300 ..),

() 2 .

Algorismus + arithmos = Algorithmos


Algorismus (

) =

9 .. Al-
Khwarizmi


(
), .

,
.


1. 250
150 150
2. 6
3. 1
1
4. 500
5. 250
6. 45



.

;







. :


,
;

(C, Java, Python)


1. 150
2.
3.
4.
5.
6. 45


C
Java
Python
C++
PHP
Javascript

, ()
.



&


Python?


















Batteries are included

https://careers.google.com
Python?






, ,
/
Projects
Python?

ieee.org 26/7/2016
Python

Wikipedia
Yahoo
Google ( , )
Nasa ( )
CERN
BitTorrent ( )
DropBox
YouTube

, ,

Python

Guido van Rossum, Python


National Research Institute for Mathematics and
Computer Science,
BBC show "Monty Python's Flying Circus",
1969-1974 ( , )
1989
20/2/1991 ( 25 )
Google / Dropbox
Python

20 (19 )

( )

Zen of Python, Tim Peters ( 1999)

>>> import this






Python

www.python.org
Editors Python

IDE Python (Integrated Development


Environment)
Code sculptor
Geany
1

script

1 1

>>> print (Hello world!)


;

10 /
tips = 15
tips = 5
tips = 7

10 + tips = 25
10 + tips = 15
10 + tips = 17
;

o 41 C
o 35 C
o 20 C
15 C
;

tips

jo

=
;

tips temperature joker


1

tips
15
tips = 15
2

temperature
10
temperature = 15
10
15
temperature = 10
;

hour tips
;

hour=10
hour
10
tips ;

tips=15
tips
15
tsepi=hour+tips

tips
tsepi
hour
10 15



(keywords)

, , _ ,

return
76name More@

tips
joker
temperature



()


onoma = Anna
age = 18
closed = true
street = Anthokipon 36, Nafplio
temperature = 12,4

(+)
(-)
(*)
(/)
2**3=8
;

A tips


PEMDAS
(P)
()
() (D)
(A) (S)

( )

2*3-1=
6+4/2=
3 * 1 ** 3 =
2 ** 1 + 1 =
(1+1)**(5-2) =
(minute * 100) / 60
(Debugging)
Debugging?


bad name = 5
Line 1: SyntaxError: bad input ('name')

= a + b +c / 3

x=5
w= x + y
print w
Line 2: NameError: name 'y' is not defined

#
Diakrinousa = b**2 - 4*a*c

You might also like