 Merhabalar Python programlama derslerinin bu bölümünde _enumerate()_ fonksiyonuna başlayacağız. _enumerate_ kelimesi İngilizce "numaralanırmak" kelimesinin karşılığıdır. Bu fonksiyonun görevi de ismi ile oldukça benzerlik göstermektedir. _enumerate_ fonksiyonu, nesneleri numaralandırmak için kullanılır. Daha açık ifade etmek gerekirse bir listedeki hem elemanı hem de indeksi getirir. Normal şartlarda biz bir liste içerisindeki hem eleman bilgisini hem de indeks bilgisini almak isteseydik aşağıdaki gibi bir yapı uygulamamız gerekirdi :  Ancak bu işi _enumerate()_ fonksiyonuyla şöyle yaparız. Öncelikle şunu belirtelim. _enumerate()_ fonksiyonu kullanıldığında _enumerate_ tipinde bir değişken döndürür :  İçeriğini görmek için _list()_ fonksiyonunu kullanabileceğimiz gibi aşağıdaki tekniği de kullanabiliriz:  Görüldüğü gibi yukarıdaki çok satırlı uygulamanın yaptığını _enumerate()_ fonksiyonunu kullanarak tek hamlede yaptık.  _enumerate()_ fonksiyonu , uygulandığında ikili demet şeklide bir yapı ortaya çıkarıyor. Böylece bir listenin hem indeksine hem de kendisine erişim sağlamış oluyoruz. Şimdilik bu kadar. Umarım faydalı bir çalışma olmuştur. Teşekkürler.  Kaynak belirtilmeyen görseller bana aittir. The pictures without source in the post is belong to me <hr><center><sub>Posted via <a href="https://www.marlians.com/">Marlians.com</a></sub></center>
author | elektroyazilim |
---|---|
permlink | enumerate-fonksiyonu-1-python-dersleri-tutorials |
category | palnet |
json_metadata | {"tags":["palnet","zzan","stem","tr","programming","python","marlians"],"image":["https://cdn.steemitimages.com/DQmVqEHkajCZyuMfc1Nn7AfRj9QwYTddNmLcySkpi48PD1S/yeni.jpg","https://cdn.steemitimages.com/DQmU9t5BrNJzF6WUpArgdFoZbuUBDi7QghTgcVi9rvUBUGm/image.png","https://cdn.steemitimages.com/DQmXgqftgGHshq5mGhXDoyu3BeZ2ZmEvDgMLfPBSuDXW5Yx/image.png","https://cdn.steemitimages.com/DQmckVQ1PMZWFd1bnN1c87mSUMcYtbYx3xWECjz6HWRi8Q8/image.png","https://cdn.steemitimages.com/DQmVuBUQWnFQoc82SqDinsJJWCWq4csQiaZbES9wsxkfwNn/image.png","https://cdn.steemitimages.com/DQmYZw2bhUomeivJwQ8CiLaTzXTbJPLd1PsSGdcoEE1DfKP/yesilayrca.png"],"app":"marlians/0.1","format":"markdown"} |
created | 2019-08-13 18:09:36 |
last_update | 2019-08-13 18:09:36 |
depth | 0 |
children | 7 |
last_payout | 2019-08-20 18:09:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 9.231 HBD |
curator_payout_value | 2.921 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,970 |
author_reputation | 73,919,354,200,140 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,486,947 |
net_rshares | 36,291,452,101,559 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
steemitboard | 0 | 29,590,803,257 | 2% | ||
steinhammer | 0 | 592,036,757 | 20% | ||
awesome-gadgets | 0 | 1,625,570,562 | 100% | ||
mmmmkkkk311 | 0 | 1,292,834,947,013 | 27.8% | ||
neokuduk | 0 | 13,422,796,696 | 100% | ||
literaturk | 0 | 3,242,267,477 | 100% | ||
minnowvotes | 0 | 21,481,684,588,607 | 99.46% | ||
sudefteri | 0 | 9,769,223,683 | 100% | ||
akifane | 0 | 2,707,324,276 | 100% | ||
rasit | 0 | 427,778,623 | 100% | ||
maveraunnehr | 0 | 428,869,188 | 100% | ||
dailyhouston | 0 | 376,735,072 | 71.65% | ||
luckyvotes | 0 | 2,094,804,099,357 | 93.98% | ||
emotionalsea | 0 | 3,010,761,121 | 30% | ||
brupvoter | 0 | 2,673,486,775,226 | 67.22% | ||
inciter | 0 | 5,159,339,397,718 | 63.8% | ||
informator | 0 | 1,975,502,761 | 13.9% | ||
soteyapanbot | 0 | 17,505,526,570 | 20% | ||
oceansbot | 0 | 96,268,494 | 71.65% | ||
thebot | 0 | 750,812,471,000 | 76.25% | ||
oceanwhale | 0 | 1,393,166,827,800 | 71.65% | ||
crabbot | 0 | 543,250,454 | 100% | ||
profitvote | 0 | 1,041,115,532,926 | 78.05% | ||
mozer | 0 | 1,550,522,747 | 30% | ||
tipopipa | 0 | 119,006,991,356 | 100% | ||
ayisigi | 0 | 436,560,058 | 100% | ||
kabasakal | 0 | 12,337,320,592 | 30% | ||
mojo4you | 0 | 336,931,042 | 100% | ||
maonx | 0 | 9,037,147,063 | 100% | ||
omeryetim | 0 | 111,470,977 | 30% | ||
iskenderk | 0 | 16,553,633,243 | 100% | ||
yusufyusuf | 0 | 61,658,081,251 | 100% | ||
cocukgelisimi | 0 | 6,204,987,962 | 100% | ||
denizcakmak | 0 | 31,387,599,595 | 100% | ||
elektroyazilim | 0 | 40,249,114,606 | 100% | ||
steem-venera | 0 | 7,437,146,052 | 100% | ||
iktisat | 0 | 1,629,503,160 | 100% | ||
vxc | 0 | 2,326,053,971 | 100% | ||
votecenter | 0 | 1,009,072,404 | 18.41% | ||
curation.stem | 0 | 544,425,969 | 50% | ||
mk-pal-token | 0 | 1,174,899,233 | 55.56% | ||
mk-stem-token | 0 | 3,574,271,274 | 100% | ||
mk-marlians-tkn | 0 | 2,047,778,384 | 72.71% | ||
ekitap | 0 | 279,235,982 | 100% |
You got a 67.22% upvote from @brupvoter courtesy of @elektroyazilim!
author | brupvoter |
---|---|
permlink | re-elektroyazilim-enumerate-fonksiyonu-1-python-dersleri-tutorials-20190817t005847021z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-17 00:58:48 |
last_update | 2019-08-17 00:58:48 |
depth | 1 |
children | 0 |
last_payout | 2019-08-24 00:58:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 69 |
author_reputation | 13,657,314,846,422 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,615,679 |
net_rshares | 0 |
Sizin bütün içeriklerinizi birkaç gün boyunca okumak gibi bir fikrim var. Python deyince akla gelir oldunuz. Aynı konudan devam etmeniz çok mantıklı bir yön olmuş. İyi çalışmalar dilerim @elektroyazilim
author | iktisat |
---|---|
permlink | pw7bgp |
category | palnet |
json_metadata | {"tags":["palnet"],"users":["elektroyazilim"],"app":"steemit/0.1"} |
created | 2019-08-14 00:46:03 |
last_update | 2019-08-14 00:46:03 |
depth | 1 |
children | 1 |
last_payout | 2019-08-21 00:46:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 202 |
author_reputation | 499,450,701,404 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,496,994 |
net_rshares | 0 |
> Aynı konudan devam etmeniz çok mantıklı bir yön olmuş. İlgilendiğim bir konu olsun istedim. Çok teşekkür ederim @iktisat desteğiniz ve yorumunuz için. Yorumunuz gülümsetti :)
author | elektroyazilim |
---|---|
permlink | pw846z |
category | palnet |
json_metadata | {"tags":["palnet"],"users":["iktisat"],"app":"steemit/0.1"} |
created | 2019-08-14 11:06:33 |
last_update | 2019-08-14 11:06:33 |
depth | 2 |
children | 0 |
last_payout | 2019-08-21 11:06:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 179 |
author_reputation | 73,919,354,200,140 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,514,481 |
net_rshares | 0 |
You got a 93.98% upvote from @luckyvotes courtesy of @elektroyazilim!
author | luckyvotes |
---|---|
permlink | re-elektroyazilim-enumerate-fonksiyonu-1-python-dersleri-tutorials-20190819t025036852z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.2"} |
created | 2019-08-19 02:50:36 |
last_update | 2019-08-19 02:50:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-26 02:50:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 70 |
author_reputation | 29,364,484,293 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,686,097 |
net_rshares | 0 |
You got a 99.46% upvote from @minnowvotes courtesy of @elektroyazilim!
author | minnowvotes |
---|---|
permlink | re-elektroyazilim-enumerate-fonksiyonu-1-python-dersleri-tutorials-20190817t120633996z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-17 12:06:33 |
last_update | 2019-08-17 12:06:33 |
depth | 1 |
children | 0 |
last_payout | 2019-08-24 12:06:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 71 |
author_reputation | -125,291,280,752 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,629,797 |
net_rshares | 0 |
Congratulations @elektroyazilim! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) : <table><tr><td><img src="https://steemitimages.com/60x70/http://steemitboard.com/@elektroyazilim/votes.png?201908140325"></td><td>You distributed more than 1250 upvotes. Your next target is to reach 1500 upvotes.</td></tr> </table> <sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@elektroyazilim) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=elektroyazilim)_</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> To support your work, I also upvoted your post! > You can upvote this notification to help all Steem users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
author | steemitboard |
---|---|
permlink | steemitboard-notify-elektroyazilim-20190814t040805000z |
category | palnet |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2019-08-14 04:08:03 |
last_update | 2019-08-14 04:08:03 |
depth | 1 |
children | 0 |
last_payout | 2019-08-21 04:08:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 904 |
author_reputation | 38,975,615,169,260 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,501,513 |
net_rshares | 0 |
This post has received a 18.41% upvote from @votecenter
author | votecenter |
---|---|
permlink | re-elektroyazilim-enumerate-fonksiyonu-1-python-dersleri-tutorials-20190817t092840033z |
category | palnet |
json_metadata | {"app":"steemit/0.1","tags":["palnet"],"users":["votecenter"]} |
created | 2019-08-17 09:28:42 |
last_update | 2019-08-20 12:17:42 |
depth | 1 |
children | 0 |
last_payout | 2019-08-24 09:28:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 55 |
author_reputation | -458,729,686,019 |
root_title | "enumerate() fonksiyonu # 1 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,626,299 |
net_rshares | 0 |