DevLeti

If you enter 'exit', the program will exit

Showing 1 changed file with 5 additions and 2 deletions
1 while(True): 1 while(True):
2 - i = input("") 2 + i = input("If you enter 'exit', the program will exit:")
3 - print(i) 3 + if(i == "exit"):
4 + break
5 + else:
6 + print(i)
......