1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to Julia

Connected

练习

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.

说明 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.