The print statement is used to print values in console.
The combination between text and variable to print at a time we use +.
x = "awesome" print("Python is " + x)
The output is:
Python is awesome
You can also use + character to add two integers like,
x = 5 y = 6 z = x + y print("Addition is "+ z)
The output is,
Addition is 11
The above code type is same but if type is different then it generates error, like
x = "awesome" y = 5 print(x + 5)