Create patternprint
diff --git a/patternprint b/patternprint
new file mode 100644
index 0000000000..82874cefee
--- /dev/null
+++ b/patternprint
@@ -0,0 +1,6 @@
+rows = 6
+for num in range(rows):
+    for i in range(num):
+        print(num, end=" ")  # print number
+    # line after each row to display pattern correctly
+    print(" ")

this program is used to print pattern