Commit 5b5c230c by BellCodeEditor

save project

parent 029060b1
Showing with 4 additions and 7 deletions
# 下面的这段代码一共有5处错误,每一行都有一种典型的语法错误,请修改~ file1=open(r'C:\Users\8460p\Desktop\a.txt','w',encoding='utf-8')
for i in range(1,8): file1.write("小兰:12本\n")
print('克洛诺斯将第' + str(i) + '个孩子吞进肚子里') file1.close()
if i == 5: \ No newline at end of file
break
print('第6个孩子宙斯逃过一劫。')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment