+ 1

Is it easy to learn ruby if you know how to code in python?

looks to me as it's almost the same. ruby code-- puts "hello world" py code 2.x -- print "hello world" and py code 3.x -- print("hello world")

28th Mar 2017, 7:06 AM
mawkuri
mawkuri - avatar
3 Answers
+ 10
The syntax is more or less the same so I think it might be easy
28th Mar 2017, 7:14 AM
Chirag Bhansali
Chirag Bhansali - avatar
+ 7
In terms of basic coding they are the same, howrver if you become pro at both you'll notice they have big differences. Ruby: x = 10 if x < 20 puts "true" end Python: x = 10 if x < 20: print("true")
29th Mar 2017, 4:39 AM
MrCoder
MrCoder - avatar
+ 4
I learned python before ruby, and yes, it is very easy.
29th Mar 2017, 5:17 AM
Supersebi3
Supersebi3 - avatar