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 Resposta
0
print (s+d)
25th Jun 2017, 1:29 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar