In [ ]:
# !/usr/bin/env python

print("        Welcome to the Dictionary Writer")
print('Here you will enter a Term and Definition')
print ("And it will be saved to be Problely Formatted")
print('      Text File for later Study')
def exitRoutine():
    print("do you want to enter another?")
    exitAnswer = input("Y or N ==>")
    if exitAnswer == "Y" or exitAnswer == "y":
        termAdd()
    elif exitAnswer == "N" or exitAnswer == "n":
        print("have a nice day!!!:)")
    else:
        exitRoutine()
   

   
   
def termAdd():
    ################VARIABLES################    
    dictionaryfile = open("My_Dictonary.txt","+a")
    newline = "     "
    myspace = "  -  "
   
    ###############INPUT SECTION##################
    myterm = input("What is the Item that u are Defining. ")
    mydefienation = input("What is the Definition of the Term. ")
    Finalterm = myterm + myspace+ mydefienation+ newline
    dictionaryfile.write(Finalterm)
    dictionaryfile.close()
    exitRoutine()
   
   
termAdd()
        Welcome to the Dictionary Writer
Here you will enter a Term and Definition
And it will be saved to be Problely Formatted
      Text File for later Study
What is the Item that u are Defining. food
What is the Definition of the Term. stuff
do you want to enter another?
In [ ]: