01 2022 档案

摘要:def hello(name): print("Hello "+name) def bye(): print(" Program is over ") def max(a,b): if a>b: print('a',a) else: print('b',b) def change(a): print 阅读全文
posted @ 2022-01-23 11:05 paoPaoLong_liu 阅读(266) 评论(0) 推荐(0) 编辑
摘要:python random 学习>>> import random >>> random.choice(['apple', 'pear', 'banana']) #从给定列表中选择一个 'apple' >>> random.sample(range(100), 10) # sampling without replacement 阅读全文
posted @ 2022-01-21 11:00 paoPaoLong_liu 阅读(23) 评论(0) 推荐(0) 编辑
摘要:python re  学习>>> import re >>> re.findall(r'\bf[a-z]*', 'which foot or hand fell fastest') 在python命令行窗口输入以上命令,会出现一个列表['foot','fell','fastest'],这个结果是根据第一个参数在第二个参数字符 阅读全文
posted @ 2022-01-21 10:44 paoPaoLong_liu 阅读(43) 评论(0) 推荐(0) 编辑
摘要:#Filename:support.py def print_func(p): print("Hello: ",p) return #FileName test.py import support print('引入support.py中的自定义函数')support.print_func("Run 阅读全文
posted @ 2022-01-15 20:41 paoPaoLong_liu 阅读(25) 评论(0) 推荐(0) 编辑
摘要:python学习笔记 阅读全文
posted @ 2022-01-12 22:29 paoPaoLong_liu 阅读(10) 评论(0) 推荐(0) 编辑
摘要:vscode可以支持好多种语言,今天我用它来编辑python,新建文件的时候它让你选择一种语言,我选择了已经安装在电脑C盘上python3.6,选择以后就可以运行了。 阅读全文
posted @ 2022-01-12 21:54 paoPaoLong_liu 阅读(28) 评论(0) 推荐(0) 编辑
摘要:下周四、五(元月13、14号)初一二考试,今天我排了初二考号。 阅读全文
posted @ 2022-01-07 13:37 paoPaoLong_liu 阅读(10) 评论(0) 推荐(0) 编辑
摘要:jQuery实现为一个P元素增加或删除样式类 阅读全文
posted @ 2022-01-06 08:56 paoPaoLong_liu 阅读(104) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示