Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python

1
2
3
4
def pyfunc(r):
    for x in range(r):
        print(' '*(r-x-1)+'*'*(2*x+1))    
pyfunc(9)
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
8+9 =