Example - joining two names
Input
join_names('Ada', 'Lovelace')
Output
Ada Lovelace
Join 'Ada' and 'Lovelace' with a space between them.
Full lesson preview
Learn how to join strings by concatenation and return the combined result.
Problem statement
Task
Examples
Input
join_names('Ada', 'Lovelace')
Output
Ada Lovelace
Join 'Ada' and 'Lovelace' with a space between them.
Input format
Output format
Constraints
Samples
Input
join_names('John', 'Doe')
Output
John Doe
Returns the two names joined by one space.