最新发布第5页

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...

mysql作业–yxj

-- (1)删除数据库 drop database if exists SchoolDB; -- (2)创建数据库 create database if not exists SchoolDB; -- (3)使用数据库 use SchoolDB; -- 一、 drop table if exists student; cre...
iu不错哦的头像-北梦の博客iu不错哦1年前
0689

Python_练习_24.3.28

class ShoppingCart: def __init__(self): self.items = [] def add_items(self, item): if item in items_price: self.items.append(item) print(f'{item}已添加到购物车') else: print(f'没有...
python购物车练习-北梦の博客

python购物车练习

class Shopping: def __init__(self): self.car = [] def shopping_car(self, itme): self.car.append(itme) def shopping_del(self, itme): self.car.remove(itme) def shopping_all(self): if...

Linux_练习_24.3.29

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

Python_练习_24.3.29

选择题 try-except-else-finally练习 编写程序,按用户输人的半径计算圆的面积,若半径为负值则抛出异常

Mysql_数据插入删除修改_作业_24.4.1

P96 分别插入 合并插入 P100 P105

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

Mysql_可恶的王晓林

drop table if exists student; create table student( stuid char(10) not null comment'学号', stuname char(10) not null comment'姓名', stusex char(2) not null comment'性别', studate d...
珊瑚海的头像-北梦の博客珊瑚海1年前
0741