8 lines
99 B
Python
8 lines
99 B
Python
def ruler(n):
|
|
if n == 1:
|
|
print('-')
|
|
else:
|
|
ruler(n - 1)
|
|
print(n * '-')
|
|
ruler(n - 1)
|