#43726: PYTHON解 簡單解


suyueh (suyueh)

學校 : 不指定學校
編號 : 272111
來源 : [101.12.162.212]
最後登入時間 :
2024-11-10 22:20:41
b969. hello, everyone -- 板橋高中python教學題 | From: [101.10.44.86] | 發表日期 : 2024-10-24 22:22

# Input: First line is a list of names, second line is a greeting names = input().split() greeting = input() # Output: Greeting followed by each name for name in names: print(f"{greeting}, {name}")

 
ZeroJudge Forum