text1 = input("请输入:")
with open('readme.txt', 'w') as f:
f.write(text1)
with open('readme.txt', 'r') as f:
content = f.read()
print("文件内容为:",content)
text = content.lower()
print("转换后内容为:",text)
with open('readme.txt', 'w') as f:
f.write(text)