Here are a few things we can do with arrays.

Memorizing all of them is unnecessary; simply look things up in the documentation when needed. Prior experience with some of these is helpful, though.

We can use arithmetic operators on arrays to obtain other arrays.

Concatenation of arrays

We can concatenate the elements of two arrays:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy