sirayla calisan talimatlar toplami.
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.
app.pycalistir python app.pyaliskanlik Python icin kucuk bir parca ogren, minimal ornek yaz ve calistirdeger veridir. degisken bu veriyi tutan isimdir.
girdi alip sonuc ureten isimli kucuk is.
Python 3 app.py icindeki kodu calistirir.
ilk okunur kod
Variables
names lists dictionaries stringsscore = 40 + 2 print(score)
cikti 42dil soyu
Python aile agaci
Python nereden gelir, hangi diller yakindir ve sonra ne ogrenilir.
sifirdan
Soru bankasi
Once ara sonra calis
Bir asama sec veya bu dilin soru bankasinda ara ve alistirmaya gec.
Python soru 1
Python soru 1. function definition icin en uygun ifadeyi sec.
Python soru 2
Python soru 2. list append icin en uygun ifadeyi sec.
Python soru 3
Python soru 3. dictionary access icin en uygun ifadeyi sec.
Python soru 4
Python soru 4. for loop icin en uygun ifadeyi sec.
Python soru 5
Python soru 5. function definition icin en uygun ifadeyi sec.
Python soru 6
Python soru 6. list append icin en uygun ifadeyi sec.
Python soru 7
Python soru 7. dictionary access icin en uygun ifadeyi sec.
Python soru 8
Python soru 8. for loop icin en uygun ifadeyi sec.
Python soru 9
Python soru 9. function definition icin en uygun ifadeyi sec.
Python soru 10
Python soru 10. list append icin en uygun ifadeyi sec.
Python soru 11
Python soru 11. dictionary access icin en uygun ifadeyi sec.
Python soru 12
Python soru 12. for loop icin en uygun ifadeyi sec.
Python soru 13
Python soru 13. function definition icin en uygun ifadeyi sec.
Python soru 14
Python soru 14. list append icin en uygun ifadeyi sec.
Python soru 15
Python soru 15. dictionary access icin en uygun ifadeyi sec.
Python soru 16
Python soru 16. for loop icin en uygun ifadeyi sec.
Python soru 17
Python soru 17. function definition icin en uygun ifadeyi sec.
Python soru 18
Python soru 18. list append icin en uygun ifadeyi sec.
coktan secmeli
Python soru 1
Python soru 1. function definition icin en uygun ifadeyi sec.
def add(a, b):
return a + breferans
app.py kaliplari
python app.pynames 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