From 37553257a856983741c3aa3cc3b37b00cd7246a2 Mon Sep 17 00:00:00 2001 From: 2509165016 <2509165016@student.edu.cn> Date: Tue, 21 Apr 2026 11:26:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BD=9C=E4=B8=9A3-2-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-1.py | 5 +++ 2509165016-3.py | 0 2509165016-4.py | 0 题目2.3.4.5.6.txt | 108 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 1-1.py create mode 100644 2509165016-3.py create mode 100644 2509165016-4.py create mode 100644 题目2.3.4.5.6.txt diff --git a/1-1.py b/1-1.py new file mode 100644 index 0000000..98d84ea --- /dev/null +++ b/1-1.py @@ -0,0 +1,5 @@ +s = "Hello" +for c in s: + print(f"'{c}' 的ASCII码是: {ord(c)}") + + print(f"ASCII码65对应的字符是: {chr(65)}") \ No newline at end of file diff --git a/2509165016-3.py b/2509165016-3.py new file mode 100644 index 0000000..e69de29 diff --git a/2509165016-4.py b/2509165016-4.py new file mode 100644 index 0000000..e69de29 diff --git a/题目2.3.4.5.6.txt b/题目2.3.4.5.6.txt new file mode 100644 index 0000000..a8adeb8 --- /dev/null +++ b/题目2.3.4.5.6.txt @@ -0,0 +1,108 @@ +Ŀ2 +ͼ񣺱ǽṹ־ÿù̶ֵʾ RGB ֵ㡢洢㶼ֱþɣdzĵײܹ + +ıǷǽṹݣҪͨת֣ٽһת / Ƕܱ㴦ڶתɱұʾʽͳһ +Ŀ3 +1A+B=[3+1,4+2]=[4,6] +22A=[23,24]=[6,8] +3OAOO= +3 +2 + +4 +2 + +? + = +9+16 +? + = +25 +? + =5 +Ŀ4 +1A?B=14+25+36=4+10+18=32 +2OAOO= +1 +2 + +2 +2 + +3 +2 + +? + = +14 +? + 3.7417 +OOBOO= +4 +2 + +5 +2 + +6 +2 + +? + = +77 +? + 8.7750 +cos= +14 +? + +77 +? + +32 +? + = +1078 +? + +32 +? + 0.9746 +3A?B=10+01=0 +OOAOO= +1 +2 + +0 +2 + +? + =1 +OOBOO= +0 +2 + +1 +2 + +? + =1 +cos= +11 +0 +? + =0 + +ڶάƽǻഹֱģнΪ 90㣬ֵΪ 0ʾȫơ +Ŀ5 +ʱĵгֹIJظʵļϣ +V={Python,?,?,?,?Java} + +Doc1: Python(1 ), (1 ), (1 ), (1 ), Java(0 ) +Doc1=[1,?1,?1,?1,?0] +Doc2: Python(0 ), (1 ), (1 ), (1 ), Java(1 ) +Doc2=[0,?1,?1,?1,?1] +Doc3: Python(3 ), (0 ), (0 ), (0 ), Java(0 ) +Doc3=[3,?0,?0,?0,?0] +Ŀ6 +BOWȱ˵BoW ֻͳƴƵȫǵʵ˳Ĺϵ޷ ҳƻ ƻҡ ͬȫ෴ľӡ + +Ӱ죺зı⡢ʴϵͳУĶҪBoW ᵼģ޷ıʵ壬ӰЧ + + +ȱ˵BoW ÿʵɢţ޷ Python Java DZϵԣҲ޷ͬʡʡ + +Ӱ죺ıࡢϢУᵼƵôʲͬıжΪƣģ͵ķͼٻʡ \ No newline at end of file