How do I write number pyramid in python without using range function?

后端 未结 0 340
半阙折子戏
半阙折子戏 2021-01-01 14:15

I have to write a code in python to show the following output:
1
1 2 1
1 2 3 2 1
1 2 1
1
in a rhombus shape. But I can\'t use ran

相关标签:
回答
  • 消灭零回复
提交回复
热议问题