Skip to content

Commit ef50492

Browse files
authored
Update main.py
完成了
1 parent 1853b8c commit ef50492

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
print(t)
3333
elif cmd[1]=='-w' or cmd[1]=='--write':
3434
w.write(cmd[2])
35-
elif cmd[1]=='-p' or cmd[1]=='--point':
36-
35+
elif cmd[0]='quit':
36+
if input('Enter y to quit')=='y':
37+
break;

0 commit comments

Comments
 (0)