為了什麽?w?在?word[:-1]:
打印(w,?end= '?')
Print(word[-1])如果妳說的輸出是return,那就改成。
def?答():
詞?=?輸入(“輸入?妳的?單詞:“)
b?=?''
為了什麽?我?在?單詞:
b?+=?我?+?'?'
b?=?b[:-1]
回歸?b