.insert(), Inserts an element at a given position, .pop(), Removes element based on its index, .remove(), Removes the stated element, .count(), Counts how many times a given term appears in the list, len(), Returns the length of the list, print(my_list[2:]), Used to output from a specified index to the end of the list, .index(), Returns the specified item's index, .sort(), Puts the list into order, .reverse(), Reverses the current order of the list, print(my_list[:6]), Used to output from the beginning of the list up to, but not including, a specified index.
0%
Python List Operations
Paylaş
Paylaş
Jthhg
tarafından
KS3
KS4
Y9
Computing
İçeriği Düzenle
Yazdır
Yerleştir
Daha fazla
Ödevler
Skor Tablosu
Daha fazla göster
Daha az göster
Bu lider panosu şu anda gizlidir. Herkese açmak için
Paylaş
'a tıklayın.
Bu lider panosu kaynak sahibi tarafından devre dışı bırakıldı.
Seçenekleriniz kaynak sahibinden farklı olduğu için bu lider panosu devre dışı bırakıldı.
Seçenekleri Eski Haline Döndür
Eşleştir
açık uçlu bir şablondur. Bir lider panosu için skor oluşturmaz.
Giriş gereklidir
Görsel stil
Yazı tipleri
Abonelik gerekli
Seçenekler
Şablonu değiştir
Tümünü göster
Sonuçları aç
Bağlantıyı kopyala
QR kodu
Sil
Otomatik olarak kaydedilen geri yüklensin mi:
?