num = int(input("Enter a number: ")) repeat = num while repeat > 0 : print("+ " * num) repeat = repeat - 1