![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python基础
0 and 1 调研
本人主业计算机视觉/人工智能/深度学习/机器学习/边缘计算,不定期撰写博客,经常性分享计算机行业研究、解决方案、源代码!
展开
-
Python Error : unsupported operand type(s) for +: ‘int‘ and ‘datetime.timedelta‘
Python Error : unsupported operand type(s) for +: 'int' and 'datetime.timedelta'原创 2022-12-01 15:53:05 · 1373 阅读 · 3 评论 -
type object ‘datetime.datetime‘ has no attribute ‘datetime‘的解决办法
type object 'datetime.datetime' has no attribute 'datetime'的解决办法原创 2022-12-01 15:38:51 · 3109 阅读 · 4 评论 -
python random.randint()函数介绍
random.randint()函数使用介绍原创 2022-03-17 11:10:05 · 2892 阅读 · 0 评论 -
一段python代码 -- 帮你解决买大乐透时候选号的纠结
一段python代码 – 帮你解决买大乐透时候选号的纠结import randomred,blue = [],[]# 35选5red = random.sample(range(1,36),5)# 12选2blue = random.sample(range(1,13),2)# 告别买彩票选号的纠结print('red:{}\nblue:{}'.format(red,blue))...原创 2021-10-28 16:17:50 · 246 阅读 · 0 评论