This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
Open
Description
We don't mention that lists support the *
operator.
>>> [2, 3, 1]*5
[2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1]
>>>
This is good to mention because numpy has a more intuitive/useful implemention of the *
operators for arrays.