b969. hello, everyone
Tags :
Accepted rate : 1966人/2119人 ( 93% ) [非即時]
評分方式:
Strictly

最近更新 : 2019-04-25 16:58

Content

給你一串人名,請你一一向他們問好。

Input

輸入只有二行。第一行含有要問候的人名,人名之間以空白隔開,人名中不含空白。第二行含有問候語。

Output

對於每一個所提供的人名,請輸出 問候語 + ", " + 人名 於一行。請參考範例輸出。

Sample Input #1
john mary jacob david
hello
Sample Output #1
hello, john
hello, mary
hello, jacob
hello, david
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (25%): 1.0s , <1K
公開 測資點#1 (25%): 1.0s , <1K
公開 測資點#2 (25%): 1.0s , <1K
公開 測資點#3 (25%): 1.0s , <1K
Hint :
Tags:
出處:
板橋高中python教學題 [管理者: snail(蝸牛) ]


ID User Problem Subject Hit Post Date
32911 yp11151109@y...(702-30孫兆威) b969
117 2022-11-16 17:40
32227 yuxuan0912(李毓萱Laura) b969
python ans
262 2022-09-23 16:25
28563 11030067@mai...(和平110級鄧雨珊) b969
CPP
874 2021-12-17 14:13
26216 tonysu1204@g...(東毅中) b969
java Scanner達人
495 2021-07-24 15:49
26125 s0975247623@...(愛吃又愛睡的Weber) b969
C++好用函數
985 2021-07-17 21:48