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


#1

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

Lesson 14 of 16 - There is a bug for the quotient variable puts 13209 / 17.

error code: undefined method `my_quotient' for #

It does not print or puts on the console.


#2

It looks like bug was fixed as it gave result "777" but it does not mark the lesson as complete in the lesson. Still advising error message: "Did you declare a variable called quotient?"

Is this another bug?


#3

Have you got a variable with that name?


#4

Yes. my_quotient = 13209 / 17


#5

The lesson checker expects quotient.


#6

Tried to just put quotient but it did not mark the lesson as completed.


#7

And, sum and product. Remove my_ from all of them.


#9

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