How can two strings be concatenated?
For strings:
str1 = input("Please Enter the First String : ")
str2 = input("Please Enter the Second String : ")
concat1 = str1 + str2
print("The Final String After Python String Concatenation = ", concat1)
concat2 = str1 + ' ' + str2
print("The Final After String Concatenation with Space = ", concat2)
Comments
0 comments
Article is closed for comments.