Sankranti/Pongal Offer | 80% + 10% Off & 30-days Extra Lab | Use Coupon Code MSD on Checkout |

  Enroll Now

Python - Videos and Questions

22 / 80

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"


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.