diff --git a/16/8 - Fractal Ruler.py b/16/8 - Fractal Ruler.py new file mode 100644 index 0000000..c95fcf7 --- /dev/null +++ b/16/8 - Fractal Ruler.py @@ -0,0 +1,7 @@ +def ruler(n): + if n == 1: + print('-') + else: + ruler(n - 1) + print(n * '-') + ruler(n - 1)