Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

triangle pattern in python

n=int(input("n:"))
for i in range(0,n+1):
    for j in range(0,i+1):
        print(j,end="  ")
    print()
Comment

PREVIOUS NEXT
Code Example
Python :: python env variable 
Python :: Python Relative Strength Indicator 
Python :: django httpresponseredirect 
Python :: one hot encoder python 
Python :: absolute value of int python 
Python :: zermelo api 
Python :: check os python 
Python :: python edit text file 
Python :: plt.imshow not showing 
Python :: django clear db 
Python :: github black badge 
Python :: check version numpy 
Python :: openpyxl delete rows 
Python :: plotly not showing in colab 
Python :: Select rows from a DataFrame based on column values? 
Python :: change python 3.5 to 3.6 ubuntu 
Python :: mimetype error django react 
Python :: python code to wait 
Python :: django user group check 
Python :: python check is admin 
Python :: adaptive thresholding with opencv python 
Python :: saving to csv without the index 
Python :: get most recent file in directory python 
Python :: python boxplot legend 
Python :: python get financial data 
Python :: add path python sys 
Python :: convert number to binary python 
Python :: python test if string is int 
Python :: how to move a column to last in pandas 
Python :: discord embed add image 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =