擅长:python、mysql、java
<p><code>s.lower()</code>应该分配给<code>s</code>,否则原始字符串将保持不变。你知道吗</p>
<p>我重写了一个工作代码。希望它能帮助您:</p>
<pre><code>s = str(input("Text: "))
s = s.lower()
t =""
for char in s:
if char not in "aoyeui":
t+=char
t = t.split('.')
for i in t:
print(i)
</code></pre>