ПочатиПочніть безкоштовно

When should you use a tuple?

Once a tuple is created, the values within the tuple are immutable, meaning they can not be changed or removed. It is thus important to carefully decide when to use a tuple and when to use an alternative data structure.

In the exercise, you are presented with six different features which can be used to describe a person. Decide whether you should store each option in a tuple or in a variable.

Ця вправа є частиною курсу

Intermediate Julia

Переглянути курс

Практична інтерактивна вправа

Перетворіть теорію на практику за допомогою однієї з наших інтерактивних вправ

Почати вправу