用Python编写程序,要求执行时从键盘输入多种水果名称(用空格分隔),分行输出

编写程序,要求执行时从键盘输入多种水果名称(用空格分隔),分行输出

for i in input().split():
    print(i)