教孩子学编程python豆瓣_教孩子学编程 Python

教孩子学习Python目录第1章Python编程基础知识:了解环境111知道Python 312编写的Python程序513运行Python程序514章总结615编程挑战7章2只乌龟图:图纸与Python 921第一个海龟计划10211程序是如何工作的10212年发生了什么事?1222年,1323年龟龟画了一个圆旋转1424添加一个颜色15241四色螺旋16242修改背景颜色1925一个变量所有2026 2227编程挑战22章总结第三章数字和变量:使用Python做数学运算2431变量:保存内容2532数字和数学运算在Python 26321 Python数字27322 Python运营商28323 28324年Python shell执行数学运算的语法错误:你说什么?

)6251 if语句6352承认布尔65521比较操作符66522你不是足够大!6853 else语句69531多边形或玫瑰花瓣70532奇数还是偶数7154 elif语句7455复杂条件:如果,或77561而不是7556秘密消息炒字符串78562字符值79563加密\/解密程序8057章总结8258年编程挑战83年第6章随机乐趣和游戏(继续抓住机遇!)8561号码猜谜游戏8662彩色随机螺旋88621选一个颜色,任何颜色89622得到坐标90623 How big is the canvas 92624 Integrate 9363 Rock-Paper-Scissors 9564 Choose a card, any card 97641 Pile of cards 97642 Deal 98643 Calculate the card surface 99644 Move on 101645 Integrate 10265 Roll the dice 103651 Set the game 104652 Sort the dice 104653 Test the dice 105654 Integrate 10666 Kaleidoscope 10967 Chapter Summary 11268 Programming Challenge 114 Chapter 7 Functions (Those things have a name) 11671 Use functions to integrate content 117711 Define random_spiral() 118712 Call random_spiral() 11972 Arguments: Pass to function 120721 Smile at random position 121722 Integrate 12573 Return: Send back the statistical result 127731 Return a value of 127732 from the function Use the return value 12874 in the program Introduction to interaction 130741 Processing events: TurtleDraw 130742 Listening to keyboard events: ArrowDraw 133743 Processing events with parameters: ClickSpiral 135744 Further: ClickandSmile 13775 ClickKaleidoscope 139751 draw_kaleido() function 139752 draw_spiral() function 140753 integration 14076 Chapter Summary 14277 Programming Challenges 143 Chapter 8 Timers and Animation 14481 Get all the GUI of Pygame 145811 Use Pygame to draw a point 146812 New content in Pygame 148813 Part of the game 14982 Time just now Good: Move and bounce 152821 Move smiley 153822 Use Clock class to realize smiley animation 155823 Bounce smiley face from wall 157824 Bounce smiley face on four walls 16283 Chapter Summary 16684 Programming Challenge 167 Chapter 9 User Interaction: Enter the game 17091 Add interaction: Click and drag 171911 Click point 171912 Drag and draw 17392 Advanced interaction: Smiley explosion 177921 Smiley sprite 178922 Set sprite 180923 Update sprite 182924 Larger and smaller smiley 182925 Integration 18393 SmileyPop 10 version 185931 Detect collision and delete sprite 185932 Integration 18694 Chapter Summary 18895 Programming Challenge 189 Chapter 1 Chapter 0 Game Programming 191101年建立游戏框架:笑脸Pong 10 1921011绘制棋盘游戏和游戏版本部分增加201102 1931012记录分数1931012显示得分1931012集成困难和结束游戏:笑脸Pong 20版本快202020游戏结束2031022再打2031022 2041024集成2041024使用Pygame添加声音2041024跟踪和记录的球员进步2101033集成213104章总结215105编程挑战216附录Python安装在Windows下,Mac和Linux 218 a1安装Python在Windows 219 a12运行安装程序220 a13尝试Python 223 a2在Mac 225 a22运行安装程序226 a23尝试Python 229 a3 Python安装在Linux下230附录B Pygame安装在Windows, Mac和Linux 233 b1安装Windows 234下Pygame b2 Pygame Mac 238 b21 Python 238年和192年Pygame 27日b3 Pygame在Linux下240 b31 Pygame Python 242 c1 241附录C构建您自己的模块构建colorspiral模块243 c11使用colorspiral模块244 245 c2 c12重用colorspiral模块附加信息246词汇247输入:pysg得到提取代码

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值