Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

star pattern in python

row = int(input("Enter number of row = "))
for r in range(row):
    for s in range(row-r-1):
        print(end=" ")
    for str in range(r+1):
        print("*", end=" ")
    print()
Comment

PREVIOUS NEXT
Code Example
Python :: merge two dataframes with common columns 
Python :: python empty text file 
Python :: how to change role permissions in discord.py 
Python :: create python file kali linux 
Python :: how to use variables in string in python 
Python :: python smtp email 
Python :: read live video from usb opencv python 
Python :: merge dataframe 
Python :: last history of whatsapp message with python 
Python :: generics python 
Python :: matplotlib plot 2d point 
Python :: how to get location using python 
Python :: display youtube video in jupyter notebook 
Python :: numpy generate random 2d array 
Python :: python list abstraction 
Python :: google smtp 
Python :: python filter list of strings 
Python :: post request in python flaks 
Python :: python string to array 
Python :: tuple slicing in python 
Python :: colored text in py 
Python :: what is join use for in python 
Python :: python import worldcloud 
Python :: python 64 bit 
Python :: how to get only certain columns in pandas 
Python :: pandas sort 
Python :: scroll horizontal excel 
Python :: get list file endswith python 
Python :: python rgb colors 
Python :: fill null values with zero python 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =