每日一句 ( 2025-11-09 )  

Be as simple as you can be. You'll be astonished to see how uncomplicated and happy your life will be.

尽量简单做自己,你就会惊奇地发现,生活是如此简单而且快乐。———— 《乔布斯》

python学习笔记

python的基本数据类型 Number 数字 整数:int 浮点数:float 单斜杠除法: 3/2 = 1.5 结果为浮点数 双斜杠除法: 3//2 = 1 结果为整型 bool 布尔 真:True 假:False complex 复数 16j //j结尾 str 字符串 打印原始字符串 print(r'Hello \n world') list 列表 ['a', 'b'] tuple 元组 (1,2,3,4) set 集合 定义:{1,2,3,4} 差积:{1,2,3,4} - {3,4} 返回 {1,2} 交积:{1,2,3,4} & {3,4} 返回 {3,4} 合并:{1,2,3,4...