Python - Tuple နည်းလမ်းများ
Tuple နည်းလမ်းများ
Python တွင် tuples တွင် သင်အသုံးပြုနိုင်သော built-in နည်းလမ်းနှစ်ခုရှိသည်။
Method | Description |
---|---|
count() | Returns the number of times a specified value occurs in a tuple |
index() | Searches the tuple for a specified value and returns the position of where it was found |