1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Introduction to Julia

Connected

Bài tập

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.

Hướng dẫn 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.