M2) Concatenating Words
In Figure 1, we have several versions of a Python function that concatenates two words passed as arguments and returns the concatenated result.
concatenate (Question 1).
Choose the correct version of the function concatenate that concatenates two words passed as arguments and returns the concatenated result:
TipOperator
+ in Python
The + operator concatenates strings in Python. For example, if word1 is "data" and word2 is "base", the expression word1 + word2 produces "database".