资源描述:
《Snake Wrangling for Kids - Learning to Program with Python 3, win-v0.7.7 (2007)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、SnakeWranglingforKids,LearningtoProgramwithPythonbyJasonR.BriggsVersion0.7.7Copyrightc2007.Publishedby...ah,nooneactually.CoverartandillustrationsbyNuthapitolC.Website:http://www.briggs.net.nz/log/writing/snake-wrangling-for-kidsThanksTo:GuidovanRossum(forbenevelontdictatorshipofthePyth
2、onlanguage),themem-bersoftheEdu-Sigmailinglist(forhelpfuladviceandcommentary),authorDavidBrin(theoriginalinstigatorofthisbook),MichelWeinachter(forprovidingbetterqualityversionsoftheillustrations),andvariouspeopleforprovidingfeedbackanderrata,including:PauloJ.S.Silva,TomPohl,JanetLathan
3、,MartinSchimmels,andMikeCariaso(amongothers).Anyoneleftoffthislist,whoshouldn’thavebeen,isen-tirelyduetoprematuresenilityonthepartoftheauthor.License:ThisworkislicensedundertheCreativeCommonsAttribution-Noncommercial-ShareAlike3.0NewZealandLicense.Toviewacopyofthislicense,visithttp://cre
4、ativecommons.org/licenses/by-nc-sa/3.0/nz/orsendalettertoCreativeCommons,171SecondStreet,Suite300,SanFrancisco,California,94105,USA.Belowisasummaryofthelicense.Youarefree:•toSharetocopy,distributeandtransmitthework•toRemixtoadapttheworkUnderthefollowingconditions:Attribution.Youmustattr
5、ibutetheworkinthemannerspecifiedbytheauthororlicensor(butnotinanywaythatsuggeststhattheyendorseyouoryouruseofthework).Noncommercial.Youmaynotusethisworkforcommercialpurposes.ShareAlike.Ifyoualter,transform,orbuilduponthiswork,youmaydistributetheresultingworkonlyunderthesameorsimilarlicen
6、setothisone.Foranyreuseordistribution,youmustmakecleartoothersthelicensetermsofthiswork.Anyoftheaboveconditionscanbewaivedifyougetpermissionfromthecopyrightholder.Nothinginthislicenseimpairsorrestrictstheauthor’smoralrights.ContentsPrefacev1Notallsnakeswillsquishyou11.1AFewWordsAboutLan
7、guage.....................21.2TheOrderofNon-venomousConstrictingSerpentes............31.3YourfirstPythonprogram........................41.4YourSecondPythonprogram...thesameagain?............628multipliedby3.57equals...92.1Useofbracketsand“OrderofOperations”...............112.2Th