To concatenate two strings, by taking the input from user | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

To concatenate two strings, by taking the input from user

If I want to take input from user and then concatenate it,how can it be done? is it correct s=input( "Enter your name: ") d=input ("Enter your surname: ") print (" s"+"d")

25th Jun 2017, 1:25 PM
Rishav Bhatt
Rishav Bhatt - avatar
1 Answer
0
print (s+d)
25th Jun 2017, 1:29 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar