1.

Write note on Append Operator?

Answer»

Append (+ =)

Adding more strings at the end of an existing string is known as append. The operator + = is used to append a new string with an existing string. 

Example:

>>> str1= ’Welcome to ”

>>> str1+= ”Leam Python”

>>> print (str1)

Welcome to Learn Python



Discussion

No Comment Found