Number 9 I can't solve


#1

module Math

puts Math::PI
end

what's wrong?


#2

Hey

You only need the "puts Math::PI" line by itself, since we're trying to access the PI constant of Math without having to be inside the module.

By creating your own module Math, it seems like you're overriding the imported Math module that the editor is trying to access. This might cause some issue with running it, so you would then need to refresh the browser (Ctrl+F5 should work) if the code still doesn't run