exit.py 141 Bytes
a=input("If you enter ‘exit’, the program will exit")

while(a!="exit"):
    a = input("If you enter ‘exit’, the program will exit")