{"id":1407,"date":"2024-12-04T10:11:21","date_gmt":"2024-12-04T07:11:21","guid":{"rendered":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/"},"modified":"2024-12-04T10:11:21","modified_gmt":"2024-12-04T07:11:21","slug":"python-for-dongusu-ornekleri","status":"publish","type":"post","link":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/","title":{"rendered":"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber]"},"content":{"rendered":"<h1>Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri<\/p>\n<p>Python programlama dilinde <strong>for d\u00f6ng\u00fcs\u00fc<\/strong>, tekrar eden i\u015flemleri kolayca ger\u00e7ekle\u015ftirmeye yarayan etkili bir yap\u0131d\u0131r. Bu makalede, Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ve kullan\u0131mlar\u0131n\u0131 detayl\u0131 bir \u015fekilde inceleyece\u011fiz. Hem yeni ba\u015flayanlar hem de deneyimli coder&#8217;lar i\u00e7in faydal\u0131 olacakt\u0131r. Dolay\u0131s\u0131yla, bu yaz\u0131 boyunca, Python for d\u00f6ng\u00fcs\u00fcn\u00fcn i\u015fleyi\u015fi ve \u00e7e\u015fitli uygulama \u00f6rnekleri \u00fczerinde duraca\u011f\u0131z.<\/p>\n<p>\u0130lginizi \u00c7ekebilir: <a href='https:\/\/sefedu.com.tr\/index.php\/2024\/12\/03\/python-final-sorulari\/'>&#8216;Python Final Sorular\u0131 2024 [G\u00fcncel Liste]&#8217;<\/a><\/p>\n<p><img src='https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg' alt='python for d\u00f6ng\u00fcs\u00fc \u00f6rnekleri' style='max-width:100%; height:auto;'><\/p>\n<h2>Python For D\u00f6ng\u00fcs\u00fcn\u00fcn Temelleri<\/p>\n<p>\u0130lk olarak, Python for d\u00f6ng\u00fcs\u00fcn\u00fcn nas\u0131l \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 anlamam\u0131z gerekiyor. <strong><strong>For d\u00f6ng\u00fcs\u00fc<strong><strong>, bir koleksiyon veya bir dizinin (list) elemanlar\u0131 \u00fczerinde teker teker dola\u015fmam\u0131z\u0131 sa\u011flar. Bu sayede, dizi i\u00e7indeki verilere rahatl\u0131kla eri\u015febiliriz. \u00d6rne\u011fin, bir liste i\u00e7erisindeki her bir eleman\u0131 gezmek i\u00e7in bu d\u00f6ng\u00fcy\u00fc kullanabiliriz. \u0130\u015fte basit bir <strong><strong>for d\u00f6ng\u00fcs\u00fc<strong><strong> \u00f6rne\u011fi:<\/p>\n<p>&#8220;`python<br \/>\nmeyveler = [&#8220;elma&#8221;, &#8220;armut&#8221;, &#8220;muz&#8221;]<br \/>\nfor meyve in meyveler:<br \/>\n    print(meyve)<br \/>\n&#8220;`<\/p>\n<p>Bu kod par\u00e7as\u0131, &#8220;elma&#8221;, &#8220;armut&#8221; ve &#8220;muz&#8221; gibi meyve isimlerini s\u0131rayla ekrana yazd\u0131r\u0131r. Burada dikkat edilmesi gereken nokta, d\u00f6ng\u00fc i\u00e7inde kullanmak \u00fczere bir de\u011fi\u015fken belirlemi\u015f olmam\u0131zd\u0131r. Bu de\u011fi\u015fken, her d\u00f6ng\u00fc iterasyonunda listeden bir eleman\u0131 temsil eder. <strong><strong>Python for d\u00f6ng\u00fcs\u00fc<strong><strong>, bu sayede program yazarken hayat\u0131 kolayla\u015ft\u0131r\u0131r.<\/p>\n<p>Bir ba\u015fka noktada, for d\u00f6ng\u00fcs\u00fcn\u00fcn veri yap\u0131s\u0131 ile ba\u011flant\u0131s\u0131d\u0131r. Bu d\u00f6ng\u00fc, yaln\u0131zca listelerle s\u0131n\u0131rl\u0131 de\u011fildir. Ayn\u0131 zamanda <strong><strong>k\u00fcmeler<strong><strong> ve <strong><strong>s\u00f6zl\u00fckler<strong><strong> gibi di\u011fer veri yap\u0131lar\u0131 \u00fczerinde de i\u015flem yapmam\u0131za olanak tan\u0131r. \u00d6rne\u011fin:<\/p>\n<p>&#8220;`python<br \/>\nnotlar = {&#8220;Ali&#8221;: 85, &#8220;Veli&#8221;: 90, &#8220;Ay\u015fe&#8221;: 95}<br \/>\nfor isim in notlar:<br \/>\n    print(isim)<br \/>\n&#8220;`<\/p>\n<p>Sonu\u00e7 olarak d\u00f6ng\u00fc, &#8220;Ali&#8221;, &#8220;Veli&#8221; ve &#8220;Ay\u015fe&#8221; isimlerini s\u0131ras\u0131yla ekrana yazar. Bu \u015fekilde, s\u00f6zl\u00fcklerdeki verilere kolayca eri\u015fim sa\u011flar\u0131z ve kod yaz\u0131m\u0131 daha verimli hale gelir. Dolay\u0131s\u0131yla, Python for d\u00f6ng\u00fcs\u00fc, g\u00fc\u00e7l\u00fc yap\u0131s\u0131 ile programc\u0131lar i\u00e7in vazge\u00e7ilmez bir ara\u00e7t\u0131r.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fcn\u00fcn Kullan\u0131m Alanlar\u0131<\/p>\n<p>Python for d\u00f6ng\u00fcs\u00fc, bir\u00e7ok farkl\u0131 kullan\u0131m alan\u0131na sahiptir. <strong><strong>Diziler<strong><strong>, <strong><strong>k\u00fcmeler<strong><strong> ve <strong><strong>s\u00f6zl\u00fckler<strong><strong> gibi \u00e7e\u015fitli veri yap\u0131lar\u0131 \u00fczerinde d\u00f6ng\u00fcsel i\u015flemler ger\u00e7ekle\u015ftirebiliriz. \u00d6rne\u011fin, bir dizinin elemanlar\u0131n\u0131 tek tek almak i\u00e7in for d\u00f6ng\u00fcs\u00fcn\u00fc \u00e7ok s\u0131k kullan\u0131r\u0131z. Bu kullan\u0131m, programlama s\u00fcrecini daha sistematik hale getirir.<\/p>\n<p>\u00d6rnek olarak a\u015fa\u011f\u0131daki kodu inceleyelim:<\/p>\n<p>&#8220;`python<br \/>\nsayilar = [1, 2, 3, 4, 5]<br \/>\nfor sayi in sayilar:<br \/>\n    print(sayi <strong> 2)<br \/>\n&#8220;`<\/p>\n<p>Bu d\u00f6ng\u00fc, say\u0131lar listesindeki her eleman\u0131 al\u0131r ve iki ile \u00e7arparak ekrana yazar. B\u00f6ylece s\u0131k kullan\u0131lan i\u015flemleri h\u0131zl\u0131ca ger\u00e7ekle\u015ftirebiliriz. \u0130lk bak\u0131\u015fta basit gibi g\u00f6r\u00fcnse de, for d\u00f6ng\u00fcs\u00fc bu t\u00fcr i\u015flemleri kolayla\u015ft\u0131rarak kod yaz\u0131m\u0131nda b\u00fcy\u00fck avantaj sa\u011flar.<\/p>\n<p>Ayr\u0131ca, for d\u00f6ng\u00fcs\u00fc ile karma\u015f\u0131k i\u015flemleri de kolayca yapabiliriz. \u00d6rne\u011fin, bir dizi \u00fczerinde ko\u015fullar belirleyebilir ve bu ko\u015fullara g\u00f6re durumlar\u0131 kontrol edebiliriz. A\u015fa\u011f\u0131daki \u00f6rnek, bu durumu net bir \u015fekilde g\u00f6steriyor:<\/p>\n<p>&#8220;`python<br \/>\nsayilar = [1, 2, 3, 4, 5, 6]<br \/>\nfor sayi in sayilar:<br \/>\n    if sayi % 2 == 0:<br \/>\n        print(f&#8221;{sayi} \u00e7ifttir.&#8221;)<br \/>\n    else:<br \/>\n        print(f&#8221;{sayi} tektir.&#8221;)<br \/>\n&#8220;`<\/p>\n<p>Bu \u015fekilde, for d\u00f6ng\u00fcs\u00fcn\u00fcn ko\u015ful ifadeleri ile birle\u015ftirilmesi sayesinde farkl\u0131 durumlar\u0131 kontrol etme imkan\u0131m\u0131z olur. O y\u00fczden Python for d\u00f6ng\u00fcs\u00fc, programc\u0131lara esneklik sa\u011flar.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fcnde Range Fonksiyonu<\/p>\n<p>For d\u00f6ng\u00fcs\u00fc ile \u00e7al\u0131\u015f\u0131rken s\u0131kl\u0131kla <strong><strong>range()<strong><strong> fonksiyonunu kullanmak gerekebilir. Range fonksiyonu, belirli bir aral\u0131kta say\u0131lar olu\u015fturur. \u00d6rne\u011fin, 0&#8217;dan 4&#8217;e kadar olan say\u0131lar\u0131 yazd\u0131rmak istiyorsak, \u015fu \u015fekilde bir kod yazabiliriz:<\/p>\n<p>&#8220;`python<br \/>\nfor sayi in range(5):<br \/>\n    print(sayi)<br \/>\n&#8220;`<\/p>\n<p>Bu d\u00f6ng\u00fc, 0, 1, 2, 3 ve 4 say\u0131s\u0131n\u0131 ekrana yazd\u0131r\u0131r. Range fonksiyonu, \u00f6zellikle belirtilen aral\u0131klar\u0131n \u00fczerinde i\u015flemler yapmak istedi\u011fimizde olduk\u00e7a kullan\u0131\u015fl\u0131d\u0131r. B\u00f6ylece, Python for d\u00f6ng\u00fcs\u00fc ile birlikte kullan\u0131ld\u0131\u011f\u0131nda farkl\u0131 d\u00f6ng\u00fc senaryolar\u0131 yaratabiliriz.<\/p>\n<p>\u0130leri seviye kullan\u0131mlarda ise, range fonksiyonu i\u00e7erisine ba\u015flang\u0131\u00e7, biti\u015f ve ad\u0131m parametrelerini ekledi\u011fimizde d\u00f6ng\u00fc de\u011ferlerinin nas\u0131l de\u011fi\u015fece\u011fini kontrol edebiliriz:<\/p>\n<p>&#8220;`python<br \/>\nfor i in range(1, 10, 2):<br \/>\n    print(i)<br \/>\n&#8220;`<\/p>\n<p>Bu \u00f6rnek, 1\u2019den 9\u2019a kadar olan say\u0131lardan sadece tek olanlar\u0131n\u0131 d\u00f6ng\u00fc ile ekrana yazd\u0131r\u0131r. Dolay\u0131s\u0131yla, for d\u00f6ng\u00fcs\u00fcn\u00fc ihtiyac\u0131m\u0131za g\u00f6re daha da \u00f6zelle\u015ftirebiliriz. E\u011fer daha verimli bir kod yazmak istiyorsan\u0131z, bu t\u00fcr detaylara dikkat etmelisiniz.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fc ile List Comprehension<\/p>\n<p>Python\u2019da for d\u00f6ng\u00fcs\u00fcn\u00fc daha k\u0131sa ve etkin bir \u015fekilde kullanmam\u0131z\u0131 sa\u011flayan bir yap\u0131 olan <strong><strong>list comprehension<strong><strong> de bulunmaktad\u0131r. Bu y\u00f6ntemle, ayn\u0131 i\u015flemi daha az sat\u0131rda ger\u00e7ekle\u015ftirmek m\u00fcmk\u00fcnd\u00fcr. List comprehension, kodun okunabilirli\u011fini art\u0131r\u0131rken, daha az kod sat\u0131r\u0131 ile i\u015fimizi halletmemizi sa\u011flar.<\/p>\n<p>\u00d6rnek olarak:<\/p>\n<p>&#8220;`python<br \/>\nmeyveler = [&#8220;elma&#8221;, &#8220;armut&#8221;, &#8220;muz&#8221;]<br \/>\nyeni_meyveler = [meyve.upper() for meyve in meyveler]<br \/>\nprint(yeni_meyveler)<br \/>\n&#8220;`<\/p>\n<p>Yukar\u0131da verilen kod, meyveler listesindeki her bir meyvenin ismini b\u00fcy\u00fck harfle yazd\u0131rarak yeni bir liste olu\u015fturur. Bu \u015fekilde, for d\u00f6ng\u00fcs\u00fc ile olu\u015fturdu\u011fumuz listeyi daha etkin bir \u015fekilde y\u00f6netmi\u015f oluruz.<\/p>\n<p>Ayr\u0131ca, bu y\u00f6ntemi kullanarak basit ama etkili i\u015flemler ger\u00e7ekle\u015ftirmek m\u00fcmk\u00fcnd\u00fcr. List comprehension, sadece g\u00f6r\u00fcn\u00fcm a\u00e7\u0131s\u0131ndan de\u011fil, performans a\u00e7\u0131s\u0131ndan da yaz\u0131l\u0131mc\u0131lara avantaj sunar. Ancak, dikkatli kullan\u0131lmad\u0131\u011f\u0131 takdirde kodu a\u015f\u0131r\u0131 karma\u015f\u0131k hale getirebilir; bu nedenle dengeli bir yakla\u015f\u0131m ile kullan\u0131lmas\u0131 \u00f6nerilir.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fc ve \u0130terasyon<\/p>\n<p>For d\u00f6ng\u00fcs\u00fc, Python i\u00e7indeki bir\u00e7ok veri yap\u0131s\u0131n\u0131n <strong><strong>iterasyon<strong><strong> yetene\u011finden faydalan\u0131r. Bu durum, d\u00f6ng\u00fclerin performans\u0131n\u0131n artmas\u0131na ve kodun daha verimli olmas\u0131na yard\u0131mc\u0131 olur. \u00d6rne\u011fin, bir k\u00fcme \u00fczerinde iterasyon yapabiliriz:<\/p>\n<p>&#8220;`python<br \/>\nsayilar = {1, 2, 3, 4, 5}<br \/>\nfor sayi in sayilar:<br \/>\n    print(sayi)<br \/>\n&#8220;`<\/p>\n<p>K\u00fcme yap\u0131s\u0131, her zaman benzersiz elemanlar i\u00e7erdi\u011fi i\u00e7in tekrar eden de\u011ferleri yazd\u0131rmayacakt\u0131r. Bu, for d\u00f6ng\u00fcs\u00fcn\u00fc geni\u015f bir veri yelpazesine uygulama yetene\u011fi kazand\u0131r\u0131r. \u00d6yleyse, Python for d\u00f6ng\u00fcs\u00fc ile neredeyse her t\u00fcrl\u00fc veri yap\u0131s\u0131n\u0131 rahatl\u0131kla i\u015fleyebiliriz.<\/p>\n<p>Kullan\u0131m alanlar\u0131n\u0131n yan\u0131 s\u0131ra, d\u00f6ng\u00fclerin hata kontrol\u00fc ve performans\u0131 a\u00e7\u0131s\u0131ndan dikkat edilmesi gereken noktalar da bulunuyor. Do\u011fru yap\u0131 kullan\u0131ld\u0131\u011f\u0131nda, for d\u00f6ng\u00fcs\u00fc, veri \u00fczerinde h\u0131zl\u0131 ve etkili sonu\u00e7lar elde etmemizi sa\u011flar.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fc ve S\u00f6zl\u00fcklerde Kullan\u0131m<\/p>\n<p>\u0130lginizi \u00c7ekebilir: <a href='https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-vize-sorulari\/'>&#8216;Python Vize Sorular\u0131 2024 [G\u00fcncel Liste]&#8217;<\/a><\/p>\n<p><img src='https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/g69e94f4e8ee08450a095d7d2df9e6ec9c7957d6dc152ef313d032c9ee096b37477a0a1c628c6e1c2c0edb15c38949586dc03067f2044719c446e72edcc98c822_1280.jpg.jpg' alt='python for d\u00f6ng\u00fcs\u00fc \u00f6rnekleri' style='max-width:100%; height:auto;'><\/p>\n<p>S\u00f6zl\u00fcklerde for d\u00f6ng\u00fcs\u00fc kullanarak her bir anahtar ve kar\u015f\u0131l\u0131k gelen de\u011fer \u00fczerinde iterasyon ger\u00e7ekle\u015ftirebiliriz. \u0130\u015fte bir \u00f6rnek:<\/p>\n<p>&#8220;`python<br \/>\nnotlar = {&#8220;Ali&#8221;: 85, &#8220;Veli&#8221;: 90, &#8220;Ay\u015fe&#8221;: 95}<br \/>\nfor isim, notu in notlar.items():<br \/>\n    print(f&#8221;{isim}: {notu}&#8221;)<br \/>\n&#8220;`<\/p>\n<p>Burada, `items()` metodu, s\u00f6zl\u00fckteki anahtar ve de\u011fer \u00e7iftlerini d\u00f6ng\u00fcde kullanmam\u0131za olanak tan\u0131r. Kullan\u0131c\u0131 dostu bir \u00e7\u0131kt\u0131 olu\u015fturur ve ayn\u0131 zamanda kodun anla\u015f\u0131labilirli\u011fi a\u00e7\u0131s\u0131ndan \u00f6nem ta\u015f\u0131r. Ayr\u0131ca, s\u00f6zl\u00fcklerdeki verilere ula\u015f\u0131rken for d\u00f6ng\u00fcs\u00fcyle bu i\u015flem olduk\u00e7a h\u0131zl\u0131 ger\u00e7ekle\u015fir.<\/p>\n<p>Daha karma\u015f\u0131k senaryolar olu\u015fturmak i\u00e7in, s\u00f6zl\u00fcklerdeki bilgileri filtrelemek de m\u00fcmk\u00fcnd\u00fcr. A\u015fa\u011f\u0131daki kod par\u00e7as\u0131, belirli bir ko\u015fulu sa\u011flayan notlar\u0131 yazd\u0131rma i\u015flemi ger\u00e7ekle\u015ftirir:<\/p>\n<p>&#8220;`python<br \/>\nfor isim, notu in notlar.items():<br \/>\n    if notu >= 90:<br \/>\n        print(f&#8221;{isim} ba\u015far\u0131l\u0131!&#8221;)<br \/>\n&#8220;`<\/p>\n<p>Bu \u00f6rnek, belirli bir ba\u015far\u0131 seviyesindeki \u00f6\u011frencileri ekrana yazd\u0131rarak program\u0131n mant\u0131\u011f\u0131n\u0131 geli\u015ftirmeye yard\u0131mc\u0131 olur. Dolay\u0131s\u0131yla, for d\u00f6ng\u00fcs\u00fcn\u00fcn esnekli\u011fi, kullan\u0131c\u0131lar\u0131n ihtiya\u00e7lar\u0131na uyum sa\u011flamas\u0131na olanak tan\u0131r.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fc ile \u0130leri Seviye Uygulamalar<\/p>\n<p>\u00c7e\u015fitli veri yap\u0131lar\u0131 \u00fczerinde y\u00fcr\u00fct\u00fclen for d\u00f6ng\u00fcleri, daha karma\u015f\u0131k programlar\u0131n temelini atabilir. \u00d6rne\u011fin, rastgele say\u0131lar \u00fcreterek bu say\u0131lardan ka\u00e7 tanesinin 5\u2019ten b\u00fcy\u00fck oldu\u011funu saymak i\u00e7in bir for d\u00f6ng\u00fcs\u00fc uygulayabiliriz:<\/p>\n<p>&#8220;`python<br \/>\nimport random<\/p>\n<p>sayilar = [random.randint(1, 10) for _ in range(10)]<br \/>\nsayac = 0<br \/>\nfor sayi in sayilar:<br \/>\n    if sayi > 5:<br \/>\n        sayac += 1<\/p>\n<p>print(f&#8221;5&#8217;ten b\u00fcy\u00fck say\u0131lar: {sayac}&#8221;)<br \/>\n&#8220;`<\/p>\n<p>Bu \u00f6rnekte, rastgele \u00fcretti\u011fimiz say\u0131lar aras\u0131ndan 5\u2019ten b\u00fcy\u00fck olanlar\u0131n say\u0131s\u0131n\u0131 bulmu\u015f olduk. For d\u00f6ng\u00fcs\u00fc, bu t\u00fcr durumlar\u0131 rahat\u00e7a ele almam\u0131za olanak tan\u0131r. Kullan\u0131c\u0131lar, bu sayede uygulaman\u0131n sonucunu kolayca g\u00f6rebilirler.<\/p>\n<p>Ayr\u0131ca, verilerin b\u00fcy\u00fckl\u00fc\u011f\u00fc ve \u00e7e\u015fitlili\u011fi artt\u0131k\u00e7a, for d\u00f6ng\u00fcs\u00fc yetenekleri de geli\u015fiyor. \u00d6zellikle veri bilimi ve ilgili alanlarda, bu d\u00f6ng\u00fc sayesinde karma\u015f\u0131k i\u015flemleri kolayca y\u00fcr\u00fctmek m\u00fcmk\u00fcnd\u00fcr. Dolay\u0131s\u0131yla, programlama a\u00e7\u0131s\u0131ndan belirli bir olgunlu\u011fa ula\u015ft\u0131\u011f\u0131n\u0131zda for d\u00f6ng\u00fcs\u00fcn\u00fc etkin bir \u015fekilde kullanmak, bilgi ve becerilerinizi art\u0131racakt\u0131r.<\/p>\n<h2>For D\u00f6ng\u00fcs\u00fc ve Nesting<\/p>\n<p>Bazen, i\u00e7 i\u00e7e d\u00f6ng\u00fcler (nested) kullanmak gerekebilir. Bu sayede verinin daha karma\u015f\u0131k yap\u0131larda i\u015flenmesi sa\u011flan\u0131r. \u00c7ok boyutlu diziler \u00fczerinde \u00e7al\u0131\u015f\u0131rken i\u00e7 i\u00e7e for d\u00f6ng\u00fcleri olduk\u00e7a faydal\u0131d\u0131r. \u00d6rne\u011fin:<\/p>\n<p>&#8220;`python<br \/>\nmatris = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]<\/p>\n<p>for satir in matris:<br \/>\n    for eleman in satir:<br \/>\n        print(eleman, end=&#8217; &#8216;)<br \/>\n    print()<br \/>\n&#8220;`<\/p>\n<p>Bu kod, bir matrisin i\u00e7indeki t\u00fcm elemanlar\u0131 s\u0131ral\u0131 bir \u015fekilde yazd\u0131r\u0131r. \u0130\u00e7 i\u00e7e d\u00f6ng\u00fcler, verileri daha iyi organize etmemize ve i\u015flem yapma yetene\u011fimizi art\u0131rmam\u0131za olanak tan\u0131r.<\/p>\n<p>Ba\u015fka bir \u00f6rnek olarak, kullan\u0131c\u0131dan bir matris boyutu alma ve matris olu\u015fturma i\u015flemini de ger\u00e7ekle\u015ftirebiliriz:<\/p>\n<p>&#8220;`python<br \/>\nsatir_sayisi = int(input(&#8220;Sat\u0131r say\u0131s\u0131n\u0131 giriniz: &#8220;))<br \/>\nsutun_sayisi = int(input(&#8220;S\u00fctun say\u0131s\u0131n\u0131 giriniz: &#8220;))<\/p>\n<p>matris = [[0 for _ in range(sutun_sayisi)] for _ in range(satir_sayisi)]<\/p>\n<p>for i in range(satir_sayisi):<br \/>\n    for j in range(sutun_sayisi):<br \/>\n        matris[i][j] = i + j<\/p>\n<p>for satir in matris:<br \/>\n    print(satir)<br \/>\n&#8220;`<\/p>\n<p>Bu kod, kullan\u0131c\u0131n\u0131n girdi\u011fi boyutlarda bir matris olu\u015fturur ve her bir eleman\u0131n\u0131 s\u0131rayla yazar. Ayr\u0131ca, i\u00e7 i\u00e7e d\u00f6ng\u00fclerin di\u011fer veri yap\u0131lar\u0131 ile birle\u015ftirilmesi, de\u011fi\u015fik senaryolar yaratmam\u0131za olanak tan\u0131r. Kullan\u0131c\u0131lar, b\u00f6ylece daha karma\u015f\u0131k uygulamalar geli\u015ftirme f\u0131rsat\u0131 bulur.<\/p>\n<h2>Python For D\u00f6ng\u00fcs\u00fc Hatalar\u0131 ve \u00d6nlemler<\/p>\n<p>Her programda oldu\u011fu gibi, for d\u00f6ng\u00fcs\u00fc kullan\u0131rken de hatalarla kar\u015f\u0131la\u015fabiliriz. \u00d6rne\u011fin, yanl\u0131\u015f bir veri t\u00fcr\u00fc veya yanl\u0131\u015f bir parametre, d\u00f6ng\u00fcn\u00fcn beklenmedik \u015fekilde \u00e7al\u0131\u015fmas\u0131na sebep olabilir. Bu tarz hatalar\u0131 \u00f6nlemek i\u00e7in her zaman kontrol etmemiz gereken baz\u0131 kurallar vard\u0131r. <\/p>\n<p>&#8211; <strong><strong>Veri T\u00fcrlerini Kontrol Etmek<strong><strong>: D\u00f6ng\u00fc i\u00e7erisinde kulland\u0131\u011f\u0131m\u0131z verilerin do\u011fru t\u00fcrde oldu\u011fundan emin olmal\u0131y\u0131z. Farkl\u0131 t\u00fcrler bir araya geldi\u011finde beklenmedik sonu\u00e7larla kar\u015f\u0131la\u015fabiliriz.<\/p>\n<p>&#8211; <strong><strong>D\u00f6ng\u00fc Say\u0131s\u0131n\u0131 \u0130yi Belirlemek<strong><strong>: Gereksiz iterasyonlar\u0131n \u00f6n\u00fcne ge\u00e7mek i\u00e7in d\u00f6ng\u00fc say\u0131s\u0131n\u0131n iyi hesapland\u0131\u011f\u0131ndan emin olmal\u0131y\u0131z. \u00d6zellikle b\u00fcy\u00fck veri setlerinde gereksiz d\u00f6ng\u00fcler, performans\u0131 olumsuz etkileyebilir.<\/p>\n<p>&#8211; <strong><strong>\u015eartlar\u0131 Do\u011fru D\u00fczenlemek<strong><strong>: Kullan\u0131lan \u015fartlar\u0131n do\u011fru \u00e7al\u0131\u015ft\u0131\u011f\u0131ndan emin olun, aksi halde beklenmedik sonu\u00e7lar do\u011fabilir. Anlamad\u0131\u011f\u0131n\u0131z veya karma\u015f\u0131k g\u00f6r\u00fcnen \u015fartlardan uzak durmak her zaman iyi bir fikirdir.<\/p>\n<p>Bu hatalar\u0131 \u00f6nleyerek, program\u0131m\u0131z\u0131n daha sa\u011fl\u0131kl\u0131 \u00e7al\u0131\u015fmas\u0131na yard\u0131mc\u0131 olabiliriz. Dolay\u0131s\u0131yla, bu y\u00f6nleri g\u00f6z \u00f6n\u00fcnde bulundurarak bir for d\u00f6ng\u00fcs\u00fc yazmak \u00f6nemlidir.<\/p>\n<h2>Sonu\u00e7<\/p>\n<p>Son olarak, Python for d\u00f6ng\u00fcs\u00fc, kodlar\u0131m\u0131z\u0131 daha okunabilir ve verimli hale getirmemize yard\u0131mc\u0131 olan g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r. Yukar\u0131da verilen \u00f6rnekler ve a\u00e7\u0131klamalar, for d\u00f6ng\u00fcs\u00fcn\u00fcn farkl\u0131 kullan\u0131m senaryolar\u0131n\u0131 kapsamaktad\u0131r. Dolay\u0131s\u0131yla, for d\u00f6ng\u00fcs\u00fcn\u00fcn nas\u0131l \u00e7al\u0131\u015ft\u0131\u011f\u0131n\u0131 ve hangi durumlarda kullan\u0131labilece\u011fini anlamak i\u00e7in bu kaynaklardan faydalanabilirsiniz.<\/p>\n<p>\u0130lginizi \u00c7ekebilir: <a href='https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-kullanicidan-veri-alma\/'>&#8216;Python ile Kullan\u0131c\u0131dan Veri Alma Y\u00f6ntemleri 2024 [G\u00fcncel Rehber]&#8217;<\/a><br \/>\n<img src='https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/g33dffaf4a7bbf1f3767276060a0eb7ef5ebae5d2923a49153667daf22f6206393a958a8ab2afc4af30c239769ffb200f2140e93084acc7abc06cc37de2e35186_1280.jpg.jpg' alt='python for d\u00f6ng\u00fcs\u00fc \u00f6rnekleri' style='max-width:100%; height:auto;'><\/p>\n<p>Unutmay\u0131n ki Python programlama dili, \u00f6\u011frenilmeyi bekleyen geni\u015f bir evrendir. For d\u00f6ng\u00fcs\u00fc gibi yap\u0131lar\u0131n verimli kullan\u0131m\u0131, sizleri daha ba\u015far\u0131l\u0131 bir yaz\u0131l\u0131mc\u0131 yapacakt\u0131r. \u015eimdiden iyi kodlamalar!<\/p>\n<p>Kaynak\u00e7a: [(&#8216;Python For D\u00f6ng\u00fcs\u00fc&#8217;, &#8216;https:\/\/www.sadikturan.com\/python-donguler\/python-for-dongusu\/1388&#8217;), (&#8216;D\u00f6ng\u00fcler (Loops) \u2014 Yazbel Python Belgeleri&#8217;, &#8216;https:\/\/python-istihza.yazbel.com\/donguler.html&#8217;),<br \/>\n(&#8216;<\/p>\n<h1>Python For D\u00f6ng\u00fcs\u00fc | Derslik | Kerteriz Blog&#8217;, &#8216;https:\/\/derslik.kerteriz.net\/python-dersleri\/temel-dersler\/python-donguler\/python-for-dongusu&#8217;),<br \/>\n(&#8216;Python For D\u00f6ng\u00fcs\u00fc (\u00d6rnekli ve \u00d6\u011fretici) | Uzaktan E\u011fitim&#8217;, &#8216;https:\/\/www.uzaktanegitim.com\/blog\/python-for-dongusu&#8217;),<br \/>\n(&#8216;Python For D\u00f6ng\u00fcs\u00fc &#8211; Python Dersleri&#8217;, &#8216;https:\/\/python.sitesi.web.tr\/python-for.html&#8217;)]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.&#8221;<\/p>\n","protected":false},"author":1,"featured_media":1404,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1407","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber] - SEF Education<\/title>\n<meta name=\"description\" content=\"&quot;Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.&quot;\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber] - SEF Education\" \/>\n<meta property=\"og:description\" content=\"&quot;Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\" \/>\n<meta property=\"og:site_name\" content=\"SEF Education\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=61559411172122\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-04T07:11:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Musab \u00c7elikba\u015f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Musab \u00c7elikba\u015f\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\"},\"author\":{\"name\":\"Musab \u00c7elikba\u015f\",\"@id\":\"https:\/\/sefedu.com.tr\/#\/schema\/person\/e657e3d380d760ae528d1780c450d2b0\"},\"headline\":\"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber]\",\"datePublished\":\"2024-12-04T07:11:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\"},\"wordCount\":2237,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/sefedu.com.tr\/#organization\"},\"image\":{\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg\",\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\",\"url\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\",\"name\":\"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber] - SEF Education\",\"isPartOf\":{\"@id\":\"https:\/\/sefedu.com.tr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg\",\"datePublished\":\"2024-12-04T07:11:21+00:00\",\"description\":\"\\\"Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.\\\"\",\"breadcrumb\":{\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage\",\"url\":\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg\",\"contentUrl\":\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg\",\"width\":1280,\"height\":853},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/sefedu.com.tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sefedu.com.tr\/#website\",\"url\":\"https:\/\/sefedu.com.tr\/\",\"name\":\"SEF Education\",\"description\":\"\u00c7ocu\u011funuzu gelece\u011fe haz\u0131rlay\u0131n!\",\"publisher\":{\"@id\":\"https:\/\/sefedu.com.tr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sefedu.com.tr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sefedu.com.tr\/#organization\",\"name\":\"SEF Education\",\"url\":\"https:\/\/sefedu.com.tr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/sefedu.com.tr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/09\/cropped-SEFAVM.png\",\"contentUrl\":\"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/09\/cropped-SEFAVM.png\",\"width\":512,\"height\":512,\"caption\":\"SEF Education\"},\"image\":{\"@id\":\"https:\/\/sefedu.com.tr\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/profile.php?id=61559411172122\",\"https:\/\/www.instagram.com\/sefeducation\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/sefedu.com.tr\/#\/schema\/person\/e657e3d380d760ae528d1780c450d2b0\",\"name\":\"Musab \u00c7elikba\u015f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/sefedu.com.tr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a23dd9280c34bf92a6d366517a159d305f4673c0c70d838865622beb1fa485b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a23dd9280c34bf92a6d366517a159d305f4673c0c70d838865622beb1fa485b5?s=96&d=mm&r=g\",\"caption\":\"Musab \u00c7elikba\u015f\"},\"sameAs\":[\"https:\/\/sefedu.com.tr\"],\"url\":\"https:\/\/sefedu.com.tr\/index.php\/author\/musabc3161gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber] - SEF Education","description":"\"Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.\"","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/","og_locale":"tr_TR","og_type":"article","og_title":"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber] - SEF Education","og_description":"\"Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.\"","og_url":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/","og_site_name":"SEF Education","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=61559411172122","article_published_time":"2024-12-04T07:11:21+00:00","og_image":[{"width":1280,"height":853,"url":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg","type":"image\/jpeg"}],"author":"Musab \u00c7elikba\u015f","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Musab \u00c7elikba\u015f","Tahmini okuma s\u00fcresi":"11 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#article","isPartOf":{"@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/"},"author":{"name":"Musab \u00c7elikba\u015f","@id":"https:\/\/sefedu.com.tr\/#\/schema\/person\/e657e3d380d760ae528d1780c450d2b0"},"headline":"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber]","datePublished":"2024-12-04T07:11:21+00:00","mainEntityOfPage":{"@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/"},"wordCount":2237,"commentCount":0,"publisher":{"@id":"https:\/\/sefedu.com.tr\/#organization"},"image":{"@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage"},"thumbnailUrl":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg","inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/","url":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/","name":"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber] - SEF Education","isPartOf":{"@id":"https:\/\/sefedu.com.tr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage"},"image":{"@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage"},"thumbnailUrl":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg","datePublished":"2024-12-04T07:11:21+00:00","description":"\"Python for d\u00f6ng\u00fcs\u00fc ile ilgili \u00f6rnekler ke\u015ffedin. Programlama becerilerinizi geli\u015ftirin ve etkili kod yaz\u0131m\u0131n\u0131 \u00f6\u011frenin.\"","breadcrumb":{"@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/"]}]},{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#primaryimage","url":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg","contentUrl":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/12\/gef15e6d05666900b190ce8fccc0e3f77f1c1dc40cc5554209b2e10ea0d727df881491fbc38342716544321cb27f52e4b858718a96ddbe5a864d18208ab73e2a5_1280.jpg.jpg","width":1280,"height":853},{"@type":"BreadcrumbList","@id":"https:\/\/sefedu.com.tr\/index.php\/2024\/12\/04\/python-for-dongusu-ornekleri\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/sefedu.com.tr\/"},{"@type":"ListItem","position":2,"name":"Python For D\u00f6ng\u00fcs\u00fc \u00d6rnekleri 2024 [Detayl\u0131 Rehber]"}]},{"@type":"WebSite","@id":"https:\/\/sefedu.com.tr\/#website","url":"https:\/\/sefedu.com.tr\/","name":"SEF Education","description":"\u00c7ocu\u011funuzu gelece\u011fe haz\u0131rlay\u0131n!","publisher":{"@id":"https:\/\/sefedu.com.tr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sefedu.com.tr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":"Organization","@id":"https:\/\/sefedu.com.tr\/#organization","name":"SEF Education","url":"https:\/\/sefedu.com.tr\/","logo":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/sefedu.com.tr\/#\/schema\/logo\/image\/","url":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/09\/cropped-SEFAVM.png","contentUrl":"https:\/\/sefedu.com.tr\/wp-content\/uploads\/2024\/09\/cropped-SEFAVM.png","width":512,"height":512,"caption":"SEF Education"},"image":{"@id":"https:\/\/sefedu.com.tr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=61559411172122","https:\/\/www.instagram.com\/sefeducation\/"]},{"@type":"Person","@id":"https:\/\/sefedu.com.tr\/#\/schema\/person\/e657e3d380d760ae528d1780c450d2b0","name":"Musab \u00c7elikba\u015f","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/sefedu.com.tr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a23dd9280c34bf92a6d366517a159d305f4673c0c70d838865622beb1fa485b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a23dd9280c34bf92a6d366517a159d305f4673c0c70d838865622beb1fa485b5?s=96&d=mm&r=g","caption":"Musab \u00c7elikba\u015f"},"sameAs":["https:\/\/sefedu.com.tr"],"url":"https:\/\/sefedu.com.tr\/index.php\/author\/musabc3161gmail-com\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/posts\/1407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/comments?post=1407"}],"version-history":[{"count":0,"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/posts\/1407\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/media\/1404"}],"wp:attachment":[{"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/media?parent=1407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/categories?post=1407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sefedu.com.tr\/index.php\/wp-json\/wp\/v2\/tags?post=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}