How to print a matrix with a certain pattern in python

后端 未结 0 675
生来不讨喜
生来不讨喜 2021-01-04 12:22

How can we create a pattern using Python which will create a square Matrix it will put values of diagonal elements equal to zero change the value of elements above diagonal

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