diff --git a/Horizontal_table_pyramid.py b/Horizontal_table_pyramid.py new file mode 100644 index 00000000..b6839387 --- /dev/null +++ b/Horizontal_table_pyramid.py @@ -0,0 +1,6 @@ +rows = 7 + +for i in range(0, rows): + for j in range(0, i + 1): + print(i * j, end=' ') + print()