I'm looking to print a dash "-"
until the end of the user's screen.
Basically my program would print a line of text and then a line of dashes beneath it and then another line of text. This would be done so that the user can easily distinguish between the first and second line.
Something like this:
First line of text
--------------------------------------------------------------------------------------
Second line of text
Is there a way for me to do this using the standard python 2.6 libraries. I cannot use any additional libraries such as texttable
or a newer version of Python.