Focus video player for keyboard shortcuts
We hope you enjoyed this lesson.
Cool lesson, huh? Share it with your friends
About this lesson
How to do basic math with Ruby.
Download this lesson’s related exercise files.Arithmetic Operators
58.6 KB Arithmetic Operators - Solution
Doing basic math with Ruby is a breeze.
When to use
There are many different reasons for using math when coding, you'll use this a lot!
Here are the basic math operators:
Hints & tips
- Math is super easy with Ruby!
Lesson notes are only available for subscribers.