8. Write a program to print the following pattern(user defined):
#
# @ #
#@#@#
Answers
Answered by
0
Explanation:
for i in range(3):
for j in range(0,i+1):
if j%2==0:
print("#",end=" ")
else:
print("@",end=" ")
print()
mark me as brainly:
follow me
Answered by
0
for i in range(3):
for j in range(0,i+1):
if j%2==0:
print("#",end=" ")
else:
print("@",end=" ")
print()
mark me as brainly:
follow me
Similar questions