Study
未读
CS61A-Tree
title: CS61A-Tree date: 2024-01-11 10:58:34 tags: Study 14-Tree Construction Tree Abstraction tree( 3, [ tree( 1 ), tree ( 2, [ tree( 1 ), tree( 1 ) ]
Study
未读
CS61A-Effciency
title: CS61A-Effciency date: 2024-04-08 12:09:51 tags: Study 23-Efficiency Memoization 记住之前己算过的结果 def memo(f):
cache = {}
def memoized(n):
if n no
Study
未读
CS61A-Inherit
title: CS61A-Inherit date: 2024-02-05 19:15:43 tags: Study 20-Inheritance Inherit 两个类相似的情况,可以使用继承 class <name> (<base class>):
<suite>
Dont repeat y
Study
未读
CS61A-Object
title: CS61A-Object date: 2024-01-30 11:42:48 tags: Study 17-Generator Yield 用yield代替return,可以返回多次 返回值是一个iterator #yield from
for x in a:
yield a
# 等
Study
未读
CS61A-Recursion
title: CS61A-Recursion date: 2023-12-15 20:56:23 tags: Study 9_Recursion Leap of Faith Verify the base case (n=0) Treat fact as a functional abstracti
Study
未读
Python速通日志-2
title: Python速通日志-2 date: 2023-10-25 16:27:11 tags: Study 稍微记录一下而已 注释 单行:# 多行:“”“或者''' 数字类型 int/flaot/bool/complex 字符串 1.'与"无区别 2.'''可用于"""输出多行字符串 3.变
Study
未读
markdown语法测试
title: Markdown语法测试 date: 2023-10-19 11:28:15 tags: Study 这是最大的标题 第二大的标题 第三大的标题 标题是用#来对应html中的h1-h6 强调和斜体 这是一个强调语句 这是一个斜体语句 这是一个删除语句 分别靠*和**来实现,对应html
音乐天地
Steam卡片