how to add text to a string python code example Example: how to add text to a string python word = "hello" name = "John" sentence = word += name