会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ttm6489
2022年1月17日
依概率收敛
摘要: X(n)为随机变量的序列,比如代表投n次硬币,总共出现人头的概率。 这里的a代表事件的概率,比如50%
阅读全文
posted @ 2022-01-17 23:49 ttm6489
阅读(293)
评论(0)
推荐(0)
python_exception_learning
摘要: # author: Roy.Gdata={"roy":1,"boy":2}data1=[1,2,3]try: data["roy"] data[5]# except (KeyError,IndexError) as e:except Exception as e: # detect all exce
阅读全文
posted @ 2022-01-17 14:36 ttm6489
阅读(33)
评论(0)
推荐(0)
python_setattr_learning
摘要: # author: Roy.Ga="self,name,color,age,food"b=a.split(",") # 以, 分开字符串for i in b: print("self."+i+"="+i)class animal(object): def __init__(self,name,col
阅读全文
posted @ 2022-01-17 01:03 ttm6489
阅读(37)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告