0

In confused

This Ruby code is not working and i don't know why Shouldn't nothing show? https://code.sololearn.com/ceZ4BtIo3Q0L/?ref=app

25th Apr 2020, 10:05 PM
Doodling Dominic
Doodling Dominic - avatar
1 Answer
+ 2
Bungee Squid generally speaking we usually use puts verses print however ruby syntex allows for both... here are some examples: Ruby program that uses print # Print statements on the same line. print "dog" print " is cute" print "\n" # Print entire-line statements. print "There are " << String(4) << " apples.\n" print "I ate a lemon.\n" # Print a multiline statement. print "***\nYou are a winner!\n***\n" https://www.dotnetperls.com/console-ruby
25th Apr 2020, 10:25 PM
BroFar
BroFar - avatar