Python program to concatenate two strings. ((MSBTE Pratical Question))

Code:

import numpy as np

str1 = "Welcome"

str2 = " to Python!"

print("Concatenating two string:") 

print(np.char.add(str1, str2)) 

 

Output:

Comments

Popular posts from this blog

State use of pep and pip