Python作业:函数
公约数# 编写一个函数,该函数接收两个数字作为输入,并返回这两个数字的最大公约数。 def gcd(a, b): while b != 0: a, b = b, a % b return a num1 = int(input('请输入一个整数:')) num2 = i...
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...
跟李哥不一样的导航栏
css.header{ background-color: orange; height: 50px; width: 100%; margin-top: 10px; } .ccc{ width: 800px; background-color: none; /* 居中 */ margin: auto; } ul { /*去点*/ list-style...
数据库MYsql笔记2024年3月18
-- (1)删除数据库 drop database if exists t4; -- (2)创建数据库 create database if not exists t4; -- (3)使用数据库 use t4; -- 删除数据表 drop table if exists book; -- 在t3中创建数据...
作业2024数据库3月8
-- 第一个 create table if not exists acc_ount( userid char(6) not null primary key comment '用户名', fullname varchar(10) not null comment '用户名', pass_word varchar(20) not null ...
华中农业大学: 官网导航栏
<!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>导航栏</title> <style type='text/css'> *{margin: 0; padding: 0;} body{font-siz...
4月4MYSQL日常练习
drop database if exists xsxk; create database if not exists xsxk; use xsxk; show databases; -- 4请根据以下需要存储的数据,设计各表结构即表中各列定义 -- 5.1学生表设学号为主键,要求...
Linux 8进制指令数字
全部权限 rwx 7 有读写和写入权限 rw- 6 有读取和执行 r-x 5 只有读取权限 r-- 4 写入和执行权限 -wx 3 只有写入权限 -w- 2 只有执行权限 --x 1 没有任何权限 --- 0
运行时间
用户总数
浏览总数
文章总数
今日发布
今日
