Solution Exercise 27: python algorithm which determines the list of words starting with a capital letter
Exercise 27 Write a Python algorithm that determines the list of words starting with a capital letter in a given text T. Solution def beginMaj (T): # initialization of the…