3rd Jul 2021, 9:40 PM
Adel
Adel - avatar
2 odpowiedzi
+ 1
x = 10 m = x*2+1 print(*(("*"*((x-abs(i))*2+1)).center(m) for i in range(-x,x+1)),sep="\n")
3rd Jul 2021, 10:38 PM
visph
visph - avatar
0
thanks
4th Jul 2021, 4:32 PM
Adel
Adel - avatar