Ana sayfa Genel Python – Demetler (Tuples)

Python – Demetler (Tuples)

2200
84
PAYLAŞ

Demetler (Tuplelar)

Demetler veya İngilizce ismiyle tuplelar listelere oldukça benzer ancak farkları demetlerin değiştirilemez oluşudur. Bu yüzden programlarımızda değiştirilmesini istemediğimiz değerleri bir demet içinde depolayabiliriz. İsterseniz konumuza demetlerin oluşturulmasıyla başlayalım.

Demet Oluşturma

Peki tek elemanlı bir demet nasıl tanımlanır ?

Demetlerin Temel Metodları

index metoduyla içine verdiğimiz elemanın hangi indekste olduğunu bulabiliriz.

count metoduyla içine verdiğimiz değerin demette kaç defa geçtiğini bulabiliriz.

Değiştirilmeme Özelliği

Demetlerin değiştirilemez olduğunu artık biliyoruz. İsterseniz bir deneme yapalım.

Demetleri Ne Zaman Kullanalım ?

Aslında Python programcıları demetlerden ziyade listeleri daha çok kullanır. Ancak eğer programınızda değiştirilmesini istemediğiniz bilgiler varsa (Android uygulama sabitleri gibi) bunları demet içinde depolayabilirsiniz. Aynı zamanda, Read Only(Sadece Okuma) bir veritipi olduğu için listelere göre biraz daha hızlı çalışırlar.

84 YORUMLAR

  1. I was very pleased to find this web-site.I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.

  2. I like what you guys are up too. Such smart work and reporting! Carry on the excellent works guys I have incorporated you guys to my blogroll. I think it will improve the value of my web site :).

  3. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but other than that, this is wonderful blog. An excellent read. I will definitely be back.

  4. I’m now not sure where you are getting your info, but great topic. I needs to spend a while finding out more or understanding more. Thank you for great info I used to be on the lookout for this info for my mission.

  5. My brother recommended I might like this website. He was totally right. This post actually made my day. You cann’t imagine just how much time I had spent for this information! Thanks!

  6. Howdy, I think your blog could possibly be having browser compatibility problems.
    When I take a look at your site in Safari, it looks
    fine however, when opening in IE, it’s got some overlapping issues.

    I simply wanted to provide you with a quick heads up! Other than that, great blog!

  7. I’ve been surfing online more than three hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my view, if all website owners and bloggers made good content as you did, the web will be much more useful than ever before.

  8. I just like the valuable information you supply to your articles. I will bookmark your blog and test again right here frequently. I am moderately sure I will learn lots of new stuff proper here! Good luck for the next!

  9. Hey there! This is kind of off topic but I need some advice from an established blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty quick. I’m thinking about setting up my own but I’m not sure where to begin. Do you have any points or suggestions? Cheers

  10. I beloved up to you’ll obtain performed right here. The caricature is attractive, your authored material stylish. nevertheless, you command get got an impatience over that you wish be delivering the following. unwell indubitably come further until now once more as precisely the similar just about very often inside case you shield this increase.

  11. Some genuinely fantastic information, Sword lily I noticed this. “Speak when you are angry–and you will make the best speech you’ll ever regret.” by Laurence J. Peter.

  12. Keep up the superb piece of work, I read few blog posts on this internet site and I believe that your weblog is very interesting and has got sets of excellent info .

  13. I loved as much as you will obtain carried out right here. The cartoon is attractive, your authored subject matter stylish. however, you command get got an edginess over that you would like be delivering the following. in poor health certainly come more until now once more since exactly the similar nearly a lot continuously inside case you defend this increase.

  14. I will immediately grasp your rss feed as I can’t find your email subscription link or e-newsletter service. Do you have any? Kindly let me recognise in order that I could subscribe. Thanks.

  15. you are actually a good webmaster. The web site loading speed is incredible.
    It seems that you are doing any distinctive
    trick. Moreover, The contents are masterwork.
    you’ve done a fantastic process in this matter!

  16. Hey I am so glad I found your site, I really found you by mistake, while I was browsing on Digg for something else, Nonetheless I am here now and would just like to say thank you for a incredible post and a all round enjoyable blog (I also love the theme/design), I don’t have time to look over it all at the moment but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read much more, Please do keep up the superb work.

  17. It?¦s actually a cool and helpful piece of info. I am glad that you simply shared this helpful information with us. Please keep us up to date like this. Thank you for sharing.

  18. With havin so much written content do you ever run into any issues of plagorism or copyright violation? My blog has a lot of exclusive content I’ve either written myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement. Do you know any techniques to help prevent content from being ripped off? I’d really appreciate it.

  19. Hi there, You’ve performed an incredible job. I’ll definitely digg it and in my view suggest to my friends. I’m sure they will be benefited from this web site.

  20. hello!,I like your writing very much! share we communicate more about your post on AOL? I require an expert on this area to solve my problem. May be that’s you! Looking forward to see you.

  21. With havin so much content and articles do you ever run into any issues of plagorism or copyright infringement?
    My website has a lot of unique content I’ve either written myself or outsourced but it appears a lot of it is popping it up all
    over the internet without my agreement. Do you know any methods to help stop content from being ripped off?

    I’d certainly appreciate it.

  22. I wish to point out my affection for your kind-heartedness in support of individuals that really need help with this one question. Your very own dedication to getting the solution throughout has been unbelievably beneficial and have continuously permitted girls like me to get to their goals. Your entire valuable recommendations means this much to me and even further to my peers. Regards; from everyone of us.

  23. Great – I should certainly pronounce, impressed with your web site. I had no trouble navigating through all tabs as well as related information ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your customer to communicate. Excellent task..

  24. After I initially commented I clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I get four emails with the identical comment. Is there any means you possibly can remove me from that service? Thanks!

  25. 高能聚焦量超聲波( HIFU )以物理性聚焦集中成一點, 快速穿透皮膚真皮及脂肪層面直達面部表淺肌肉腱膜系統( SMAS )層令其組織細胞分子高速磨擦 , 瞬間升溫至60 -70 度,令整個表淺肌肉腱膜系統( SMAS )受熱收縮,形成熱固化區域, 令結綈組織同時拉緊,達到拉皮防皺及美容效果。SMAZ聚焦超聲波提供了最有效的HIFU能量收緊皮膚及刺激胶原蛋白新生,提升彈性,恢復更緊緻的皮膚和更年輕的美貌。

  26. Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your blog? My blog site is in the exact same niche as yours and my users would definitely benefit from some of the information you provide here. Please let me know if this okay with you. Thank you!

  27. Whats Going down i’m new to this, I stumbled upon this I’ve discovered It absolutely helpful and it has helped me out loads. I hope to contribute & assist different customers like its helped me. Great job.

  28. Just wanna remark on few general things, The website layout is perfect, the content is real excellent. “War is much too serious a matter to be entrusted to the military.” by Georges Clemenceau.

  29. After I initially commented I clicked the -Notify me when new feedback are added- checkbox and now each time a comment is added I get four emails with the identical comment. Is there any approach you can remove me from that service? Thanks!

  30. Hi, Neat post. There’s an issue together with your website in internet explorer, might test thisK IE nonetheless is the market leader and a huge part of folks will leave out your magnificent writing due to this problem.

  31. Thank you a lot for providing individuals with a very breathtaking chance to read in detail from this site. It is always so awesome and jam-packed with a good time for me personally and my office fellow workers to visit your website at the very least three times per week to see the fresh secrets you will have. Of course, I’m just at all times astounded considering the brilliant creative concepts you serve. Some 1 tips in this posting are easily the most efficient I have ever had.

  32. Having read this I thought it was very informative. I appreciate you taking the time and effort to put this article together. I once again find myself spending way to much time both reading and commenting. But so what, it was still worth it!

  33. Hello! Do you know if they make any plugins to help with
    Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.

    If you know of any please share. Thanks!

  34. Very nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed surfing around your blog posts. After all I’ll be subscribing to your rss feed and I hope you write again soon!

  35. Unquestionably believe that that you said. Your favourite justification appeared to be at the internet the easiest factor to understand of. I say to you, I definitely get irked whilst other folks consider issues that they just don’t recognise about. You controlled to hit the nail upon the top as smartly as defined out the whole thing with no need side effect , other people can take a signal. Will likely be again to get more. Thank you

  36. Hello my family member! I want to say that this article is awesome, great written and come with approximately all significant infos. I¦d like to peer extra posts like this .

  37. Definitely imagine that which you said. Your favourite justification seemed to be at the net the easiest thing to take into account of. I say to you, I certainly get irked even as other folks think about issues that they plainly don’t recognise about. You controlled to hit the nail upon the top and outlined out the whole thing with no need side-effects , other folks can take a signal. Will likely be back to get more. Thank you

  38. Heya i am for the first time here. I came across this board and I to find It really useful & it helped me out a lot. I hope to present one thing again and aid others like you aided me.

  39. My spouse and I stumbled over here different web page and thought I might as well check things out. I like what I see so now i’m following you. Look forward to finding out about your web page for a second time.

BİR CEVAP BIRAK

Lütfen yorumunuzu giriniz
Buraya isminizi giriniz