<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Những hàm, phương thức của Tuple by Ngọc Bảo</title>
      <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2</link>
      <description>cô ơi bùn ngụ quạ</description>
      <language>en-us</language>
      <pubDate>2023-03-21 19:07:02 UTC</pubDate>
      <lastBuildDate>2025-12-30 17:59:08 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f3b2.png</url>
      </image>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525953290</link>
         <description><![CDATA[<div>tuple_phuong_thuc = ('t', 'u', 'p', 'l', 'e', 'e', )</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-21 19:09:16 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525953290</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525954337</link>
         <description><![CDATA[<div>1. Độ dài tuple<br>- Để xác định số lượng mục có trong một tuple, dùng hàm len().&nbsp;<br>- Ví dụ:</div><div>thistuple = ("apple", "banana", "cherry")</div><div>print(len(thistuple))</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-21 19:09:56 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525954337</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525958674</link>
         <description><![CDATA[<div>- Kết quả của hàm tuple() trong python sẽ là một tuple mới có phần tử là các giá trị chứa trong iterable được chỉ định.</div><div><br></div><div>- Ví dụ, chúng ta sử dụng hàm tuple() để tạo một tuple từ một chuỗi như sau:<br>mytuple= tuple('cityboy')</div><div>print(mytuple)</div><div>#&gt;&gt; ('c', 'i', 't', 'y', 'b', 'o', 'y')</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-21 19:13:27 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525958674</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525960191</link>
         <description><![CDATA[<div>1. count</div><div>#Phương thức count dùng để đếm xem phần tử đó lặp lại bao nhiêu lần trong tupple</div><div>print(tuple_phuong_thuc.count('e'))&nbsp;</div><div>&nbsp;# Output: 2</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-21 19:14:43 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525960191</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525960998</link>
         <description><![CDATA[<div>2. index</div><div>#Phương thức index dùng để đếm xem phần tử đó ở vị trí số mấy(bắt đầu từ số 0)</div><div>print(tuple_phuong_thuc.index('l')) &nbsp;</div><div># Output: 3</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-21 19:15:27 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525960998</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525963699</link>
         <description><![CDATA[<div>2. Hàm Tuple tuple() trong Python chuyển đổi một dãy các phần tử thành tuple.</div><div>- Cú pháp của tuple() trong Python:</div><div>tuple( seq )</div><div>- Trong đó:&nbsp;</div><ul><li>seq: Đây là dãy các phần tử để được chuyển đổi thành tuple.</li><li>Ví dụ: list1 = ['java', 'python', 'php']&nbsp;</li></ul><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tuple1 = tuple(list1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print ("Cac phan tu cua Tuple 1: ", tuple1)</div><div>- Output:</div><div>Cac phan tu cua Tuple 1:&nbsp; ('java', 'python', 'php')</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-03-21 19:17:24 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2525963699</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2526361216</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1330843861/c2584f331c01cc9f23ed8d310ea8abb1/Reverse_a_List_in_Python_Watermarked.webp" />
         <pubDate>2023-03-22 01:52:18 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2526361216</guid>
      </item>
      <item>
         <title></title>
         <author>iluvusowhutugonnado</author>
         <link>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2526363692</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1330843861/3337caf6592cb67817a80c1b671dfdd8/Python_Modules_and_Packages_An_Introduction_Watermarked.webp" />
         <pubDate>2023-03-22 01:54:08 UTC</pubDate>
         <guid>https://padlet.com/iluvusowhutugonnado/tidncq6e43lzafq2/wish/2526363692</guid>
      </item>
   </channel>
</rss>
