Join free to take this lesson
Anyone can look around, but taking a lesson needs a free account. With one, your answers are checked step by step and your progress is saved, so you can stop and pick up where you left off on any device.
13 steps ยท about 20 min
By the end you can
- Say what a library is, and load NumPy with import numpy as np
- Read an error that says np is not defined, and fix it
- Make an array from a list with np.array
- Count an array's elements with len, and read one with [0], [1] or [-1]
Who it is for: Anyone who has done units 1-3 of this course (print, variables, loops, functions and lists).
The steps
- A list and a loop (a recap)
- A library: tools someone else wrote
- Your first import
- Forgetting the import
- Add the import
- An array: a list NumPy can do sums with
- Make an array
- Making an array
- Fix the bug
- Like a list: len and indexing
- The first time
- The last one
- In your own words
Discussion 0 comments
Log in to join the discussion.