 Merhabalar Python programlama derslerinin bu bölümünde kümeler konusundan devam edeceğiz. > Bu ders önceki derste verilen bilgiler üzerine bina edilecektir. Bu sebeple öncelikle o derse bakmanız tavsiye edilir. İngilizce ismiyle _sets_ olan kümeler, içerisinde birden fazla aynı değeri bulundurmayan veri tipleriydi. Başka veri tiplerini küme veri tipine _set()_ fonksiyonu ile dönüştürmek mümkündü. Ancak bu dönüşümü yaparken oluşacak kümenin yine küme mantığı ile ortaya çıkacağını unutmamak gerekir. Yani bir liste içerisinde tekrarlı eleman varsa o listeden oluşacak küme de o tekrarlı elemanlara yer verilmeyecektir. ## for döngüsü ve kümeler _for_ döngüsü de nihayetinde dizisel bir yapı olduğu için listelerde olduğu gibi _for()_ döngüsünü kullanarak küme elemanları içerisinde gezinebiliriz. Uygulamasını görelim :  Örneğimizde _for()_ döngüsünü kullanarak küme elemanları içerisinde gezinip değerleri ekrana yazdırdık. Ancak fark ettiğiniz üzere küme elemanları sıralı bir şekilde gelmedi. > Kümeler sırasız olması özelliği bakımından sözlüklere benzemektedir. Şimdi de küme elemanlarına index değerleri üzerinden erişip erişemiyeceğimizi görelim:  Kümelere indexlerle ulaşamayacağımıza dair bir hata aldık. Fark ettiğiniz üzere , > Küme elemanlarına direk bir erişim söz konusu değil. Bu şekilde bir erişim söz konusu olmasa da küme elemanlarına bir _for()_ döngüsü üzerinden erişebiliriz. Ya da kümeyi listeye çevirirsek elemanlarına da index değerleri üzerinden erişebiliriz. Uygulamasını görelim :  Örneğimizde _langs_ kümesini _list()_ fonksiyonunu kullanarak bir listeye çevirdik ve sonrasında index değerleri üzerinden yeni listenin elemanlarına erişim sağlayabildik. Ş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 | kuemeler-sets-2-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/DQmYqVmh98kBf8JvBeDwqjBevG62ykWkaBvCHK1x9igGAZR/image.png","https://cdn.steemitimages.com/DQmUqkdP22ihcVngC1UT5ZMid1fYtTTvmt7ys5HgG48qkds/image.png","https://cdn.steemitimages.com/DQmTUX82jpPoMs6F6NV75B1ELw29KdwDRutqdcQfLnYqtY5/image.png","https://cdn.steemitimages.com/DQmYZw2bhUomeivJwQ8CiLaTzXTbJPLd1PsSGdcoEE1DfKP/yesilayrca.png"],"links":["https://www.marlians.com/"],"app":"marlians/0.1","format":"markdown"} |
created | 2019-08-19 18:26:12 |
last_update | 2019-08-19 18:26:12 |
depth | 0 |
children | 6 |
last_payout | 2019-08-26 18:26:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 12.534 HBD |
curator_payout_value | 3.974 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,466 |
author_reputation | 73,919,354,200,140 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,713,748 |
net_rshares | 49,166,227,949,748 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
team | 0 | 88,941,917,196 | 10% | ||
lola-carola | 0 | 65,584,366 | 3% | ||
mrwang | 0 | 266,379,243 | 3% | ||
arcange | 0 | 21,999,203,111 | 2% | ||
raphaelle | 0 | 611,227,160 | 2% | ||
surpassinggoogle | 0 | 2,668,890,630 | 6% | ||
pichat | 0 | 269,499,242 | 1.5% | ||
rival | 0 | 2,968,085,807 | 2% | ||
felt.buzz | 0 | 1,480,755,760 | 1.5% | ||
zeugen | 0 | 84,266,137 | 3% | ||
accelerator | 0 | 7,280,145,845 | 0.23% | ||
koinbot | 0 | 1,172,876,467,198 | 100% | ||
sneaky-ninja | 0 | 3,618,478,949,883 | 29.41% | ||
imisstheoldkanye | 0 | 2,421,493,766 | 1% | ||
postpromoter | 0 | 8,376,971,418,201 | 69.08% | ||
steinhammer | 0 | 594,236,397 | 20% | ||
steemfunding | 0 | 2,068,236,846,049 | 92.49% | ||
steemlike | 0 | 203,565,421,548 | 100% | ||
steemlite | 0 | 249,880,534,525 | 100% | ||
beautifulwoman | 0 | 12,295,603,680 | 100% | ||
belemo | 0 | 895,479,039 | 3% | ||
neokuduk | 0 | 12,420,385,328 | 100% | ||
literaturk | 0 | 2,151,945,638 | 100% | ||
minnowvotes | 0 | 20,469,570,827,123 | 94.72% | ||
sudefteri | 0 | 10,773,805,850 | 100% | ||
starzy | 0 | 122,441,297 | 3% | ||
akifane | 0 | 1,745,661,475 | 100% | ||
dailyhouston | 0 | 400,796,617 | 75.69% | ||
shahaan | 0 | 114,882,540 | 3% | ||
jos3lider | 0 | 72,869,084 | 3% | ||
redlambo | 0 | 304,323,607,728 | 50% | ||
luckyvotes | 0 | 2,075,447,848,797 | 92% | ||
ezravandi | 0 | 4,428,734,513 | 2.6% | ||
brupvoter | 0 | 2,618,679,219,966 | 65.79% | ||
inciter | 0 | 3,133,043,974,528 | 65.6% | ||
soteyapanbot | 0 | 17,271,604,781 | 20% | ||
outtheshellvlog | 0 | 238,789,971 | 1.2% | ||
edensgarden | 0 | 1,118,834,604,474 | 82.72% | ||
oceansbot | 0 | 104,515,874 | 75.69% | ||
thebot | 0 | 720,768,508,732 | 73.39% | ||
nigerian-yogagal | 0 | 117,883,886 | 3% | ||
oceanwhale | 0 | 1,473,758,288,688 | 75.69% | ||
crabbot | 0 | 546,215,716 | 100% | ||
profitvote | 0 | 1,060,169,125,705 | 79.41% | ||
revueh | 0 | 438,310,135 | 3% | ||
tahirozgen | 0 | 50,326,016,874 | 50% | ||
randomkindness | 0 | 112,831,296 | 3% | ||
praditya | 0 | 158,414,047 | 1.8% | ||
laissez-faire | 0 | 42,691,064 | 100% | ||
ayisigi | 0 | 264,429,951 | 100% | ||
steemst | 0 | 42,254,085,024 | 100% | ||
kabasakal | 0 | 11,419,861,227 | 30% | ||
alom8 | 0 | 73,727,274 | 3% | ||
maonx | 0 | 9,532,133,997 | 100% | ||
omeryetim | 0 | 96,315,628 | 30% | ||
hdu | 0 | 4,433,632,197 | 2% | ||
iskenderk | 0 | 17,310,042,160 | 100% | ||
yusufyusuf | 0 | 59,295,529,365 | 100% | ||
cocukgelisimi | 0 | 6,015,898,695 | 100% | ||
bluesniper | 0 | 3,684,751,965 | 0.92% | ||
denizcakmak | 0 | 7,481,045,229 | 20% | ||
elektroyazilim | 0 | 51,687,969,818 | 100% | ||
preformulated | 0 | 113,818,783 | 100% | ||
huseyinunozkan16 | 0 | 19,622,557,739 | 100% | ||
iktisat | 0 | 1,126,284,845 | 100% | ||
reitsportdokus | 0 | 109,597,387 | 3% | ||
mk-stem-token | 0 | 29,356,213 | 2% | ||
maxuvv | 0 | 757,916,847 | 4% | ||
maxuva | 0 | 4,638,268,456 | 8% | ||
maxuvb | 0 | 4,574,554,834 | 8% | ||
maxuvc | 0 | 2,906,663,202 | 4% | ||
maxuvd | 0 | 2,907,522,537 | 4% | ||
maxuve | 0 | 6,854,779,865 | 8% |
You got a 65.79% upvote from @brupvoter courtesy of @elektroyazilim!
author | brupvoter |
---|---|
permlink | re-elektroyazilim-kuemeler-sets-2-python-dersleri-tutorials-20190822t051335696z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-22 05:13:36 |
last_update | 2019-08-22 05:13:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-29 05:13: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 | 69 |
author_reputation | 13,657,314,846,422 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,810,431 |
net_rshares | 0 |
Thanks for using @edensgarden!
author | edensgarden |
---|---|
permlink | re-elektroyazilim-kuemeler-sets-2-python-dersleri-tutorials-20190824t010636768z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-24 01:06:36 |
last_update | 2019-08-24 01:06:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-31 01:06: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 | 31 |
author_reputation | -100,797,867,719 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,883,104 |
net_rshares | 0 |
You got a 92.00% upvote from @luckyvotes courtesy of @elektroyazilim!
author | luckyvotes |
---|---|
permlink | re-elektroyazilim-kuemeler-sets-2-python-dersleri-tutorials-20190824t091734135z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.2"} |
created | 2019-08-24 09:17:33 |
last_update | 2019-08-24 09:17:33 |
depth | 1 |
children | 0 |
last_payout | 2019-08-31 09:17: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 | 70 |
author_reputation | 29,364,484,293 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,892,810 |
net_rshares | 0 |
You got a 94.72% upvote from @minnowvotes courtesy of @elektroyazilim!
author | minnowvotes |
---|---|
permlink | re-elektroyazilim-kuemeler-sets-2-python-dersleri-tutorials-20190822t135135570z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-22 13:51:36 |
last_update | 2019-08-22 13:51:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-29 13:51: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 | 71 |
author_reputation | -125,291,280,752 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,825,736 |
net_rshares | 0 |
You got a 50.00% upvote from @redlambo courtesy of @elektroyazilim! Make sure to use tag #redlambo to be considered for the curation post!
author | redlambo |
---|---|
permlink | re-elektroyazilim-kuemeler-sets-2-python-dersleri-tutorials-20190824t224141808z |
category | palnet |
json_metadata | {"app":"postpromoter/1.9.2"} |
created | 2019-08-24 22:41:42 |
last_update | 2019-08-24 22:41:42 |
depth | 1 |
children | 0 |
last_payout | 2019-08-31 22:41: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 | 139 |
author_reputation | 123,143,757,359 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,914,085 |
net_rshares | 0 |
 Defended (29.41%) Summoned by @elektroyazilim Sneaky Ninja supports @youarehope and @tarc with a percentage of all bids. [Everything You Need To Know About Sneaky Ninja](https://steemit.com/steemit/@sneaky-ninja/everything-you-need-to-know-about-sneaky-ninja) <br> woosh
author | sneaky-ninja |
---|---|
permlink | re-elektroyazilim-kuemeler-sets-2-python-dersleri-tutorials-20190825t153504453z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-25 15:35:03 |
last_update | 2019-08-25 15:35:03 |
depth | 1 |
children | 0 |
last_payout | 2019-09-01 15:35: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 | 430 |
author_reputation | 6,929,108,306,933 |
root_title | "Kümeler (Sets) #2 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,937,034 |
net_rshares | 0 |