DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
for loop pattern in python stack overflow
v = 1 lines = 4 for i in range(lines): for j in range(i): print(v, end=' ') v += 1 print( )
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#loop
#pattern
#python
#stack
#overflow
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit