Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

1 12 123 python

# 1-12-123-1234 Pattern up to n lines

n = int(input("Enter number of rows: "))

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

1 12 123 python


print(j, end='')

Comment

PREVIOUS NEXT
Code Example
Python :: request login python 
Python :: set index values pandas 
Python :: python get object parameters 
Python :: Pillow opencv convert RGB to BRG or RGB to BRG 
Python :: autokeras import colab 
Python :: colorbar with hist2d 
Python :: python 3d list 
Python :: python list insert vs append 
Python :: python change version 
Python :: how to check system has internet using python 
Python :: Connect to MySQL Using Connector Python C Extension 
Python :: how to access app.config globally in flask app 
Python :: python array linspace 
Python :: how to get max value and min values in entire dataframe 
Python :: hide grid imshow 
Python :: get last save id django model 
Python :: how to get last element of list in python 
Python :: dependency inversion 
Python :: confusion matrix code 
Python :: python manually trigger exception 
Python :: python export 16 bit tiff 
Python :: map in python 
Python :: how to sort subset of rows in pandas df 
Python :: python wifi moudel [WinError 2] The system cannot find the file specified 
Python :: Print characters from a string that are present at an even index number 
Python :: decision tree algorithm 
Python :: how to allow a range of numbers for example 1 to 14 on regular expression python 
Python :: mathtext to regular python 
Python :: python take input without displaying it 
Python :: python inspect.getsource 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =