Python for Kids: A Playful Introduction to Programming (Paperback)
暫譯: 孩子們的 Python:有趣的程式設計入門

Jason R. Briggs

買這商品的人也買了...

商品描述

For Kids Aged 10+ (And Their Parents)
 

Python is a powerful, expressive programming language that's easy to learn and fun to use! But books about learning to program in Python can be kind of dull, gray, and boring, and that's no fun for anyone.

Python for Kids brings Python to life and brings you (and your parents) into the world of programming. The ever-patient Jason R. Briggs will guide you through the basics as you experiment with unique (and often hilarious) example programs that feature ravenous monsters, secret agents, thieving ravens, and more. New terms are defined; code is colored, dissected, and explained; and quirky, full-color illustrations keep things on the lighter side.

Chapters end with programming puzzles designed to stretch your brain and strengthen your understanding. By the end of the book you'll have programmed two complete games: a clone of the famous Pong and "Mr. Stick Man Races for the Exit"—a platform game with jumps, animation, and much more.

As you strike out on your programming adventure, you'll learn how to:

  • Use fundamental data structures like lists, tuples, and maps
  • Organize and reuse your code with functions and modules
  • Use control structures like loops and conditional statements
  • Draw shapes and patterns with Python's turtle module
  • Create games, animations, and other graphical wonders with tkinter

Why should serious adults have all the fun? Python for Kids is your ticket into the amazing world of computer programming.

Since it's Python, the code in this book runs on almost anything: Windows, Mac, Linux, even an OLPC laptop or Raspberry Pi!

商品描述(中文翻譯)

適合10歲以上的孩子(及其父母)

 

Python是一種強大且表達力豐富的程式語言,易於學習且使用起來非常有趣!但是,關於學習Python程式設計的書籍往往顯得有些乏味、沉悶,這對任何人來說都沒有趣味。

Python for Kids讓Python變得生動有趣,並將你(和你的父母)帶入程式設計的世界。耐心的Jason R. Briggs將引導你了解基礎知識,並通過獨特(且常常搞笑)的範例程式進行實驗,這些範例包含貪婪的怪物、秘密特工、偷竊的烏鴉等等。新術語會被定義;程式碼會被著色、剖析和解釋;而古怪的全彩插圖則讓內容更加輕鬆有趣。

每章結尾都有設計用來挑戰你的思維並加強理解的程式設計謎題。到書的結尾,你將編寫兩個完整的遊戲:一個是著名的Pong克隆,另一個是「Mr. Stick Man Races for the Exit」——一個包含跳躍、動畫等多種元素的平台遊戲。

在你展開程式設計冒險的過程中,你將學會如何:


  • 使用基本資料結構,如列表(lists)、元組(tuples)和映射(maps)

  • 使用函數和模組來組織和重用你的程式碼

  • 使用控制結構,如迴圈和條件語句

  • 使用Python的turtle模組繪製形狀和圖案

  • 使用tkinter創建遊戲、動畫和其他圖形奇觀

為什麼只有認真的成年人才能享受樂趣?Python for Kids是你進入電腦程式設計奇妙世界的入場券。

因為是Python,這本書中的程式碼幾乎可以在任何地方運行:Windows、Mac、Linux,甚至OLPC筆記型電腦或Raspberry Pi!