+ 1
If statement confusion (ruby)
I have some confusion about a question in ruby challenges. It asks, if the 'end' keyword required to indicate the end of a if statement. And the answer is marked true. https://ibb.co/jh9khF But in ruby, you can write single line if statements which doesn't require an explicit end keyword, eg: print "Hello World" if true So, please change the question from 'if statement' to 'if block', or change the answer to false. Thanks.
4 ответов
+ 6
info@sololearn.com
+ 2
grr i have some suggestions in html also
+ 1
no answers 😳
is there any other way to submit bug report?
+ 1
thank you.