Hello, I'm stuck at Ruby POO II exercice 9, where I have to write Math::PI. It's more a bug report than a help request. It tells me:
Oups, merci de réessayer. Votre code n'affiche pas le valeur de PI du module MAth ! Allez voir l'indice si vous avez besoin d'aide.
In english:
Oops, please try again. Your code doesn't display the PI value from the Math module. Please check the hint if you need help.
Here's my "code"


Thanks for your time.

Edit: I solved it with a

puts '3.141592653589793'


Good you solved it, but that was rather static.

You were missing the puts keyword. The exercise says to:

puts Math::PI

I hope this adds to your solution. :wink:


Oh thanks, so it was my fault. Now I realize it's pretty logical. I guess I needed a break :slight_smile:


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