Kom igångKom igång gratis

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"

Den här övningen är en del av kursen

Introduction to Julia

Visa kurs

Interaktiv övning med praktiskt arbete

Gör teori till handling med en av våra interaktiva övningar

Starta övningen