Array operating fluency
Operating on arrays is an integral part of working with data. Most of the time you are working with data in Julia, you will be working with arrays, so it is essential to know how to operate on this data type. In this exercise, you will build your array fluency.
Two 1D arrays, x
and y
, are available in your environment.
This exercise is part of the course
Introduction to Julia
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Multiply x by 3
a = ____