TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
H Style In Python
Sr Karthiga
Aug 01
2016
Code
684
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
hstyle.zip
str="";
for
Row
in
range(
0
,
5
):
for
Col
in
range(
0
,
5
):
if
((Col ==
1
or
Col ==
4
)
or
(Row ==
2
and
Col >
1
and
Col <
4
)):
str=str+
"*"
else
:
str=str+
" "
str=str+
"\n"
print
(str);
H Style
Python