Skip to content

Instantly share code, notes, and snippets.

@chug2k
Created October 7, 2013 05:16
Show Gist options
  • Save chug2k/6862864 to your computer and use it in GitHub Desktop.
Save chug2k/6862864 to your computer and use it in GitHub Desktop.
def almost_done(a, b, c)
puts "#{a} is almost done with #{b}, #{c}, and #{d}!"
end
d = "this section of quizzes!"
almost_done("breakfast", "lunch", "dinner")
@zaidi11c
Copy link

zaidi11c commented Oct 9, 2013

def almost_done(a, b, c)
puts "#{a} is almost done with #{b}, #{c}" #, and #{d}!"
end

d = "this section of quizzes!"

almost_done("breakfast", "lunch", "dinner")

@chug2k
Copy link
Author

chug2k commented Oct 9, 2013

@zaidi11c I should have been more explicit in this problem statement. Your code has no errors, but doesn't do what I want. The output I would like to see is the following slightly non-sensical sentence:

breakfast is almost done with lunch, dinner, and this section of quizzes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment