Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

floyd triangle python

rows = int(input())
number = 1

i = 1
while(i <= rows):
    j = 1
    while(j <= i):        
        print(number, end = '  ')
        number = number + 1
        j = j + 1
    i = i + 1
    print()
Comment

PREVIOUS NEXT
Code Example
Python :: string pattern matching pandas 
Python :: Import "dj_database_url" could not be resolved Pylance 
Python :: exoort csv google colab 
Python :: add a title to pandas dataframe 
Python :: reverse shell python 
Python :: change text color docx-python 
Python :: corona 
Python :: How to find the three largest values of an array efficiently, in Python? 
Python :: set python3.7 as default ubuntu 
Python :: registering static files in jango 
Python :: python loop certain number of times 
Python :: download image python 
Python :: pyhton turtle delete 
Python :: python get object attribute by string 
Python :: Make A Snake Game Using Python and Pygame 
Python :: python continue vs pass 
Python :: skip rows in pandas read excel 
Python :: pycharm remove not in use imports 
Python :: bar plot fix lenthgy labels matplot 
Python :: python datetime last day of month 
Python :: python list subdirectories 
Python :: Get Key From value in dictionary 
Python :: print random word python 
Python :: sklearn rmse 
Python :: remove duplicate rows in csv file python 
Python :: shift axis in python 
Python :: delete index in elasticsearch python 
Python :: creata daframe python 
Python :: Violin Plots, Python 
Python :: write file with python 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =