上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 84 下一页
摘要: 布局 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android 阅读全文
posted @ 2020-03-29 20:23 木子欢儿 阅读(444) 评论(0) 推荐(0)
摘要: 下载链接 https://www.lanzous.com/iard1qh 阅读全文
posted @ 2020-03-29 14:35 木子欢儿 阅读(207) 评论(0) 推荐(0)
摘要: pyinstaller是一个很好用的将python文件打包成不依赖python环境的exe的库,但是在cmd中使用 “pip install pyinstaller”时,总会出现很多奇奇怪怪的问题。我在安装库的过程中,碰到了下载之后,直接开始安装就报错退出安装的问题。解决办法如下。 1.其实一点也不 阅读全文
posted @ 2020-03-29 14:05 木子欢儿 阅读(2244) 评论(0) 推荐(0)
摘要: 之前一直学python,对pip不太熟悉 每安装一个包pip一下都会 出现叫你安装更新版本的pip,也就是10.1 但是更新过后,安装其他库的时候,我们习惯性的,按照原来的方式安装库 出现这个问题 由于时间紧张,pip10.1没时间研究,我想退回去,退不回去 看错误要求 只需要python -m p 阅读全文
posted @ 2020-03-29 13:16 木子欢儿 阅读(356) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-29 13:13 木子欢儿 阅读(183) 评论(0) 推荐(0)
摘要: count=0 def hanoi(n,src,dst,mid): #n为圆盘数量,src表示源柱子,dst表示目标柱子,mid表示中间过渡柱子 global count #定义全局变量 if n==1: print("{}:{}->{}".format(1,src,dst)) count+=1 e 阅读全文
posted @ 2020-03-29 12:56 木子欢儿 阅读(238) 评论(0) 推荐(0)
摘要: 代码 def f(n): if n==1 or n==2: return 1 else: return f(n-1)+f(n-2) print(f(1)) print(f(2)) print(f(3)) 阅读全文
posted @ 2020-03-29 12:23 木子欢儿 阅读(493) 评论(0) 推荐(0)
摘要: 代码: def rvs(s): if s=="": return s else: return rvs(s[1:])+s[0] print(rvs("123")) 阅读全文
posted @ 2020-03-29 09:55 木子欢儿 阅读(197) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-03-29 09:48 木子欢儿 阅读(149) 评论(0) 推荐(0)
摘要: 1.基本概念界定 1.1人工智能 人工智能是在20世纪中期以后产生的学科,人工智能就是用机器模拟人类的智能活动,从而用机器代替人类行使某些方面的职能。人工智能是通过探索人的感觉和思维的规律来模拟人的智能活动,电子计算机是人工智能的媒介和基础。阿伦·图灵说:“如果一台计算机能骗过人,使人相信它是人而不 阅读全文
posted @ 2020-03-25 10:15 木子欢儿 阅读(3366) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 84 下一页