Assignment4A: Pascal Case Conversion Write a Python program that converts a given text into Pascal Case by implementing two functions: format_word(word) - This function should take a single word as input, capitalize its first letter, and convert the rest of the letters to lowercase. Finally this function will return the converted/formatted word. convert to_pascal_case(text) - This function should iterate through the entire string. When it encounters a space character, it should treat the collected word as complete and call another function to convert that word to Pascal Case. Once the full string is processed, it should return the final Pascal Case string. Requirements: Write main function to take user input as text and in this main function you will be just calling another function i.e. convert to pascal and will display the returned cases in main function. The program should handle multiple spaces between words. o The final output should not contain any space. You are not allowed to use arrays/lists: You can use stricapitalize() to convert first letter to capital. Example runs are shown betow. The user input is shown in red. Sample Output:#1; Enter a string: this is pascal case Pascal Case: ThisIsPascalCase Sample Outbut.#2: Enter a string: convert this to pascal case Pascal Case: ConvertThisToPascalCase Sample Output#3: Enter a string: first letter of each word is captital Pascal Case: FirstletterofeachwordIsCaptital Sample Output#4: Enter a string: fiRSI lelter Of Each WORU IS CAFIIAL Pascal Case: Finstletterofeachwordlscapital