xu675693517-hue
  • Joined on 2026-10-18
xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#16 2026-10-18 12:35:55 +08:00
Day_15 · Django 第一个页面:跑通"请求 → 响应"

Day_15 · Django 第一个页面:请求→响应

django-admin startproject 建项目 → views.py 返回自己的内容 → urls.py 配路由 → runserver,GET / 返回 200

![day15.png](https://cdn.jsdelivr.net/gh/xu67…

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#15 2026-10-18 12:35:53 +08:00
Day_14 · pip 安装 Django,认识 HTTP

Day_14 · pip 安装 Django,认识 HTTP

Django 5.2.18 安装成功;urlparse 拆解协议 / 域名 / 路径

![day14.png](https://cdn.jsdelivr.net/gh/xu675693517-hue/hello-daily-challenge@main/screenshots/day…

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#14 2026-10-18 12:35:52 +08:00
Day_13 · 文件读写与 JSON:让数据活到下次运行

Day_13 · 文件读写与 JSON

写/读 note.txt,json.dump/load 保存用户数据并修改后再读回

day13.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#13 2026-10-18 12:35:50 +08:00
Day_12 · 面向对象(二):继承与 __str__

Day_12 · 面向对象(二)继承与 str

Animal 基类 + Dog/Cat 重写 speak(),str 定制打印

![day12.png](https://cdn.jsdelivr.net/gh/xu675693517-hue/hello-daily-challenge@main/screenshots/day1…

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#12 2026-10-18 12:35:48 +08:00
Day_11 · 面向对象(一):类与实例

Day_11 · 面向对象(一)类与实例

Dog 类 + init + bark()/intro(),两个实例各自输出

day11.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#11 2026-10-18 12:35:47 +08:00
Day_10 · 异常处理:程序不崩溃的"安全网"

Day_10 · 异常处理 try/except

输入 abc 被 ValueError 捕获、除数为 0 被 ZeroDivisionError 捕获,程序都没崩溃

![day10.png](https://cdn.jsdelivr.net/gh/xu675693517-hue/hello-daily-challenge@main/…

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#10 2026-10-18 12:17:42 +08:00
Day_9 · 模块与猜数字小游戏(综合复习)

Day_9 · 模块 + 猜数字小游戏(random + while True)

day9.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#9 2026-10-18 12:17:41 +08:00
Day_8 · 函数:把代码装进"盒子"反复用

Day_8 · 函数(加法、打招呼、默认参数、求平均)

day8.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#8 2026-10-18 12:17:39 +08:00
Day_7 · 循环:重复做的事交给程序

Day_7 · 循环 for / while(1~100 求和 5050、平方表、倒数)

day7.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#7 2026-10-18 12:17:37 +08:00
Day_6 · 条件判断:让程序做决定

Day_6 · 条件判断 if(15/20/70 三档 + 95/75/50 成绩评级)

day6.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#6 2026-10-18 12:17:36 +08:00
Day_5 · 字典:带名字的数据

Day_5 · 字典(增删改查 + items 遍历)

day5.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#5 2026-10-18 12:17:34 +08:00
Day_4 · 列表:一串数据

Day_4 · 列表(增删、遍历、排序)

day4.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#4 2026-10-18 12:17:32 +08:00
Day_3 · 字符串:和文字打交道

Day_3 · 字符串(f-string + 常用字符串方法)

day3.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#3 2026-10-18 12:17:31 +08:00
Day_2 · 变量与数据类型

Day_2 · 变量与数据类型(type() 四种类型 + input 打招呼)

day2.png

xu675693517-hue commented on issue ITStudio_OUC/DailyChallenge_ProgrammingDepa…#2 2026-10-18 12:17:29 +08:00
Day_1 · 配置 Python 环境,运行第一个程序

Day_1 · 配置 Python 环境,运行第一个程序(Python 3.11.15)

day1.png