Q. Program to print the following pattern:
#######
# #
# #
# #
# #
# #
#######
Answer =
for i in range (7) : for j in range (7) : if i == 0 or i == 6: print ("#", end = "") elif j == 0 or j == 6 : print ("#", end = "") else : print (" ", end = "") print ()
can u plz share the explanation of this code ?? it is really confusing one
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )