![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
「已注销」
这个作者很懒,什么都没留下…
展开
-
C语言练手小项目——经典迷宫
C语言答辩项目——小迷宫用到的标准库#include <stdio.h>#include <stdlib.h>#include <windows.h>#include <time.h>#include <conio.h>地图的设定和方向键设定#define M 50#define N 24void myout();void wrongremind();int up(int x); //对应W原创 2020-06-30 08:06:56 · 295 阅读 · 0 评论 -
【Python学习】Word文档重复字检测程序
重复字检测要求:1.使用外置库python-docx2.将检测算法封装为函数并调用此函数实现功能3.连续重复字删除到只剩一个4.自定义指定某个字或词,输出出现次数5.word文档来源不限,建议使用正则表达式实现算法代码展示import docximport reclass Solution: def my_remove(self): while 1: end_symbol = len(self) i = 0原创 2020-05-31 13:38:55 · 1909 阅读 · 0 评论 -
【Python学习】第三周作业打卡
字符串格式化作业一:使用字符串格式化方法(%或format)定义个人信息个人信息:本课程名+学号+姓名+年龄+好友名(任意或虚拟)使用字符串内置函数对个人信息进行查找、分隔、插入、替换操作(方式不限)。# 字符串格式化定义个人信息str_my_need = '{class_name},{student_number},{name},{age},{friend_name}'.format(class_name = 'Python',\student_number = 'f19266666',原创 2020-05-23 13:18:15 · 319 阅读 · 0 评论 -
【Python学习】第一周作业打卡
【Python学习】第一周作业打卡作业1:声明列表、元组、字典、字符串 要求:以自己的学号和姓名做值#列表list_student = ['f11231632', '大宁子 ']print(list_student)#元组tuple_student = ('f11231632', '大宁子 ')print(tuple_student)#字典key1 = ['f12311632']value1 = ['大宁子 ']dict_student = dict(zip(key1, va原创 2020-05-22 12:19:59 · 306 阅读 · 0 评论