python inputを使った文字列の入力
prefix = "Hello "
n1 = input("Enter your name ")
n2 = input("Enter your another name ")
res = prefix + n1 + " and " + n2
print(res)
Output
>>
Enter your name mike
Enter your another name tarou
Hello mike and tarou
python inputを使った文字列の入力
Output
>>
Enter your name mike
Enter your another name tarou
Hello mike and tarou