DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+2 =
Submit