Where does first blank space come from?

def goodbye(name)
return "Bye " + name + “.”

puts goodbye(“Daniel”) # => “Bye Daniel.”
puts goodbye(“Mark”) # => “Bye Mark.”
puts goodbye(“Beyonce”) # => “Bye Beyonce.”

Even the solution has extra space for “Bye Daniel.”, I am just curious why because there is nothing in the solution or my code to put that extra leading space in, Thanks

There is a space in your function definition. The space is after the world “Bye” and before the ending quotation mark finishes. This could also be done like this:

def goodbye(name)
return “Bye” + " " + name + “.”

Result will be same.

thanks much :smile::roll_eyes: