#!/usr/bin/python3 str1 = input("请输入:")
print("你输入的是:",str1) f=open("abc.txt","a")
f.write("python study is good\n我正在学习中\n")
f.close() fr=open("abc.txt","r")
str2=fr.readline()
#str2=fr.readlines()
print("abc.txt:")
print(str2)
fr.close()
#!/usr/bin/python3 str1 = input("请输入:")
print("你输入的是:",str1) f=open("abc.txt","a")
f.write("python study is good\n我正在学习中\n")
f.close() fr=open("abc.txt","r")
str2=fr.readline()
#str2=fr.readlines()
print("abc.txt:")
print(str2)
fr.close()