Get startedGet started for free

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"

This exercise is part of the course

Introduction to Julia

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise