What are conditionals?
Conditionals let you run code only if a certain condition is true. In GenZ Lang, we use fr instead of if and nah: instead of else.
fr
if
nah:
else
fr score more than 50 -> yo "You passed 🎉" <- nah -> yo "Try again 💪" <-
more than → greater than (>)
more than
>
less than → less than (<)
less than
<
same as → equal (==)
same as
==
Last updated 5 months ago