- 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教育培训工作,有丰富的教育培训经验。
-
全图解零基础word excel ppt 应用教程
¥16.3¥48.0 -
C Primer Plus 第6版 中文版
¥62.6¥108.0 -
零信任网络:在不可信网络中构建安全系统
¥34.2¥59.0 -
有限与无限的游戏:一个哲学家眼中的竞技世界
¥37.4¥68.0 -
硅谷之火-人与计算机的未来
¥20.3¥39.8 -
情感计算
¥66.8¥89.0 -
大模型RAG实战 RAG原理、应用与系统构建
¥74.3¥99.0 -
大学计算机基础实验教程(MS Office版)——面向数据分析能力培养
¥29.1¥39.8 -
LINUX企业运维实战(REDIS+ZABBIX+NGINX+PROMETHEUS+GRAFANA+LNMP)
¥51.8¥69.0 -
AI虚拟数字人:商业模式+形象创建+视频直播+案例应用
¥70.0¥89.8 -
LINUX实战——从入门到精通
¥52.4¥69.0 -
剪映AI
¥52.8¥88.0 -
快速部署大模型:LLM策略与实践(基于ChatGPT等大语言模型)
¥56.9¥79.0 -
数据驱动的工业人工智能:建模方法与应用
¥68.3¥99.0 -
数据存储架构与技术(第2版)
¥62.9¥89.8 -
纹样之美:中国传统经典纹样速查手册
¥76.3¥109.0 -
UG NX 12.0数控编程
¥24.8¥45.0 -
MATLAB计算机视觉与深度学习实战(第2版)
¥90.9¥128.0 -
UN NX 12.0多轴数控编程案例教程
¥24.3¥38.0 -
实战知识图谱
¥51.8¥69.0