Results for “negative index”

6 results

  1. Challenge

    Crew roster

    …Commander: Okafor Newest member: Kowalska Crew size: 4 Indexes start at 0, as in strings. crew[-1] is the last item whatever the list's length, and len(crew) counts the items. The whole roster Add the…

    Write the code Easy 2 stages lists indexing negative index len
  2. Article Python Fundamentals

    Python Functions for Beginners

    …most common syntax error in this whole topic. Everything indented under the def line is the body of the function. Python uses that indentation (four spaces is the convention) to work out where the…