Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

In Ruby, What is the difference between "print" command and ""puts" ?

user-image
Question added by هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)
Date Posted: 2016/03/13
Yusuf Daniju
by Yusuf Daniju , Software Engineering Consultant , Growphile Limited

"puts" prints and add a new line while "print" prints without adding a new line.

More Questions Like This