Python သည် Tuple အရာများကို ဖယ်ရှားပါ။
Tuple အရာများကို ဖယ်ရှားပါ။
မှတ်ချက်- tuple တစ်ခုရှိ အရာများကို သင် ဖယ်ရှား၍မရပါ။
Tuple များသည် ပြောင်းလဲ၍ မရသော ကြောင့် ၎င်းမှအရာများကို သင်မဖယ်ရှားနိုင်သော်လည်း tuple ကို လုံးလုံးဖျက်နိုင်သည်-
ဥပမာ
သော့ချက်စကားလုံး သည် del
tuple ကို လုံးဝဖျက်ပစ်နိုင်သည်-
thistuple = ("apple", "banana", "cherry")
del
thistuple
print(thistuple)
#this will raise an error because the tuple no longer exists