string.concat python code example Example: how to concat strings in python a = "Hello" b = "World" c = a + " " + b print(c)