If you didn’t read the first post in this series, you might want to read that first.
Last time we talked about adding vectors:
or, with fancy math typesetting:
One thing we might like to do with vectors is change all of the elements by some specified amount via multiplication. Multiply them all by 2, for example.
In pretend linear algebra style Python:
This multiplies every element in the list by a given number.