/ Published in: Ruby
Expand |
Embed | Plain Text
def my_function( a ) puts "Hello, #{a}" return a.length end len = my_function( "Giraffe" ) puts "My secret word is #{len} long"
You need to login to post a comment.
