| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 4692 人关注过本帖
标题:Python 怎样出矩阵啊,就单位阵
只看楼主 加入收藏
毛毛虫姐姐
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2015-10-25
结帖率:25%
收藏
 问题点数:0 回复次数:0 
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的单位阵
搜索更多相关主题的帖子: following python return future import 
2016-09-25 10:37
快速回复:Python 怎样出矩阵啊,就单位阵
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.024409 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved