Python program to merge variables using + operator

A Python program to merge variables using + operator. In this program we can print the merge variables using addition operator. In Python, operators are special symbols that perform arithmetic or logical computations. The operand is the value on which the operator operates. The operator + is used to execute addition in this case. The operands are 2 and 3, and the outcome of the operation is 5.

x = "to inlarn"
print("welcome " + x)

 

Output:

welcome to inlarn