.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
Bagikan
Bagikan
oleh
Jthhg
KS3
KS4
Y9
Computing
Edit Konten
Cetak
Menyematkan
Tambah
Tugas
Papan Peringkat
Tampilkan lainnya
Tampilkan lebih sedikit
Papan peringkat ini saat ini bersifat pribadi. Klik
Share
untuk menjadikannya publik.
Papan peringkat ini telah dinonaktifkan oleh pemilik sumber daya.
Papan peringkat ini dinonaktifkan karena opsi Anda berbeda dengan pemilik sumber daya.
Opsi Pemulihan
Permainan Pencocokan
adalah templat terbuka. Ini tidak menghasilkan skor untuk papan peringkat.
Diperlukan login
Gaya visual
Font
Diperlukan langganan
Pilihan
Berganti templat
Tampilkan semua
Buka hasil
Salin tautan
Kode QR
Hapus
Pulihkan simpan otomatis:
?