GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Lists

Andrea Rosado Spanisch

Inhalt der Mindmap

Lists

  1. they hold lists, number, strings, objects and other lists

  2. to create a new empty new list =()

  3. you can use indices more than one time

  4. when appending something to a list you add it to the end of the last in this way: clother () clothes.append(shirt) print clothes

  5. you can use the index to exchange an item on the list

  6. how to add a thing to a list

    • apend(): to add an item to the end of the list extend(): adding lots of of items to the end of the list insert(): where you tell it where to add it and it adds it there
  7. how to search a list

    • index () method
  8. how to delete something from a list

    • remove () : delete an item you chose pop(): gives you the last item selected

Informationen

Beschreibung
Mindmap am Lists, erstellt von Andrea Rosado am 25/01/2018.
Erstellt von
Andrea Rosado
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck