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
1 Antwort
+ 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