csc-python-solutions/16/8 - Fractal Ruler.py
2021-02-17 14:11:12 +01:00

8 lines
99 B
Python

def ruler(n):
if n == 1:
print('-')
else:
ruler(n - 1)
print(n * '-')
ruler(n - 1)