output write(str( )convert to textstr( output write('\ 'explicit end-of-line text formatting (later in the courseprovides more elegant solution we do this simply by calling the str(function which converts (almostanything directly into text we also need to explicitly add on the new line character to indicate the end of the line with the data on it later in this course we will see system python has for generating formatted text this will provide more elegant solution butuntil thenwe will make do with str(and \