Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pattern

num = int(input("Enter the Number: "))

for i in range(1, num+1):
    for j in range(0, num):
        print(i, end="")
    print()

# This code is contributed by Shubhanshu Arya (Prepinsta Placement Cell Student) 
Source by prepinsta.com #
 
PREVIOUS NEXT
Tagged: #pattern
ADD COMMENT
Topic
Name
1+8 =