Python for Kids: A Playful Introduction to Programming (Paperback)

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!

商品描述(中文翻譯)

《Python for Kids》(適合10歲以上的孩子和他們的父母)是一本將Python程式語言生動活潑地呈現出來的書籍。這本書由耐心的作者Jason R. Briggs引導讀者進入程式設計的世界,並通過獨特且有趣的範例程式(包括飢餓的怪物、秘密特工、偷竊的渡鴉等)來實踐學習。書中定義了新的術語,並以色彩豐富的插圖來輔助解說,使學習過程更加輕鬆有趣。

每章結束時都設有程式設計謎題,旨在擴展讀者的思維並加強對內容的理解。通過閱讀本書,你將學會編寫兩個完整的遊戲:著名遊戲Pong的克隆版以及《Mr. Stick Man Races for the Exit》——一個具有跳躍、動畫等功能的平台遊戲。

在這個程式設計的冒險中,你將學會以下技能:
- 使用列表、元組和映射等基本數據結構
- 通過函數和模塊組織和重用代碼
- 使用循環和條件語句等控制結構
- 使用Python的turtle模塊繪製形狀和圖案
- 使用tkinter創建遊戲、動畫和其他圖形奇觀

為什麼只有成年人才能享受這種樂趣呢?《Python for Kids》將帶你進入令人驚嘆的計算機編程世界。

由於這是一本關於Python的書,所以書中的程式碼幾乎可以在任何平台上運行,包括Windows、Mac、Linux,甚至是OLPC筆記型電腦或Raspberry Pi!