学习 第3页
个人学习记录

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...
iu不错哦的头像-北梦の博客iu不错哦1年前
01687

Python作业:函数

公约数# 编写一个函数,该函数接收两个数字作为输入,并返回这两个数字的最大公约数。 def gcd(a, b): while b != 0: a, b = b, a % b return a num1 = int(input('请输入一个整数:')) num2 = i...
珊瑚海的头像-北梦の博客珊瑚海2年前
016114
盒子模型-北梦の博客

盒子模型

练习 练习1 效果图 代码 <!DOCTYPE html> <html lang='en'> <head> <meta charset='UTF-8'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> <titl...
北梦的头像-北梦の博客SVIP北梦2年前
01588

Mysql_LibraryDB

drop database if exists LibraryDB; create database if not exists LibraryDB; use LibraryDB; -- 1. 读者表 (Readers Table) drop table if exists readers; create table readers ( -- 读者...
珊瑚海的头像-北梦の博客珊瑚海1年前
01581

html 太极图

<!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title></title> </head> <style> body{background-color: darkgray;} .taiji{ margi...
珊瑚海的头像-北梦の博客珊瑚海2年前
015210

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年前
014611

Linux_练习_24.3.29

练习1 1、查看当前登录的用户信息,并理解系统显示的信息含义 who 2、查看系统中用户的信息,统计出不同类型用户的数量 cat /etc/passwd -b 3、创建一个自己姓名的新用户,设置其密码为:redhat...
北梦的头像-北梦の博客SVIP北梦1年前
01461

Linux:DHCP

安装DHCP服务 # 使用yum安装DHCP [root@localhost ~]# yum install dhcp-server -y 正在更新 Subscription Management 软件仓库。 无法读取客户身份 本系统尚未在权利服务器中注册。可使用 subs...
北梦的头像-北梦の博客SVIP北梦1年前
01453

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...
X.蔡徐坤的头像-北梦の博客X.蔡徐坤1年前
01459

Python求两数的最大公约数

import math while True: num1 = int(input('请输入第一个整数')) num2 = int(input('请输入第二个整数')) if num1 > num2: while num2 != 0: num1, num2 = num2, num1 % num2 print(num1) e...
珊瑚海的头像-北梦の博客珊瑚海2年前
014412