发布时间:2022-05-18 14:03:09
import pygameimport random# !/usr/bin/env python3# -*- coding: utf-8 -*-# @Date : 2018/10/23import numpy as npimport randomimport pygamedef path(H, T, t0): # H是我们测试模型的身高 listy = [] .........【阅读全文】
发布时间:2022-05-13 17:09:53
import osimport sysimport randomfrom PyQt5.QtGui import *from PyQt5.QtCore import *from PyQt5.QtWidgets import *class DesktopPet(QWidget): def __init__(self, parent=None, **kwargs): super(DesktopP.........【阅读全文】
发布时间:2022-05-11 17:19:22
n = 1 start = 1 end = 2 temp = 1 while n < width - 2: n += 1 if (white[n] if arg else bl.........【阅读全文】
发布时间:2022-05-09 23:45:58
import osimport pygame as pgkeybinding = { 'action':pg.K_s, 'jump':pg.K_a, 'left':pg.K_LEFT, 'right':pg.K_RIGHT, 'down':pg.K_DOWN}class Control(object): &nbs.........【阅读全文】
发布时间:2022-05-06 17:49:29
# -*- coding: utf-8 -*-# @Time : 2022/3/30 14:44# @Author : Orange# @File : gm_trigonometric.pyfrom decimal import *import mathclass GM_trig(): def __init__(self, X0, X0_hat, L): ''' &nbs.........【阅读全文】