Write a function which lets the user enter English words. Theuser can keep entering English words as long as the user has notentered the word “exitâ€. Once the user enters “exit†the functionwill return and print the list of all distinct words starts withEnglish alphabets. Like: A: Ali, apple, … B: Bob, book … until Z.Write a python program for this question. Use main function.