calisma alani

Python

Python icin sifirdan pratik ogrenme yolu

once tanim

Python nedir

Python kesin talimatlar yazmak icindir. Burada onu Python icin sifirdan pratik ogrenme yolu olarak ogreniyorsun. Baslangic modeli: girdi adimlardan gecer ve cikti olur.

minimum calisma bilgisidosya app.pycalistir python app.pyaliskanlik Python icin kucuk bir parca ogren, minimal ornek yaz ve calistir
program

sirayla calisan talimatlar toplami.

deger ve degisken

deger veridir. degisken bu veriyi tutan isimdir.

fonksiyon

girdi alip sonuc ureten isimli kucuk is.

runtime

Python 3 app.py icindeki kodu calistirir.

ilk okunur kod

Variables

names lists dictionaries strings
score = 40 + 2
print(score)
cikti 42

dil soyu

Python aile agaci

Python nereden gelir, hangi diller yakindir ve sonra ne ogrenilir.

kokler
ABCCUnix tools
simdiPythonscript dil ailesi
ailescript dil ailesi
en iyi alan

en iyi alan Python icin sifirdan pratik ogrenme yolu

sifirdan

1bir kural oku2ciktisini tahmin et3hafizadan yaz4kontrolu calistir5bir degisiklikle tekrarla

Soru bankasi

Once ara sonra calis

Bir asama sec veya bu dilin soru bankasinda ara ve alistirmaya gec.

18 sonuc
Q 1SecimAsama 1 tanimlar

Python soru 1

Python soru 1. function definition icin en uygun ifadeyi sec.

Q 2SecimAsama 1 tanimlar

Python soru 2

Python soru 2. list append icin en uygun ifadeyi sec.

Q 3SecimAsama 1 tanimlar

Python soru 3

Python soru 3. dictionary access icin en uygun ifadeyi sec.

Q 4SecimAsama 1 tanimlar

Python soru 4

Python soru 4. for loop icin en uygun ifadeyi sec.

Q 5SecimAsama 1 tanimlar

Python soru 5

Python soru 5. function definition icin en uygun ifadeyi sec.

Q 6SecimAsama 1 tanimlar

Python soru 6

Python soru 6. list append icin en uygun ifadeyi sec.

Q 7SecimAsama 1 tanimlar

Python soru 7

Python soru 7. dictionary access icin en uygun ifadeyi sec.

Q 8SecimAsama 1 tanimlar

Python soru 8

Python soru 8. for loop icin en uygun ifadeyi sec.

Q 9SecimAsama 1 tanimlar

Python soru 9

Python soru 9. function definition icin en uygun ifadeyi sec.

Q 10SecimAsama 1 tanimlar

Python soru 10

Python soru 10. list append icin en uygun ifadeyi sec.

Q 11SecimAsama 1 tanimlar

Python soru 11

Python soru 11. dictionary access icin en uygun ifadeyi sec.

Q 12SecimAsama 1 tanimlar

Python soru 12

Python soru 12. for loop icin en uygun ifadeyi sec.

Q 13SecimAsama 1 tanimlar

Python soru 13

Python soru 13. function definition icin en uygun ifadeyi sec.

Q 14SecimAsama 1 tanimlar

Python soru 14

Python soru 14. list append icin en uygun ifadeyi sec.

Q 15SecimAsama 1 tanimlar

Python soru 15

Python soru 15. dictionary access icin en uygun ifadeyi sec.

Q 16SecimAsama 1 tanimlar

Python soru 16

Python soru 16. for loop icin en uygun ifadeyi sec.

Q 17SecimAsama 1 tanimlar

Python soru 17

Python soru 17. function definition icin en uygun ifadeyi sec.

Q 18SecimAsama 1 tanimlar

Python soru 18

Python soru 18. list append icin en uygun ifadeyi sec.

coktan secmeli

Python soru 1

Q 1Secimyeni

Python soru 1. function definition icin en uygun ifadeyi sec.

def add(a, b):
    return a + b

referans

app.py kaliplari

Python 3python app.py
hafizadan cagirkucuk bir noktayi oku sonra bakmadan yaz
kodu izlecalistirmadan once degiskenleri satir satir izle
kendin yazdaha az kopyala daha cok yaz ve bir hatayi duzelt

names lists dictionaries strings

Variables

score = 40 + 2
print(score)
  • Indentation matters
  • Use descriptive names
  • Print intermediate values

def parameters return

fonksiyonlar

def add(a, b):
    return a + b
print(add(2, 3))
  • Use def to name work
  • Indent the body
  • Return the result

for ranges lists dictionaries

Loops

for item in ["a", "b"]:
    print(item)
  • Loop over values directly
  • Use enumerate when index matters
  • Keep loop bodies short