摘要:
# 函数=方法# 函数可以提高代码复用性# 函数必须调用后才能执行# 函数中的变量都是局部变量# 函数中遇到return就会结束# 没有入参,没有返回值def hello(): print("hello")hello()# 有多个入参,参数有默认值,有返回值def welcome(name,coun 阅读全文
posted @ 2021-05-13 21:49
zhengpei
阅读(89)
评论(0)
推荐(0)
摘要:
# # json是一个字符串# # {"code":0,"msg":"操作成功","token":"xxxxx"}##import jsonimport pprint # # 将python格式转为json格式# dic={"code":0,"msg":"操作成功","token":"xxxxx"} 阅读全文
posted @ 2021-05-13 21:48
zhengpei
阅读(311)
评论(0)
推荐(0)
摘要:
# https://mp.weixin.qq.com/s?src=11×tamp=1620698487&ver=3061&signature=2DKZdGd91ZiIpMSVnvSjs-ECaPULLORQj4VWikniTIMM63c*3l4r18X0svnJjFsgxdFDCDIN0d 阅读全文
posted @ 2021-05-13 21:46
zhengpei
阅读(347)
评论(0)
推荐(0)

浙公网安备 33010602011771号