欢迎来到天天文库
浏览记录
ID:33330326
大小:1.22 MB
页数:152页
时间:2019-02-24
《Snake Wrangling for Kids - Learning to Program with Python 2, linux-v0.7.2 (2007)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SnakeWranglingforKids,LearningtoProgramwithPythonbyJasonR.BriggsVersion0.7.2Copyright°c2007.Publishedby...ah,nooneactually.CoverartandillustrationsbyNuthapitolC.Website:http://www.briggs.net.nz/log/writing/snake-wrangling-for-kidsThanksTo:GuidovanRossum(forbenevelontdictatorshipofthePyth
2、onlanguage),themem-bersoftheEdu-Sigmailinglist(forhelpfuladviceandcommentary),andauthorDavidBrin(theoriginalinstigatorofthisbook).License:ThisworkislicensedundertheCreativeCommonsAttribution-Noncommercial-ShareAlike3.0NewZealandLicense.Toviewacopyofthislicense,visithttp://creativecommons
3、.org/licenses/by-nc-sa/3.0/nz/orsendalettertoCreativeCommons,171SecondStreet,Suite300,SanFrancisco,California,94105,USA.Belowisasummaryofthelicense.Youarefree:•toSharetocopy,distributeandtransmitthework•toRemixtoadapttheworkUnderthefollowingconditions:Attribution.Youmustattributetheworki
4、nthemannerspecifiedbytheauthororlicensor(butnotinanywaythatsuggeststhattheyendorseyouoryouruseofthework).Noncommercial.Youmaynotusethisworkforcommercialpurposes.ShareAlike.Ifyoualter,transform,orbuilduponthiswork,youmaydistributetheresultingworkonlyunderthesameorsimilarlicensetothisone.Fo
5、ranyreuseordistribution,youmustmakecleartoothersthelicensetermsofthiswork.Anyoftheaboveconditionscanbewaivedifyougetpermissionfromthecopyrightholder.Nothinginthislicenseimpairsorrestrictstheauthor’smoralrights.ContentsPrefaceiii1Notallsnakeswillsquishyou11.1AFewWordsAboutLanguage........
6、.............31.2TheOrderofNon-venomousConstrictingSerpentes............31.3YourfirstPythonprogram........................41.4YourSecondPythonprogram...thesameagain?............528multipliedby3.57equals...92.1Useofbracketsand“OrderofOperations”...............112.2There’snothingsofickleasav
7、ariable..................132.3UsingVariable...............................152.4APieceofString?.............................162.5TrickswithStrings............................172.6Notquiteashoppinglist.........................192.7TuplesandLists.............................
此文档下载收益归作者所有