Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | |||
gf_informatik:python_extras [2024-01-16 10:21] – hof | gf_informatik:python_extras [2024-02-04 09:03] (aktuell) – [List Slicing] hof | ||
---|---|---|---|
Zeile 24: | Zeile 24: | ||
<code python> | <code python> | ||
a[start: | a[start: | ||
- | a[start: | + | a[start: |
a[: | a[: | ||
- | a[:] # a copy of the whole array | + | a[:] # a copy of the whole list |
a[start: | a[start: |