Define a function that can accept two strings as input and concatenate them and then print it in the console.
Hints:
Use + to concatenate the strings
Solution:
def printValue(s1,s2):
print s1+s2
printValue("3","4") #34
Define a function that can accept two strings as input and concatenate them and then print it in the console In Python
Reviewed by Shashank Agrahari
on
January 07, 2019
Rating: 5