开始使用免费开始使用

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.

本练习是课程的一部分

Introduction to Julia

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Import the Statistics package
____

# Calculate median
m = ____.____(____)

println("Median of x is $m")
编辑并运行代码