CommencerCommencer gratuitement

Comparisons

Comparisons are important to allow your code to respond to the values it calculates. They are also a crucial part of writing conditional expressions.

In this exercise, you will become more comfortable with how these comparisons work. We will use the following variables:

x = 1
y = 100.0
z = "one"

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