Python 怎样出矩阵啊,就单位阵
Python 怎样出矩阵啊,就单位阵# coding: utf-8
# If you use python 2, uncomment the following line.
from __future__ import print_function
import numpy as np
import matplotlib.pyplot as plt
def warm_up_exercise():
"""热身练习"""
A = None
# ====================== 你的代码 ==========================
# 在下面加入你的代码,使程序返回一个 5x5 的单位矩阵
# =========================================================
return A
就像这个,5*5的单位阵