Home
Flutter
Python
Android
ReactNative
C Tutorial
Q & A
Quiz
Forum
Kotlin
Java
Ruby
Source Code
Dart
Widget Catlog
Write For Us
DevOps
Vocabulary
Tutorials
Git
Jobs
XApk
DevOps
Blog
Sitemap
SubScribe
Python program to print * Pattern 40
Python Code
Copy Code
inc
=
1
for
x
in
range
(
5
,
0
, -
1
):
for
y
in
range
(
x
,
0
, -
1
):
print
(
" "
,
end
=
""
)
for
z
in
range
(
inc
,
0
, -
1
):
print
(
z
,
end
=
""
)
inc
+=
2
;
print
()
Output:
Run Python Online