DevLeti

If you enter 'exit', the program will exit

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