12th Week of 2022
Computer Science⚑
Programming⚑
Python⚑
-
New: Adjust default plot size.
Try running
%matplotlib notebook
after the imports.
Other⚑
-
New: Array find method.
.find()
: returns the first element in the provided array that satisfies the provided testing function. If no values satisfy the testing function,undefined
is returned. E.g.,array1.find(element => element > 10)
. -
New: Iterate keys and values.
for (const [key, value] of Object.entries(object)) { console.log(key, value); }