solutions

Concatenate Strings

Write a function concatenate_strings that receives two strings and returns a new one containing both strings concatenated. Example:

concatenate_strings('Hello', 'World')  # HelloWorld
concatenate_strings('Hello', '')  # Hello

Test Cases

test with multiple strings - Run Test

def test_with_multiple_strings():
    assert concatenate_strings('abc', 'def') == 'abcdef'

test with empty string - Run Test

def test_with_multiple_strings():
    assert concatenate_strings('abc', 'def') == 'abcdef'