.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
Megosztás
Megosztás
szerző:
Jthhg
KS3
KS4
Y9
Computing
Tartalom szerkesztése
Nyomtatás...
Beágyazás
Egyebek
Hozzárendelések
Ranglista
Több megjelenítése...
Részletek elrejtése
Ez a ranglista jelenleg privát. Kattintson a
Megosztás
és tegye nyílvánossá
Ezt a ranglistát a tulajdonos letiltotta
Ez a ranglista le van tiltva, mivel az opciók eltérnek a tulajdonostól.
Beállítások visszaállítása
a(z) Egyezés
egy nyílt végű sablon. Nem hoz létre pontszámokat egy ranglistán.
Bejelentkezés szükséges
Vizuális stílus
Betűtípusok
Előfizetés szükséges
Beállítások
Kapcsoló sablon
Az összes megjelenítése
Nyílt eredmények
Link másolása
QR-kód
Törlés
Automatikus mentés visszaállítása :
?