how do i connect 2 strings in python code example
Example 1: how to concat strings in python
a = "Hello"
b = "World"
c = a + " " + b
print(c)
Example 2: combine two strings python
>>> 'a' + 'b' + 'c'
'abc'
a = "Hello"
b = "World"
c = a + " " + b
print(c)
>>> 'a' + 'b' + 'c'
'abc'