Ruby | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Ruby

Hi class, why Ruby I learned in sololearn course especially about function definition is totally different from Ruby code in sololearn challenge? z <- function(x,y) == def z(x,y):

29th Apr 2023, 10:31 AM
Oliver Pasaribu
2 Answers
+ 2
Pls make the question more clear. Add examples of function definitions in both ways, so we can see the issue.
29th Apr 2023, 1:39 PM
Emerson Prado
Emerson Prado - avatar
+ 2
Don't confuse Ruby with R, the language of statistics... 😎
29th Apr 2023, 6:02 PM
Solo
Solo - avatar