a = input('Please enter a string:')
b = input('Please enter a string:')
c = input('Please enter a string:')
d = input('Please enter a string:')
e = input('Please enter a string:')
f = a + b + c + d + e
print(f)
本关任务:编写程序,从键盘输入5个字符串,将它们连接成一个字符串后输出。
Please enter a string:1
Please enter a string:2
Please enter a string:abc
Please enter a string:3
Please enter a string:xyz