 Merhabalar Python programlama derslerinin bu bölümünde any()_ fonksiyonundan bahsedeceğiz. _any()_ fonksiyonu, _all()_ fonksiyonunun tersidir. > _any()_ fonksiyonunda, dizisel verilen tipin içerisindeki elemanların hepsi _True_ise True döndürürken bir tanesi _False_ olsa False döndürüyordu. _any()_ fonksiyonunda ise herhangi bir değer _True_ ise sonuç True iken, hepsi _False_ olduğu durumda _False_ değer döndürmektedir. Şimdi _any()_ fonksiyonunun çalışma mantığını anladığımıza göre kendimiz yazmaya çalışalım :  _herhangi()_ isminde bir fonksiyon tanımladık ve bu fonksiyon bir liste almaktadır. Fonksiyon bloğu içerisinde liste elemanlarını gezen bir for döngüsü bulunmaktadır. _for()_ döngüsü içerisinde ise her bir _item_ ın True olup olmadığını sorguladığı bir if yapısı bulunmaktadır. Liste elemanlarından herhangi birinin True olması durumunda program if yapısına girecek ve sonucu True olarak döndürecektir. Diğer durumda yani hiç True yoksa da False döndürecektir. Şimdi uygulamasını yapalım :  _herhangi()_ fonksiyonuna tüm değerleri True ancak bir değeri False olan bir liste verdiğimizde sonucu True döndürdü. İkinci seferde tüm değerlerin False olduğu bir liste verdiğimizde ise sonucu True döndürdü. Gerçek _any()_ fonksiyonunun kullanımını görelim :  _any()_ fonksiyonunun kullanımı da bu şekilde. _all()_ ve _any()_ fonksiyonlarını kullanarak bir liste içerisindeki tüm True veya False değerlerini alabiliriz. Ön tanımlı fonksiyonlardan olduğu için de bizim tanımlamamıza gerek yoktur. Ş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 | any-fonksiyonu-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/DQmYrbw39xvk77mc5jMYF1C7aqE6P8mA6UqgSfMGCN6K3Vm/image.png","https://cdn.steemitimages.com/DQmckNkCtEP84HXEHdJqWKCziQLWaRtWJWt8tjACJpNoAuv/image.png","https://cdn.steemitimages.com/DQmQWp6ZU2tEMS8V6goi5ZksthiQtRSpDVqEwwTjESo6wCp/image.png","https://cdn.steemitimages.com/DQmYZw2bhUomeivJwQ8CiLaTzXTbJPLd1PsSGdcoEE1DfKP/yesilayrca.png"],"app":"marlians/0.1","format":"markdown"} |
created | 2019-08-15 06:37:48 |
last_update | 2019-08-15 06:37:48 |
depth | 0 |
children | 12 |
last_payout | 2019-08-22 06:37:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 10.572 HBD |
curator_payout_value | 3.339 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,284 |
author_reputation | 73,919,354,200,140 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,547,439 |
net_rshares | 41,537,218,863,329 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
steemyoda | 0 | 3,930,170,455,151 | 28.5% | ||
bloggingforbeans | 0 | 12,803,898,315 | 36% | ||
bethalea | 0 | 1,401,009,902 | 20% | ||
turk | 0 | 93,666,155 | 50% | ||
talaxy | 0 | 329,652,541 | 10% | ||
melihkorkmaz | 0 | 124,444,966 | 100% | ||
joeparys | 0 | 1,324,317,389,113 | 21.51% | ||
faustofraser | 0 | 296,139,220 | 18% | ||
inthenow | 0 | 10,925,339,364 | 100% | ||
steinhammer | 0 | 592,884,950 | 20% | ||
mmmmkkkk311 | 0 | 1,256,768,136,781 | 28.06% | ||
baycan | 0 | 4,042,976,484 | 50% | ||
neokuduk | 0 | 14,374,386,281 | 100% | ||
literaturk | 0 | 3,274,326,032 | 100% | ||
minnowvotes | 0 | 20,314,697,566,733 | 94.04% | ||
sudefteri | 0 | 13,311,132,330 | 100% | ||
new.diak | 0 | 192,469,705 | 50% | ||
akifane | 0 | 2,553,125,807 | 100% | ||
rasit | 0 | 432,163,852 | 100% | ||
bid4joy | 0 | 153,384,985,656 | 33.33% | ||
maveraunnehr | 0 | 433,303,931 | 100% | ||
dailyhouston | 0 | 403,298,065 | 76.11% | ||
redlambo | 0 | 135,164,291,173 | 22.22% | ||
luckyvotes | 0 | 2,086,454,674,588 | 92.79% | ||
brupvoter | 0 | 2,608,675,206,272 | 65.58% | ||
inciter | 0 | 5,083,776,276,438 | 62.94% | ||
informator | 0 | 1,937,082,126 | 14.03% | ||
soteyapanbot | 0 | 17,595,411,198 | 20% | ||
sevecen | 0 | 245,714,863 | 50% | ||
myrose | 0 | 248,604,017 | 50% | ||
andrewma | 0 | 0 | 0.2% | ||
oceansbot | 0 | 105,373,274 | 76.11% | ||
thebot | 0 | 758,585,045,317 | 77.31% | ||
trdaily | 0 | 2,871,808,697 | 100% | ||
bumut | 0 | 242,701,607 | 50% | ||
oceanwhale | 0 | 1,484,605,835,262 | 76.11% | ||
crabbot | 0 | 530,176,511 | 100% | ||
parakazan | 0 | 306,257,870 | 100% | ||
profitvote | 0 | 1,024,326,564,008 | 76.84% | ||
mozer | 0 | 1,524,324,835 | 30% | ||
tahirozgen | 0 | 83,467,550,086 | 90% | ||
whalepromobot | 0 | 207,386,247,207 | 50% | ||
slientstorm | 0 | 99,109,092 | 1% | ||
ayisigi | 0 | 409,418,109 | 100% | ||
meowcliver | 0 | 125,455,485 | 50% | ||
kabasakal | 0 | 10,643,958,749 | 30% | ||
maonx | 0 | 9,560,984,251 | 100% | ||
omeryetim | 0 | 91,940,185 | 30% | ||
etasarim | 0 | 3,071,729,424 | 100% | ||
iskenderk | 0 | 18,138,433,046 | 100% | ||
yusufyusuf | 0 | 58,753,641,771 | 100% | ||
cocukgelisimi | 0 | 6,207,831,996 | 100% | ||
denizcakmak | 0 | 14,229,394,824 | 100% | ||
apix | 0 | 85,466,400,995 | 100% | ||
elektroyazilim | 0 | 43,397,433,681 | 100% | ||
bro-rando | 0 | 734,269,143,250 | 36% | ||
canercanbolat | 0 | 535,971,767 | 100% | ||
iktisat | 0 | 977,630,248 | 100% | ||
cn-zzang | 0 | 287,931,818 | 2% | ||
curation.stem | 0 | 542,779,417 | 50% | ||
mk-pal-token | 0 | 1,279,803,129 | 60.14% | ||
mk-stem-token | 0 | 3,910,260,780 | 100% | ||
mk-marlians-tkn | 0 | 2,247,714,629 | 79.57% |
You got a 33.33% upvote from @bid4joy courtesy of @elektroyazilim!
author | bid4joy |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190818t045803462z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-18 04:58:03 |
last_update | 2019-08-18 04:58:03 |
depth | 1 |
children | 0 |
last_payout | 2019-08-25 04:58: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 | 67 |
author_reputation | 11,746,524,585,557 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,653,782 |
net_rshares | 0 |
You got a 21.51% upvote from @joeparys! Thank you for your support of our services. To continue your support, please follow and delegate Steem power to @joeparys for daily steem and steem dollar payouts!
author | joeparys |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190817t155234940z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-17 15:52:36 |
last_update | 2019-08-17 15:52:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-24 15:52: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 | 204 |
author_reputation | 308,141,868,155,707 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,636,213 |
net_rshares | 0 |
You got a 92.79% upvote from @luckyvotes courtesy of @elektroyazilim!
author | luckyvotes |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190820t110203929z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.2"} |
created | 2019-08-20 11:02:03 |
last_update | 2019-08-20 11:02:03 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 11:02: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 | 70 |
author_reputation | 29,364,484,293 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,739,072 |
net_rshares | 0 |
You got a 94.04% upvote from @minnowvotes courtesy of @elektroyazilim!
author | minnowvotes |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190818t204835168z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-18 20:48:36 |
last_update | 2019-08-18 20:48:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-25 20:48: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 | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,678,239 |
net_rshares | 0 |
You got a 22.22% upvote from @redlambo courtesy of @elektroyazilim! Make sure to use tag #redlambo to be considered for the curation post!
author | redlambo |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190819t180945523z |
category | palnet |
json_metadata | {"app":"postpromoter/1.9.2"} |
created | 2019-08-19 18:09:45 |
last_update | 2019-08-19 18:09:45 |
depth | 1 |
children | 0 |
last_payout | 2019-08-26 18:09:45 |
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 | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,713,103 |
net_rshares | 0 |
The force is with you! You got a 28.50% upvote from @steemyoda courtesy of @elektroyazilim! http://ultraimg.com/images/2018/02/27/n8qb.gif
author | steemyoda |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190819t081422633z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-19 08:14:27 |
last_update | 2019-08-19 08:14:27 |
depth | 1 |
children | 0 |
last_payout | 2019-08-26 08:14:27 |
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 | 140 |
author_reputation | -1,181,563,121,002 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,693,988 |
net_rshares | 0 |
Bir an için başlığı amy() fonksiyonu diye okudum. amy diye okuyunca aklıma Amy Winehouse geldi. O anda kendisinin öldüğünü düşünerek çok ama çok üzüldüm. Durduk yere niye üzüyorsun... sniff snifff. ; https://www.youtube.com/watch?v=b-I2s5zRbHg
author | tahirozgen |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190815t112207197z |
category | palnet |
json_metadata | {"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["palnet"],"users":[],"links":[],"image":[]} |
created | 2019-08-15 11:22:09 |
last_update | 2019-08-15 11:22:09 |
depth | 1 |
children | 4 |
last_payout | 2019-08-22 11:22:09 |
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 | 245 |
author_reputation | 140,043,215,207,927 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,555,145 |
net_rshares | 0 |
aaa canım hocam ya :S bu dersin bu konuya bağlanacağı hiç aklıma gelmezdi. Kusura bakmayın sizi üzdüm :( Teşekkür ederim değerli yorum ve desteğiniz için.
author | elektroyazilim |
---|---|
permlink | pw9zty |
category | palnet |
json_metadata | {"tags":["palnet"],"app":"steemit/0.1"} |
created | 2019-08-15 11:27:39 |
last_update | 2019-08-15 11:27:39 |
depth | 2 |
children | 3 |
last_payout | 2019-08-22 11:27:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.132 HBD |
curator_payout_value | 0.377 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 155 |
author_reputation | 73,919,354,200,140 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,555,300 |
net_rshares | 4,453,792,468,765 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
minnowvotes | 0 | 4,430,055,899,722 | 20.83% | ||
elektroyazilim | 0 | 23,736,569,043 | 44% |
You got a 20.83% upvote from @minnowvotes courtesy of @elektroyazilim!
author | minnowvotes |
---|---|
permlink | re-elektroyazilim-pw9zty-20190820t025255160z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-20 02:52:54 |
last_update | 2019-08-20 02:52:54 |
depth | 3 |
children | 0 |
last_payout | 2019-08-27 02:52:54 |
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 | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,726,312 |
net_rshares | 0 |
Her türlü konuya bağlayıp, her türlü üzülebilirim; senin aslında bir suçun yok. Sen elektroyazilim değil de elektrogitar olsaydın, belki seni suçlamanın bir anlamı olurdu. 😜
author | tahirozgen |
---|---|
permlink | re-elektroyazilim-pw9zty-20190815t121043071z |
category | palnet |
json_metadata | {"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["palnet"],"users":[],"links":[],"image":[]} |
created | 2019-08-15 12:10:45 |
last_update | 2019-08-15 12:10:45 |
depth | 3 |
children | 1 |
last_payout | 2019-08-22 12:10:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 3.356 HBD |
curator_payout_value | 1.118 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 173 |
author_reputation | 140,043,215,207,927 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,556,509 |
net_rshares | 13,210,846,450,841 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tipu | 0 | 13,174,472,646,868 | 17.25% | ||
steem-jackpot | 0 | 7,240,414,557 | 100% | ||
zero-profit | 0 | 29,133,389,416 | 100% |
You got a 50.00% upvote from @whalepromobot courtesy of @elektroyazilim!
author | whalepromobot |
---|---|
permlink | re-elektroyazilim-any-fonksiyonu-python-dersleri-tutorials-20190818t025349165z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-18 02:53:54 |
last_update | 2019-08-18 02:53:54 |
depth | 1 |
children | 0 |
last_payout | 2019-08-25 02:53:54 |
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 | 73 |
author_reputation | -231,775,391,844 |
root_title | "any() Fonksiyonu - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,651,229 |
net_rshares | 0 |