String Concatenation
The + operator joins two strings together, which is called concatenation.
Example
Prompt
Demonstrate Python string concatenation.
Output: complete Python program
main.py
a = "Hello"
b = "World"
c = a + b
print(c)
Example
Prompt
Demonstrate Python string concatenation.
Output: complete Python program
main.py
a = "Hello"
b = "World"
c = a + " " + b
print(c)