随笔分类 -  作业

摘要:import numpy as npimport scipy.specialimport pylabimport matplotlib.pyplot as plt#%%class NeuralNetwork(): # 初始化神经网络 def __init__(self, inputnodes, hi 阅读全文
posted @ 2022-03-18 17:47 xxxxpig 阅读(204) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-12-07 20:29 xxxxpig 阅读(21) 评论(0) 推荐(0)
摘要:from random import random print("学号尾数08") def printIntro():print("这个程序模拟两个选手A和B的羽毛球竞技比赛")print("程序运行需要A和B的能力值(以0到1之间的小数表示)")def getInputs():a = eval(i 阅读全文
posted @ 2021-11-17 20:21 xxxxpig 阅读(61) 评论(0) 推荐(0)
摘要:money_all=56.75+72.91+88.50+26.37+68.51money_all_str=str(money_all)print("商品总金额为:"+money_all_str+"元")money_real=int(money_all)money_real_str=str(money 阅读全文
posted @ 2021-09-13 20:15 xxxxpig 阅读(62) 评论(0) 推荐(0)
摘要:print(" * * * * * ") print(" * * ") print("* @ @ *") print("* *") print("* @ *") print("* *") print(" * * ") print(" * * ") print(" * * * * * ")3029 阅读全文
posted @ 2021-09-01 16:18 xxxxpig 阅读(464) 评论(0) 推荐(0)