박선하

Add exit function

Showing 1 changed file with 8 additions and 3 deletions
print("*Input text*"+'\n')
import sys
text = input()
print(text)
print("*Input text or 'exit'*"+'\n')
while True:
text = input()
if(text == "exit"):
sys.exit()
print(text+'\n')
\ No newline at end of file
......