Bắt đầu ngayBắt đầu miễn phí

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.

Bài tập này là một phần của khóa học

Introduction to Julia

Xem khóa học

Bài tập tương tác thực hành trực tiếp

Hãy thử làm bài tập này bằng cách hoàn thành đoạn mã mẫu này.

# Import the Statistics package
____

# Calculate median
m = ____.____(____)

println("Median of x is $m")
Chỉnh sửa và Chạy Mã