 Merhabalar Python programlama derslerine string metotlarıyla devam ediyoruz. ## strip() metodu _strip()_ metodu parametre olarak aldığı değeri, stringin başından ve sonundan siler. Örneğin bir şifre girildi ancak bu şifrenin başında ve sonunda boşluklar bırakılmışsa, bu boşlukları silmek için kullanılabilir.  Silinecek karakter boşluk karakteri olduğu için, metoda herhangi bir parametre geçirmeye gerek yoktur. Örnekte olduğu gibi boş kullanılması yeterlidir. > _strip()_ metoduna herhangi bir parametre girilmezse varsayılan olarak boşluk karakteri kabul edilir. ## lstrip() ve rstrip() metodları Bu metotlar da _strip()_ metodunun yaptığı şeyin aynısını yapmaktadır. _strip()_ metodundan farklı olarak _lstrip()_ metodu, parametre olarak aldığı değeri stringin solundan (başındaki) silerken; _rstrip()_ metodu stringin sağından yani sonundan silme işlemi yapar. Uygulamasını görelim :  Örneklerde görüldüğü gibi stringin sol ve sağ tarafındaki boşluklar silindi. _strip()_ metodunun başındaki "l", left yani sol anlamında kullanılırken "r", right yani sağ anlamında kullanılmaktadır. Bu metotları kullanırken boşluk dışındaki karakterleri de silebilirsiniz :  ## join() metodu _join()_ metodu, liste elemanlarını verilen string ifadeyle birleştirilmesini sağlar. Uygulamasını görelim :  Örnekte görüldüğü gibi _join()_ metodunu kullanarak liste elemanları arasına istediğimiz karakteri sokabilir ve liste elemanlarından oluşan bir string elde edebiliriz. _join()_ metodunu kullanarak harfler arasına nokta karakteri de koyabiliriz:  Ş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 | string-metotlari-3-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/DQmcT7oaweQpyQmGdG2m81E6UtVzR1hvXMD8V1ndo6LbNJR/image.png","https://cdn.steemitimages.com/DQmZ4vDAe1pc7KT7xFGxsiFp1GazuoCdPHKaYgSQsrhovB7/image.png","https://cdn.steemitimages.com/DQmP1xCtajSMn9iwWqi1UzuMUYePGC8RmDDM9U33oRkGdfi/image.png","https://cdn.steemitimages.com/DQmUTdEuxW3iiB8WPDrPT67tSwDo762wAEQxXK5Umv7jZ2Z/image.png","https://cdn.steemitimages.com/DQmc4Axsz1T56kmJ5PP61fDcP6WHEKd6ZTST2Xqww95sbJS/image.png","https://cdn.steemitimages.com/DQmYZw2bhUomeivJwQ8CiLaTzXTbJPLd1PsSGdcoEE1DfKP/yesilayrca.png"],"app":"marlians/0.1","format":"markdown"} |
created | 2019-08-18 06:39:48 |
last_update | 2019-08-18 06:39:48 |
depth | 0 |
children | 9 |
last_payout | 2019-08-25 06:39:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 13.472 HBD |
curator_payout_value | 4.260 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,510 |
author_reputation | 73,919,354,200,140 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,655,770 |
net_rshares | 52,585,682,828,114 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
team | 0 | 83,493,589,643 | 10% | ||
steemyoda | 0 | 2,178,236,343,656 | 15.83% | ||
bukiland | 0 | 326,863,393 | 3.6% | ||
sam99 | 0 | 6,835,894,394 | 3% | ||
joeparys | 0 | 1,179,223,464,337 | 19.17% | ||
koinbot | 0 | 1,172,845,640,265 | 100% | ||
revan746 | 0 | 16,978,227,640 | 100% | ||
imisstheoldkanye | 0 | 2,384,527,875 | 1% | ||
postpromoter | 0 | 8,314,558,321,890 | 68.37% | ||
steinhammer | 0 | 592,739,426 | 20% | ||
awesome-gadgets | 0 | 1,633,362,170 | 100% | ||
steemfunding | 0 | 2,082,726,243,745 | 93.14% | ||
steemlike | 0 | 203,517,095,267 | 100% | ||
steemlite | 0 | 249,879,437,961 | 100% | ||
mmmmkkkk311 | 0 | 1,314,922,307,238 | 28.02% | ||
neokuduk | 0 | 13,162,975,009 | 100% | ||
literaturk | 0 | 2,596,965,140 | 100% | ||
minnowvotes | 0 | 20,340,557,876,851 | 94.14% | ||
sudefteri | 0 | 11,604,663,414 | 100% | ||
akifane | 0 | 2,092,310,975 | 100% | ||
rasit | 0 | 377,856,493 | 100% | ||
bid4joy | 0 | 227,947,967,382 | 50% | ||
maveraunnehr | 0 | 378,863,374 | 100% | ||
dailyhouston | 0 | 403,000,273 | 76.06% | ||
redlambo | 0 | 301,220,627,465 | 50% | ||
luckyvotes | 0 | 2,100,178,988,165 | 93.11% | ||
emotionalsea | 0 | 3,057,682,292 | 30% | ||
brupvoter | 0 | 2,599,916,888,213 | 65.41% | ||
inciter | 0 | 6,080,723,372,471 | 73.81% | ||
informator | 0 | 1,965,627,923 | 14.01% | ||
soteyapanbot | 0 | 18,328,876,934 | 20% | ||
edensgarden | 0 | 1,226,147,638,468 | 90.66% | ||
oceansbot | 0 | 105,271,203 | 76.06% | ||
thebot | 0 | 765,346,065,164 | 77.95% | ||
kadoshmenorah | 0 | 2,552,183,653 | 100% | ||
oceanwhale | 0 | 1,480,721,433,551 | 76.06% | ||
crabbot | 0 | 546,190,874 | 100% | ||
mozer | 0 | 1,601,707,709 | 30% | ||
tahirozgen | 0 | 91,872,267,038 | 90% | ||
whalepromobot | 0 | 207,485,973,085 | 50% | ||
laissez-faire | 0 | 79,743,097 | 100% | ||
ayisigi | 0 | 324,893,472 | 100% | ||
steemst | 0 | 42,257,224,890 | 100% | ||
natur-pur | 0 | 801,124,242 | 100% | ||
kabasakal | 0 | 10,960,352,364 | 30% | ||
maonx | 0 | 9,545,549,772 | 100% | ||
omeryetim | 0 | 102,481,973 | 30% | ||
hdu | 0 | 4,313,698,757 | 2% | ||
iskenderk | 0 | 17,705,491,232 | 100% | ||
yusufyusuf | 0 | 59,517,765,205 | 100% | ||
cocukgelisimi | 0 | 5,923,929,414 | 100% | ||
bluesniper | 0 | 8,127,227,200 | 2% | ||
denizcakmak | 0 | 67,120,547,706 | 100% | ||
elektroyazilim | 0 | 51,774,242,345 | 100% | ||
steem-venera | 0 | 12,267,859,291 | 100% | ||
canercanbolat | 0 | 548,235,067 | 100% | ||
iktisat | 0 | 1,285,895,109 | 100% | ||
recepkasikcioglu | 0 | 409,438,093 | 100% | ||
mk-pal-token | 0 | 1,245,368,350 | 59.42% | ||
mk-stem-token | 0 | 28,629,332 | 2% | ||
mk-marlians-tkn | 0 | 2,295,799,184 | 80.24% |
You got a 50.00% upvote from @bid4joy courtesy of @elektroyazilim!
author | bid4joy |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190821t021945355z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-21 02:19:45 |
last_update | 2019-08-21 02:19:45 |
depth | 1 |
children | 0 |
last_payout | 2019-08-28 02:19: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 | 67 |
author_reputation | 11,746,524,585,557 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,768,253 |
net_rshares | 0 |
You got a 65.41% upvote from @brupvoter courtesy of @elektroyazilim!
author | brupvoter |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190821t142202412z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-21 14:22:03 |
last_update | 2019-08-21 14:22:03 |
depth | 1 |
children | 0 |
last_payout | 2019-08-28 14:22: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 | 69 |
author_reputation | 13,657,314,846,422 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,786,363 |
net_rshares | 0 |
Thanks for using @edensgarden!
author | edensgarden |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190823t095604158z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-23 09:56:03 |
last_update | 2019-08-23 09:56:03 |
depth | 1 |
children | 0 |
last_payout | 2019-08-30 09:56: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 | 31 |
author_reputation | -100,797,867,719 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,856,057 |
net_rshares | 0 |
You got a 19.17% 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-string-metotlari-3-python-dersleri-tutorials-20190821t012753328z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-21 01:27:51 |
last_update | 2019-08-21 01:27:51 |
depth | 1 |
children | 0 |
last_payout | 2019-08-28 01:27:51 |
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,150,391,439,389 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,767,169 |
net_rshares | 0 |
You got a 93.11% upvote from @luckyvotes courtesy of @elektroyazilim!
author | luckyvotes |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190823t015627859z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.2"} |
created | 2019-08-23 01:56:27 |
last_update | 2019-08-23 01:56:27 |
depth | 1 |
children | 0 |
last_payout | 2019-08-30 01:56: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 | 70 |
author_reputation | 29,364,484,293 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,845,091 |
net_rshares | 0 |
You got a 94.14% upvote from @minnowvotes courtesy of @elektroyazilim!
author | minnowvotes |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190820t192823757z |
category | palnet |
json_metadata | {"app":"postpromoter/2.1.1"} |
created | 2019-08-20 19:28:24 |
last_update | 2019-08-20 19:28:24 |
depth | 1 |
children | 0 |
last_payout | 2019-08-27 19:28:24 |
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 | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,758,530 |
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-string-metotlari-3-python-dersleri-tutorials-20190821t180537242z |
category | palnet |
json_metadata | {"app":"postpromoter/1.9.2"} |
created | 2019-08-21 18:05:36 |
last_update | 2019-08-21 18:05:36 |
depth | 1 |
children | 0 |
last_payout | 2019-08-28 18:05: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 | 139 |
author_reputation | 123,143,757,359 |
root_title | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,794,090 |
net_rshares | 0 |
The force is with you! You got a 15.83% upvote from @steemyoda courtesy of @elektroyazilim! http://ultraimg.com/images/2018/02/27/n8qb.gif
author | steemyoda |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190822t055427369z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-22 05:54:30 |
last_update | 2019-08-22 05:54:30 |
depth | 1 |
children | 0 |
last_payout | 2019-08-29 05:54:30 |
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 | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,811,325 |
net_rshares | 0 |
You got a 50.00% upvote from @whalepromobot courtesy of @elektroyazilim!
author | whalepromobot |
---|---|
permlink | re-elektroyazilim-string-metotlari-3-python-dersleri-tutorials-20190821t024349538z |
category | palnet |
json_metadata | {"app":"postpromoter/2.0.0"} |
created | 2019-08-21 02:43:54 |
last_update | 2019-08-21 02:43:54 |
depth | 1 |
children | 0 |
last_payout | 2019-08-28 02:43: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 | "String Metotları #3 - Python Dersleri (Tutorials)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 89,768,766 |
net_rshares | 0 |