作业共28篇

Python_练习_24.3.22

class School_number(): def __init__(self, name, age): self.name = name self.age = age def describe(self): print(f'我的名字是{self.name},我的年龄是{self.age}') class Student(School...
北梦的头像-北梦の博客SVIP北梦1年前
07615

Python递归案例

把10不断处以2,直到不能除为止,打印每次的结果 def a(num): if num == 0: return 0 else: print(num) a(num // 2) a(10) 兔子数列 def f(month): if month < 3: return 1 else: return f(m...
北梦的头像-北梦の博客SVIP北梦2年前
010215

MYSQL_练习_24.3.25

练习1 练习2
北梦的头像-北梦の博客SVIP北梦1年前
010312

Python_练习_24.3.15

class Friend: def __init__(self): self.friend_li = {} # 实例方法 def welcome(self): print('欢迎来到好友管理系统') print('1.添加好友') print('2.删除好友') print('3.展示好友') print(...
北梦的头像-北梦の博客SVIP北梦1年前
011011

HTML定位

作业1 代码 <!DOCTYPE html> <html lang='en'> <head> <meta charset='UTF-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <meta name='viewport' content='wid...
北梦的头像-北梦の博客SVIP北梦2年前
013010
2023上半年试卷A(西式甜品网)_个人解题过程-北梦の博客

2023上半年试卷A(西式甜品网)_个人解题过程

题目:西式甜品网 一、语言和环境 实现语言:HTML5+CSS3 环境要求:dw或 HBuilder 二、页面设计 三、要求 使用HTML5 + CSS3完成页面设计,要求HTML代码和CSS代码分离。 四、推荐实现步骤 1、页...
北梦的头像-北梦の博客SVIP北梦2年前
015210

MYSQL_练习_5个表_24.3.18

drop database if exists t4; create database if not exists t4; use t4; drop table if exists account; create table account ( userid char(6) not null primary key comment '用户号', ful...
北梦的头像-北梦の博客SVIP北梦1年前
01009

Python_练习_24.3.8

1.写出下列题目中的pyhon语句 定义一个Employee类(员工) 在员工类中定义类属性age(年龄)为40 定义一个方法displayCount(),输出“公司最高工资” 通过类Employee修改类属性age的值=35 在方...
北梦的头像-北梦の博客SVIP北梦1年前
01039