hw to print pattern
/****
*/***
**/**
***/*
****/
Answers
Answered by
1
Answer:
for i in range(5):
for j in range (5):
if i==j: print ("/",end="")
else: print ("*",end="")
print ()
Explanation:
I hope that helps you.
This is in python but I can also do this in Java if you want. Just comment that below.
Thank you
Similar questions
Math,
5 months ago
English,
5 months ago
Math,
5 months ago
Math,
11 months ago
Environmental Sciences,
11 months ago
Political Science,
1 year ago
English,
1 year ago