PPA-5
Question
Accept two words as input and print the two words after adding a space between them.
Hint
String concatenation is a good place to start:
The output is:
How do you modify the code so that there is a space between one
and two
? This is something for you to think about.
Solutions
The print
function adds space as a default separator when multiple arguments are passed to it.