Assignment 2 - Dashed Lines

Assignment 2 - Dashed Lines

by Michael Cheng -
Number of replies: 1

Hello!

I was wondering if the dashed lines required in the output can be hard coded into our script [i.e. something like print("-------")] or if they should be naturally outputted by another function.

Any guidance would be greatly appreciated. Thank you!

In reply to Michael Cheng

Re: Assignment 2 - Dashed Lines

by Erik Spence -
It may be hard-coded. You may also use the 'strrep' function.