N = int(eval(input()))
for row in range(1,N+1):
	if row%2 != 0:
		a = '*'*row
		print ('{}'.format(a.center(N,' ')))
	row += 2
	

  

星号三角形 I

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
相关资源
相似解决方案