How to make a function in python that process a text file tocount the number of newline characters in it, and then converts thetext file data to a string that doesn’t contain any newlinecharacter, and returns it to the main function. The main functionalso opens the textfile and sends it to the function.
Expert Answer
An answer will be send to you shortly. . . . .