排序
盒子模型
练习 练习1 效果图 代码 <!DOCTYPE html> <html lang='en'> <head> <meta charset='UTF-8'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> <titl...
Python作业:函数
公约数# 编写一个函数,该函数接收两个数字作为输入,并返回这两个数字的最大公约数。 def gcd(a, b): while b != 0: a, b = b, a % b return a num1 = int(input('请输入一个整数:')) num2 = i...
html 太极图
<!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title></title> </head> <style> body{background-color: darkgray;} .taiji{ margi...
mysql课堂训练–yxj
-- (1)删除数据库 drop database if exists t3; -- (2)创建数据库 create database if not exists t3; -- (3)使用数据库 use t3; -- 第一篇 drop table if exists account; create table if not...
Linux:DHCP
安装DHCP服务 # 使用yum安装DHCP [root@localhost ~]# yum install dhcp-server -y 正在更新 Subscription Management 软件仓库。 无法读取客户身份 本系统尚未在权利服务器中注册。可使用 subs...
Python_练习_24.3.15
class Friend: def __init__(self): self.friend_li = {} # 实例方法 def welcome(self): print('欢迎来到好友管理系统') print('1.添加好友') print('2.删除好友') print('3.展示好友') print(...
CSS重难点-浮动与定位
笔记 (1)display属性 设置标签在页面的显示方式,主要取值有: none 设置标签不在页面显示 block 设置标签以块状标签的形式在页面呈现 inline 设置标签以行内标签的形式在页面呈现 inline-block...
3.18mysql五种表代码
create database petstore; use petstore; create table account ( userid char(6) not null , fullname varchar(10) not null , password varchar(20) not null , sex char(2) not...
Python_练习_24.3.8
1.写出下列题目中的pyhon语句 定义一个Employee类(员工) 在员工类中定义类属性age(年龄)为40 定义一个方法displayCount(),输出“公司最高工资” 通过类Employee修改类属性age的值=35 在方...