Like Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Like Python

but without the ':'

15th Dec 2016, 7:54 PM
Ioanna Zapalidi
4 Answers
+ 1
puts "hello" if ok puts "hello" if a==a
1st Jan 2017, 2:07 PM
George Moura
George Moura - avatar
0
I'm sorry , The question is not clear . It would be better if u repost it with relevant code
15th Dec 2016, 8:00 PM
Mock
Mock - avatar
0
i just thought that the lack of parentheses is like python but python has ":" and no "end" on its if/else elements
15th Dec 2016, 8:08 PM
Ioanna Zapalidi
0
in Python ':' this indicate as flower bracket {} like in C,c++ .
15th Dec 2016, 8:10 PM
Mock
Mock - avatar