# Change this program to output each letter of the text entered on a separate line
# with space in front of each letter, increasing to the right for each letter.
# For example, 'Python' input should output:
# P
# y
# t
# h
# o
# n
text = input('Enter text: ')
for letter in text:
print(letter)
我已經嘗試在網上尋找解決方案,沒有。 此代碼是爲作業,但我無法弄清楚幫助將不勝感激希望有人爲我做我的作業
請閱讀[Python教程](https://docs.python.org/3/tutorial/introduction.html#strings),特別是字符串部分。 – falsetru
此外,告訴人們你希望他們爲你做功課不是一個好方法來獲得你想要的結果 – BrianHVB
所有的最熱鬧的標題SO – techydesigner