Professional Documents
Culture Documents
Phfddfddyton
Phfddfddyton
2
2.4
3.2
3.3
3.4
3.5
Pytton is a general purpose programmming language that doesnt need direct
acces to the computers hardware.
Phyon is not optimal for programs that have high reliability constraints
(because of its weak static semantic checking)
Because Python is designed be in interpreted, it can provide the kind of runtime
feedback that is especially helpful to novice programmers.
There are also a large number of freely available libraries that interface to
phyton and provide useful extended functionality.
int
float
bool
none
perkalian, penjumlahan, pengurangan, pembagian
jika ada salah satu diantaranya float maka hasilnya float
namun di phyton 3, untuk pembagian hasilnya selalu float
semua numerik selalu lebih kecil dari string
len untuk mengetahui panjangnya string
s[start, end)
start 0, 1, 2...
s[end]
end -1,-2
namahimpunan [item1, item 2]
namahimpunan[no item]