Print this using for loop | Sololearn: Learn to code for FREE!

+1

Print this using for loop

. * ** *** ** *

9/11/2018 3:06:30 AM

Prince Pritam

1 Answer

New Answer

+4

for i in range(-2,3): print(abs(i)*" "+(3-abs(i))*"*")