By Arun Kumar
In Python, strings are immutable, which means you cannot modify an existing string. To append to a string, you need to create a new string that contains the original string concatenated with the additional string.
Here are two ways to achieve this:
1. Using the + operator:
Output:
2. Using the ‘join()’ method:
Output: