修改15066题面bug及更改类型

This commit is contained in:
WangWeiye 2023-05-11 16:42:40 +08:00
parent bf33e9827e
commit 585218bfda
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import os,re,json
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块"""
problems = "013376"
problems = "015066"
def generate_number_set(string,dict):
string = re.sub(r"[\n\s]","",string)

View File

@ -10,7 +10,7 @@ paper_type = 2 # 随后设置一下后续的讲义标题
"""---设置题块编号---"""
problems = [
"17223:17234","17235:17238","17239:17243"
"15038:15049","15050:15053","15054:15058"
]
"""---设置结束---"""
@ -24,7 +24,7 @@ if paper_type == 1:
elif paper_type == 2:
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
template_file = "模板文件/测验周末卷模板.txt" #设置模板文件名
exec_list = [("标题替换","高三下学期月考08")] #设置讲义标题
exec_list = [("标题替换","高三下学期测验11")] #设置讲义标题
destination_file = "临时文件/"+exec_list[0][1] # 设置输出文件名
elif paper_type == 3:
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)

View File

@ -392353,12 +392353,12 @@
},
"015066": {
"id": "015066",
"content": "如图, 某学具可看成将一个底面半径与高都为$10 \\text{cm}$的圆柱挖去一个圆锥(此圆锥的顶点是圆柱的下底面圆心, 底面是圆柱的上底面) 所得到的几何体, 则该学具的表面积为$\\text{cm}^2$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex]\n\\fill [pattern = north east lines] (-1,1) arc (180:360:1 and 0.25) -- (0,0) -- cycle;\n\\fill [pattern = north west lines] (0,1) ellipse (1 and 0.25);\n\\draw (0,1) ellipse (1 and 0.25);\n\\draw (-1,0) arc (180:360:1 and 0.25);\n\\draw [dashed] (-1,0) arc (180:0:1 and 0.25);\n\\draw (-1,0) --++ (0,1) (1,0) --++ (0,1);\n\\draw [dashed] (-1,1) -- (0,0) -- (1,1);\n\\end{tikzpicture}\n\\end{center}",
"content": "如图, 某学具可看成将一个底面半径与高都为$10 \\text{cm}$的圆柱挖去一个圆锥(此圆锥的顶点是圆柱的下底面圆心, 底面是圆柱的上底面) 所得到的几何体, 则该学具的表面积为\\blank{50}$\\text{cm}^2$.\n\\begin{center}\n\\begin{tikzpicture}[>=latex]\n\\fill [pattern = north east lines] (-1,1) arc (180:360:1 and 0.25) -- (0,0) -- cycle;\n\\fill [pattern = north west lines] (0,1) ellipse (1 and 0.25);\n\\draw (0,1) ellipse (1 and 0.25);\n\\draw (-1,0) arc (180:360:1 and 0.25);\n\\draw [dashed] (-1,0) arc (180:0:1 and 0.25);\n\\draw (-1,0) --++ (0,1) (1,0) --++ (0,1);\n\\draw [dashed] (-1,1) -- (0,0) -- (1,1);\n\\end{tikzpicture}\n\\end{center}",
"objs": [],
"tags": [
"第六单元"
],
"genre": "解答题",
"genre": "填空题",
"ans": "$(300+100\\sqrt{2})\\pi$",
"solution": "",
"duration": -1,
@ -392370,7 +392370,7 @@
"same": [],
"related": [],
"remark": "",
"space": "4em",
"space": "",
"unrelated": []
},
"015067": {