1

I'm in my first coding class and still getting the hang of it.

I need to write a code that will print a line of '+' a certain amount of times in the same line but also new lines at the same time depending on the number entered.

So far I only have the code to print '+' once each time in a new line:

def draw_a_line_of_plus(length):

 for i in range (length):
    print ('+', end='')
sj13
  • 11
  • 3

0 Answers0