You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
eslopfer 47b1f92881 docs(concat_string): specify right output 2 years ago
..
README.md docs(concat_string): specify right output 2 years ago

README.md

concat_string

Instructions

Create a file concat_string.py that contains a function concat which takes in two strings as parameters and performs the following operations:

  • Concatenates the two strings by adding a comma and space between them.
  • Returns the resulting string.

Usage

Here is an example of how to use the concat function:

import concat_string
string1 = "Hello"
string2 = "World"
print(concat_string.concat(string1, string2))

This will output:

$ python3 test.py
Hello World
$

References

string concatenation