diff --git a/func.py b/func.py index 7194366..3f64608 100644 --- a/func.py +++ b/func.py @@ -1,3 +1,3 @@ with open(r"C:\Users\win10\Desktop\1.txt",'a',encoding='utf-8')as f: - f.write('小伟:10本') + f.write('\n小伟:10本\n')