摘要:
阅读全文
posted @ 2021-12-12 11:27
罗逸凡
阅读(27)
评论(0)
推荐(0)
摘要:
1numpy的操作。 import numpy # 创建数一维数组组 # numpy.array([元素1,元素2,......元素n]) x = numpy.array(['a', '9', '8', '1']) # 创建二维数组格式 # numpy.array([[元素1,元素2,......元 阅读全文
posted @ 2021-12-12 11:12
罗逸凡
阅读(46)
评论(0)
推荐(0)
摘要:
import pymysqldb = pymysql.connect(host="localhost",user = "root",password = "mmwan0825",database= "NameList")cursor = db.cursor()cursor.execute("SELE 阅读全文
posted @ 2021-12-12 10:11
罗逸凡
阅读(83)
评论(0)
推荐(0)
摘要:
学号2020310143037,罗逸凡 import random def printIntro(): print("这个程序模拟量个选手A和B的某种竞技比赛") print("程序运行需要A和B的能力值(以0到1之间的小数表示)") def getInputs(): a = eval(input( 阅读全文
posted @ 2021-12-12 09:53
罗逸凡
阅读(508)
评论(0)
推荐(0)

浙公网安备 33010602011771号