Quotes help make search much faster. Example: "Practice Makes Perfect"
Monday, December 17, 2012
LearnStreet Sample Solution to Lesson 6 Exercise 9
def name_length(first_name, last_name) #your code here
fnlength = first_name.length
lnlength = last_name.length
"#{first_name}'s first name has #{fnlength} letters and last name has #{lnlength} letters"
end
No comments:
Post a Comment