If i text anything between begin and end it should display or not | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If i text anything between begin and end it should display or not

comment

22nd Mar 2017, 4:58 PM
ragul
ragul - avatar
6 Answers
+ 12
You have to use 'puts' to output something.
22nd Mar 2017, 5:04 PM
Tashi N
Tashi N - avatar
+ 12
Example of the SoloLearn course: =begin This comment spans multiple lines =end puts "Hello"
22nd Mar 2017, 5:07 PM
Tashi N
Tashi N - avatar
+ 12
Try to finish the course first.
22nd Mar 2017, 5:08 PM
Tashi N
Tashi N - avatar
+ 3
no
22nd Mar 2017, 5:02 PM
Meharban Singh
Meharban Singh - avatar
+ 2
thanks Tashi.could u tell me the function of begin and end comments
22nd Mar 2017, 5:05 PM
ragul
ragul - avatar
+ 2
thnx
22nd Mar 2017, 5:08 PM
ragul
ragul - avatar