Concatenating Strings in Python


Combine strings using the + operator.

Source Code

first_name = "John"
last_name = "Doe"
full_name = first_name + " " + last_name
print(full_name)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments