To concatenate two strings, by taking the input from user | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
0
print (s+d)
25th Jun 2017, 1:29 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar