CommencerCommencer gratuitement

Slicing arrays

Slicing is a key skill you will need to work with arrays. You will often use slicing to select specific parts of the datasets you are working with. The elements of data you exclude can be as important as those you include.

In this exercise, you will be slicing sections out of the following array, which is available in your environment:

x = ['a', 'b', 'c', 'd', 'e', 'f', 'g']

Cet exercice fait partie du cours

Introduction to Julia

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice