What format to type the math problems


#1

https://www.codecademy.com/courses/learn-ruby/lessons/introduction-to-ruby/exercises/math?action=lesson_resume

I don't know what format to type the math problems before running them

I tried

  1. (25 % 7)

and nothing ran :confused:


#2

It is running just not displaying. We don't need to wrap the expression in parens.

25 % 7

will do. For this lesson we are not asked to print, but after you pass you can experiment with print to see the results in the console.


#3

ohhhhh thanks :). No wonder it didn't show up.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.