Introduction to Python

22 / 79
   

Python - String Concatenation

In Python we can use several string operations like concatenations. Two strings can be simply concatenated using the "+" operator. For eg. to concatenate the strings "football" and "basketball" and assign it to a new variable games run games = "football" + "basketball"

Instructions

Assign a value of "Cloudx" to a variable called first and a value of "Lab" to a variable called second.

Using String Operations concatenate the values of the variable first and second and store the result in variable called final.