Operators: Arithmetic, In, and Range
Explore and understand arithmetic operators, range operators, and the in operator for collections and ranges.
Arithmetic operators
Let’s start with arithmetic operators, like plus
or times
. These are easiest for the Kotlin compiler because it just needs to transform the left column to the right.
Get hands-on with 1300+ tech skills courses.