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 example 86
n
=
5
# size=5
px
=
1
py
=
n
*
2
-
1
for
x
in
range
(
1
,
n
+
1
):
for
y
in
range
(
1
,
n
*
2
+
1
):
if
(
y
==
px
or
y
==
py
):
print
(
"*"
,
end
=
""
)
else
:
print
(
" "
,
end
=
""
)
px
+=
1
py
-=
1
print
()
Output:
Python Pattern Programs - Pattern1
Python Pattern Programs - Pattern2
Python Pattern Programs - Pattern3
Python Pattern Programs - Pattern4
Python Pattern Programs - Pattern5
Python Pattern Programs - Pattern6
Python Pattern Programs - Pattern7
Python Pattern Programs - Pattern8
Python Pattern Programs - Pattern9
Python Pattern Programs - Pattern10
Python Pattern Programs - Pattern11
Python Pattern Programs - Pattern12
Python Pattern Programs - Pattern13
Python Pattern Programs - Pattern14
Python Pattern Programs - Pattern15
Python Pattern Programs - Pattern16
Python Pattern Programs - Pattern17
Python Pattern Programs - Pattern18
Python Pattern Programs - Pattern19
Python Pattern Programs - Pattern20
Python Pattern Programs - Pattern21
Python Pattern Programs - Pattern22
Python Pattern Programs - Pattern23
Python Pattern Programs - Pattern24
Python Pattern Programs - Pattern25
Python Pattern Programs - Pattern26
Python Pattern Programs - Pattern27
Python Pattern Programs - Pattern28
Python Pattern Programs - Pattern29
Python Pattern Programs - Pattern30
Python Pattern Programs - Pattern31
Python Pattern Programs - Pattern32
Python Pattern Programs - Pattern33
Python Pattern Programs - Pattern34
Python Pattern Programs - Pattern35
Python Pattern Programs - Pattern36
Python Pattern Programs - Pattern37
Python Pattern Programs - Pattern38
Python Pattern Programs - Pattern39
Python Pattern Programs - Pattern40
Python Pattern Programs - Pattern41
Python Pattern Programs - Pattern42
Python Pattern Programs - Pattern43
Python Pattern Programs - Pattern44
Python Pattern Programs - Pattern45
Python Pattern Programs - Pattern46
Python Pattern Programs - Pattern47
Python Pattern Programs - Pattern48
Python Pattern Programs - Pattern49
Python Pattern Programs - Pattern50
Python Pattern Programs - Pattern51
Python Pattern Programs - Pattern52
Python Pattern Programs - Pattern52
Python Pattern Programs - Pattern53
Python Pattern Programs - Pattern54
Python Pattern Programs - Pattern55
Python Pattern Programs - Pattern56
Python Pattern Programs - Pattern57
Python Pattern Programs - Pattern58
Python Pattern Programs - Pattern59
Python Pattern Programs - Pattern60
Python Pattern Programs - Pattern61
Python Pattern Programs - Pattern62
Python Pattern Programs - Pattern63
Python Pattern Programs - Pattern64
Python Pattern Programs - Pattern65
Python Pattern Programs - Pattern66
Python Pattern Programs - Pattern67
Python Pattern Programs - Pattern68
Python Pattern Programs - Pattern69
Python Pattern Programs - Pattern70
Python Pattern Programs - Pattern71
Python Pattern Programs - Pattern72
Python Pattern Programs - Pattern73
Python Pattern Programs - Pattern74
Python Pattern Programs - Pattern75
Python Pattern Programs - Pattern76
Python Pattern Programs - Pattern77
Python Pattern Programs - Pattern78
Python Pattern Programs - Pattern79
Python Pattern Programs - Pattern80
Python Pattern Programs - Pattern81
Python Pattern Programs - Pattern82
Python Pattern Programs - Pattern83
Python Pattern Programs - Pattern84
Python Pattern Programs - Pattern85
Python Pattern Programs - Pattern86
Python Pattern Programs - Pattern87
Python Pattern Programs - Pattern88
Python Pattern Programs - Pattern89
Python Pattern Programs - Pattern90
Python Pattern Programs - Pattern91
Python Pattern Programs - Pattern92
Python Pattern Programs - Pattern93
Python Pattern Programs - Pattern94
Python Pattern Programs - Pattern95
Python Pattern Programs - Pattern96
Python Pattern Programs - Pattern97
Python Pattern Programs - Pattern98
Python Pattern Programs - Pattern99
Python Pattern Programs - Pattern100
Subscribe For Daily Updates
Subscribe
100+ Python Pattern Examples