Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

number pattern program in python using for loop

multiplier= int(input("insert the number you want to multiply by: "))
sequence_length= int(input("insert the length of the sequence: "))

for i in range(sequence_length):
	print(i*multiplier, end= ", ")
    
print("program finished")
Comment

PREVIOUS NEXT
Code Example
Python :: Python Switch case statement Using classes 
Python :: python global keyword 
Python :: selenium python element id 
Python :: duck typing in python 
Python :: python 3.2 release date 
Python :: python calculator app 
Python :: Get git sha 
Python :: simple plt plot 
Python :: if a or b in python 
Python :: img_sm = pygame.transform.scale(img, (32, 32)) 
Python :: slug 
Python :: How to install proxy pool in scrapy? 
Python :: how to set pywal permenent 
Python :: python enforcing class variables in subclass 
Python :: how to add twoo segmen time series in a single plot 
Python :: how many orders has customer made database python 
Shell :: set git editor to vim 
Shell :: Error: You must install at least one postgresql-client-<version package 
Shell :: remove all docker iamges commandl 
Shell :: mac restart audio driver 
Shell :: Error starting daemon: error while opening volume store metadata database: timeout 
Shell :: maven skip tests 
Shell :: adb shell list packages 
Shell :: firewalld not running centos 7 
Shell :: the repository does not have a release file 
Shell :: nonexistentpath data directory /data/db not found 
Shell :: remove git credentials terminal 
Shell :: how to download gitkraken in ubuntu 
Shell :: nginx control process exited with error code 
Shell :: set java version for ubuntu 20.04 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =