Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

* pattern by python


v = 1
lines = 4
for i in range(lines):
    for j in range(i):
        print(v, end=' ')
        v += 1
    print( )

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #pattern #python
ADD COMMENT
Topic
Name
1+5 =