- ISBN:9787301308097
- 装帧:平装-胶订
- 册数:暂无
- 重量:暂无
- 开本:16开
- 页数:192
- 出版时间:2019-11-01
- 条形码:9787301308097 ; 978-7-301-30809-7
本书特色
本书分为12个单元,通过科学、合理的结构,以亲切的笔调、活泼的对话介绍了Python编程的相关知识。用有趣的例子,借助可爱的漫画生动形象地介绍了包括变量、输入输出语句、循环语句、列表、对象等编程的基本概念。学习本书的内容,可以帮助孩子掌握计算机的思维方式,而书中可视化和以游戏为主的例子可以激发孩子的学习兴趣,培养其专注力。
本书每单元末尾均设置有“小试牛刀”和“小小总结”板块,可以拓展读者的思维,巩固学习的知识和技能。本书是写给孩子看的Python编程书,也适合父母、老师、学生,以及想要了解计算机编程基础知识、学习Python编程技能的未成年人阅读,同时还可以作为少儿编程的教材参考用书。
内容简介
《父与子的编程之旅:与爸爸一起学 Python》分为12个单元,通过科学、合理的结构,以亲切的笔调、活泼的对话介绍了Python编程的相关知识。用有趣的例子,借助可爱的漫画生动形象地介绍了包括变量、输入输出语句、循环语句、列表、对象等编程的基本概念。学习本书的内容,可以帮助孩子掌握计算机的思维方式,而书中可视化和以游戏为主的例子可以激发孩子的学习兴趣,培养其专注力。 《父与子的编程之旅:与爸爸一起学 Python》每单元末尾均设置有“小试牛刀”和“小小总结”板块,可以拓展读者的思维,巩固学习的知识和技能。本书是写给孩子看的Python编程书,也适合父母、老师、学生,以及想要了解计算机编程基础知识、学习Python编程技能的未成年人阅读,同时还可以作为少儿编程的教材参考用书。
目录
1.1 什么是人工智能14
1.2 了解 Python 编程语言17
1.3 Python 与人工智能 18
1.4 编写 Python 程序19
小试 牛刀26
小小 总结··················································································· 27
单元二 加减乘除样样行 ··················································· 29
2.1 加减法运算 ··········································································· 30
2.2 乘法运算·············································································· 34
2.3 除法运算·············································································· 36
2.4 取余运算·············································································· 38
2.5 输入函数 input ······································································ 39
单元三 判断与比较 ························································· 45
3.1 关系运算符 ··········································································· 46
3.2 True(真)和 False(假)······················································· 47
3.3 如果……那么……·································································· 49
3.4 如果……那么……否则……······················································ 52
单元四 海龟漫步 ···························································· 57
4.1 画一条直线 ··········································································· 58
4.2 画等边三角形········································································ 60
4.3 画正方形···············································································61
4.4 画圆形················································································· 63
4.5 给图形加点颜色····································································· 65
单元五 琢磨不透的随机数 ················································ 71
5.1 一个随机数 ··········································································· 72
5.2 与电脑猜拳··········································································· 75
5.3 随机漫步·············································································· 79
单元六 永不休止的循环 ··················································· 87
6.1 循环举例 ·············································································· 88
6.2 有限循环·············································································· 89
6.3 无限循环·············································································· 92
单元七 一个大容器 ························································· 99
单元八 程序也有组织 ·····················································109
8.1 给程序取个名字 ···································································· 110
8.2 函数的参数·········································································· 113
8.3 函数的返回值······································································· 116
单元九 信息的长久保存 ················································· 123
9.1 文件的建立 ··········································································124
9.2 读取文件内容·······································································125
9.3 向文件写入内容····································································127
9.4 文件追加内容······································································· 131
单元十 我的零花钱我管理 ···············································139
单元十一 面向对象编程很简单 ·········································155
11.1 何为面向对象 ······································································156
11.2 如何创建一个类···································································157
11.3 类的属性与方法···································································158
11.4 对象的创建·········································································160
单元十二 弹球游戏 ························································165
附录 A Python 的安装与配置··········································183
附录 B 专业词汇速查表··················································190
作者简介
贾炜,高级工程师,对多种开发语言都有深入研究,专注于Python人工智能开发、数据分析、机器学习等;长期从事青少年STEAM教育培训工作,有丰富的教育培训经验。
-
乡村振兴新技术:新时代农村短视频编辑技术基础入门
¥12.8¥32.0 -
AI绘画+AI摄影+AI短视频从入门到精通
¥45.5¥79.8 -
企业AI之旅
¥43.5¥79.0 -
机器学习
¥59.4¥108.0 -
基于知识蒸馏的图像去雾技术
¥61.6¥88.0 -
软件设计的哲学(第2版)
¥51.0¥69.8 -
智能算法优化及其应用
¥52.4¥68.0 -
Photoshop图像处理
¥25.5¥49.0 -
R语言医学数据分析实践
¥72.3¥99.0 -
大模型推荐系统:算法原理、代码实战与案例分析
¥62.3¥89.0 -
剪映 从入门到精通
¥25.7¥59.8 -
游戏造梦师----游戏场景开发与设计
¥67.6¥98.0 -
SAR图像处理与检测
¥35.4¥49.8 -
人工智能
¥29.4¥42.0 -
中文版PHOTOSHOP 2024+AI修图入门教程
¥59.3¥79.0 -
WPS办公软件应用
¥25.2¥36.0 -
格拉斯曼流行学习及其在图像集分类中的应用
¥13.7¥28.0 -
轻松上手AIGC:如何更好地向CHATGPT提问
¥40.3¥62.0 -
元宇宙的理想与现实:数字科技大成的赋能与治理逻辑
¥61.6¥88.0 -
云原生安全:攻防与运营实战
¥66.8¥89.0