1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Julia

Exercise

Importing packages

Utilizing external packages will make you a more effective programmer. In this exercise, you will import and use the Statistics package in two different ways.

An array of data named x, is available in your environment.

Instructions 1/2

undefined XP
  • 1
    • Import the Statistics package using the import keyword.
    • Use the median() function from the package to find the median value of the array x.
  • 2
    • Import the Statistics package using the using keyword.
    • Use the imported std() function to find the standard deviation of the array x.