Python snippet for dash_line in Lab_1 could be simpler

I believe the code for making a dashed line can be simplified and more Pythonic. Currently, it’s this:

dash_line = '-'.join('' for x in range(100))

But the same thing can be accomplished with:

dash_line = "-" * 100

Thanks for your recommendation.