#22898: Python - 一行解法


tis7bfrankie@gmail.com (Frankie Zhao Xuan Ao)


input() = 會回傳使用者輸入的文字

print() = 可以顯示文字串

當print使用多個參數時,會依照順序顯示每個參數,中間會用空格間隔。

例如 print("hello","hi",1,2) 會顯示 "hello hi 1 2"

因此此題:

 

print("hello," , input())